Logo Search packages:      
Sourcecode: catfish version File versions  Download package

def catfish::catfish::load_interface (   self,
  filename 
)
Load glade file and retrieve widgets.

Definition at line 328 of file catfish.py.

                                      :
        """Load glade file and retrieve widgets."""

        # Load interface from the glade file
        widgets = gtk.glade.XML(filename)
        widgets.signal_autoconnect(self)

        # Retrieve significant widgets
        self.window_search = widgets.get_widget('window_search')
        self.entry_find_text = widgets.get_widget('entry_find_text')
        self.checkbox_find_exact = widgets.get_widget('checkbox_find_exact')
        self.checkbox_find_hidden = widgets.get_widget('checkbox_find_hidden')
        self.checkbox_find_fulltext = widgets.get_widget('checkbox_find_fulltext')
        self.checkbox_find_limit = widgets.get_widget('checkbox_find_limit')
        self.spin_find_limit = widgets.get_widget('spin_find_limit')
        self.label_find_type = widgets.get_widget('label_find_type')
        self.toolbar_find_type = widgets.get_widget('toolbar_find_type')
        self.label_find_method = widgets.get_widget('label_find_method')
        self.combobox_find_method = widgets.get_widget('combobox_find_method')
        self.label_find_folder = widgets.get_widget('label_find_folder')
        self.button_find_folder = widgets.get_widget('button_find_folder')
        self.button_find = widgets.get_widget('button_find')
        self.treeview_files = widgets.get_widget('treeview_files')
        self.menu_file = widgets.get_widget('menu_file')
        self.menu_file_open = widgets.get_widget('menu_open')
        self.menu_file_goto = widgets.get_widget('menu_goto')
        self.menu_file_copy = widgets.get_widget('menu_copy')
        self.menu_file_save = widgets.get_widget('menu_save')
        self.statusbar = widgets.get_widget('statusbar')
        self.combobox_icons = widgets.get_widget('combobox_icons')
        self.combobox_timeformat = widgets.get_widget('combobox_timeformat')
        self.combobox_filemanager = widgets.get_widget('combobox_filemanager')
        self.combobox_openwrapper = widgets.get_widget('combobox_openwrapper')
        self.combobox_defaultaction = widgets.get_widget('combobox_defaultaction')


Generated by  Doxygen 1.6.0   Back to index