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

def idm_example::Module::get_pointer (   self  ) 

Returns the new MousePosition.
Function used to pass the Mouse Pointer position
to the Scripts.

Arguments:
- self: The main object pointer

Definition at line 131 of file idm_example.py.

00131                          :
        """
        Returns the new MousePosition.
        Function used to pass the Mouse Pointer position
        to the Scripts.

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

        # The return value has to be a Point() type object
        # Following the forehad IDM, The return is self.cap.forehead
        # which is created in the get_forehead function as an attribute
        # of self.cap
        return self.cap.pointer
        return self.cap.pointer


Generated by  Doxygen 1.6.0   Back to index