Logo Search packages:      
Sourcecode: gnome-mousetrap version File versions  Download package

def holdProfile::Profile::prefTab (   self,
  prefGui 
)

This is the preferences tab function for Hold Mode Profile.

Arguments:
- self: The main object pointer.

Definition at line 197 of file holdProfile.py.

00197                                 :
        """
        This is the preferences tab function for Hold Mode Profile.

        Arguments:
        - self: The main object pointer.
        """
        
        Frame = gtk.Frame()

        holdBox = gtk.VBox( spacing = 6 )

        reqMov = prefGui.addSpin( _("Required Movement: "), "reqMovement", self.settings.getint( "access", "reqMovement" ) )
        reqMov.get_children()[1].connect("value_changed", self._spinChanged )
        holdBox.pack_start( reqMov, False, False )

        holdBox.show_all()
        
        Frame.add( holdBox )
        Frame.show()
        
        prefGui.NoteBook.insert_page(Frame, gtk.Label( _("Hold Mode") ) )
                    

    def _spinChanged( self, widget ):


Generated by  Doxygen 1.6.0   Back to index