def __autoconnect_signals(self):
        """This is called during view registration, to autoconnect
        signals in glade file with methods within the controller"""
        dic = {}
        for name in dir(self):
            method = getattr(self, name)
            if (not isinstance(method, collections.Callable)):
                continue
            assert(name not in dic) # not already connected!
            dic[name] = method

        # autoconnects glade in the view (if available any)
        for xml in self.view.glade_xmlWidgets:
            xml.signal_autoconnect(dic)

        # autoconnects builder if available
        if self.view._builder is not None:
            self.view._builder_connect_signals(dic)
def __autoconnect_signals ( self ) : dic = { } for name in dir ( self ) : method = getattr ( self , name ) if ( not isinstance ( method , collections . Callable ) ) : continue assert ( name not in dic ) dic [ name ] = method for xml in self . view . glade_xmlWidgets : xml . signal_autoconnect ( dic ) if self . view . _builder is not None : self . view . _builder_connect_signals ( dic )
This is called during view registration, to autoconnect
        signals in glade file with methods within the controller