コード例 #1
0
    def _on_all_files(self):
        """store and display file object corresponding to blog"""
        if self.editor_frame:

            def display_message():
                dlg = DownloadDialog(always_display(), self.editor_frame, -1)
                dlg.ShowModal()
                dlg.Destroy()

            if always_display():
                wx.CallAfter(display_message)
        else:
            print "No more file to download"
コード例 #2
0
 def display_message():
     dlg = DownloadDialog(always_display(), self.editor_frame, -1)
     dlg.ShowModal()
     dlg.Destroy()