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

def holdProfile::Profile::_clickDialog (   self,
  args,
  kwds 
) [private]

Click's dialog's point-move event callback

Arguments:
- self: The main object pointer.

Definition at line 177 of file holdProfile.py.

00177                                            :
        """
        Click's dialog's point-move event callback

        Arguments:
        - self: The main object pointer.
        """

        dialog   = mouseTrap.getModVar( "gui", "clickDialog" )  
        mPointer = mouseTrap.getModVar( "cam", "mpPointer" ) 

        if mPointer.x in xrange( 0, self.area.xInit ):
            dialog.prevBtn()
        elif mPointer.x in xrange( self.area.xEnd, 200):
            dialogs.nextBtn()
        elif mPointer.y in xrange( 0, self.area.yInit ):
            dialog.pressButton()
        elif mPointer.y in xrange( self.area.yEnd, 160):
            dialog.hidePanel()
            
    def prefTab( self, prefGui ):


Generated by  Doxygen 1.6.0   Back to index