code: def get_cairo_export_info(self, filetype):
          
  
          export_dlg = CairoExportDialog(self.main_window, filetype=filetype)
  
          if export_dlg.ShowModal() == wx.ID_OK:
              info = export_dlg.get_info()
              export_dlg.Destroy()
              return info
  
          else:
              export_dlg.Destroy()
docs: Shows Cairo export dialog and returns info
  
          Parameters
          ----------
          filetype: String in ["pdf", "svg"]
          \tFile type for which export info is gathered