コード例 #1
0
 def _open_set ( self ):
     """ Handles the user clicking the 'Open...' button.
     """
     file_name = open_file( extensions = TextInfo(),
                            filter     = 'Python file (*.py)|*.py',
                            id         = demo_id )
     if file_name != '':
         self.file_name = file_name
コード例 #2
0
 def _open_set ( self ):
     """ Handles the user clicking the 'Open...' button.
     """
     file_name = open_file( extensions = ImageInfo(),
                            filter     = filters,
                            id         = demo_id )
     if file_name != '':
         self.file_name = file_name
コード例 #3
0
ファイル: File_Open.py プロジェクト: davidmorrill/facets
 def _open_set ( self ):
     """ Handles the user clicking the 'Open...' button.
     """
     file_name = open_file()
     if file_name != '':
         self.file_name = file_name