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

def mouseTrap::prefGui::preffGui::camTab (   self  ) 

The cam module Preff Tab.

Arguments:
- self: The main object pointer.

Definition at line 163 of file prefGui.py.

00163                       :
        """
        The cam module Preff Tab.
        
        Arguments:
        - self: The main object pointer.
        """
        
        Frame = gtk.Frame()

        camBox = gtk.VBox( spacing = 6 )
        
        cAmActive = gtk.CheckButton( _("Activate Camera module") )
        cAmActive.set_active( self.settings.getboolean( "main", "startCam" ) )
        cAmActive.connect( "toggled", self._checkToggled, "main", "startCam" )
        
        camBox.pack_start( cAmActive, False, False )
        
        flipImage = gtk.CheckButton( _("Flip Image") )
        flipImage.set_active( self.settings.getboolean( "cam",  "flipImage" ) )
        flipImage.connect( "toggled", self._checkToggled, "cam", "flipImage" )
        
        camBox.pack_start( flipImage, False, False )
        
        mapperActive = gtk.CheckButton( _("Show Point Mapper") )
        mapperActive.set_active( self.settings.getboolean( "gui", "showPointMapper" ) )
        mapperActive.connect( "toggled", self._checkToggled, "gui", "showPointMapper" )
        
        camBox.pack_start( mapperActive, False, False )
        
        showCapture = gtk.CheckButton( _("Show Capture") )
        showCapture.set_active( self.settings.getboolean( "gui", "showCapture" ) )
        showCapture.connect( "toggled", self._checkToggled, "gui", "showCapture" )
        
        camBox.pack_start( showCapture, False, False )
         
        inputDevIndex = self.addSpin( _("Input Video Device Index: "), "inputDevIndex", self.settings.getint( "cam", "inputDevIndex" ), "cam", "inputDevIndex", 0)
        camBox.pack_start( inputDevIndex, False, False )
        
        camBox.show_all()
        
        Frame.add( camBox )
        Frame.show()
        
        self.NoteBook.insert_page(Frame, gtk.Label( _("Camera") ) )
        
    def mouseTab( self ):


Generated by  Doxygen 1.6.0   Back to index