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

def mouseTrap::mainGui::CoordsGui::__init__ (   self  ) 

Initialize the Point Mapper.

Arguments:
- self: The main object pointer.
- mouseTrap: The mouseTrap object pointer.
- cAm: The camera object pointer

Definition at line 285 of file mainGui.py.

00285                         :
        """
        Initialize the Point Mapper.
        
        Arguments:
        - self: The main object pointer.
        - mouseTrap: The mouseTrap object pointer.
        - cAm: The camera object pointer
        """
        
        gtk.DrawingArea.__init__(self)
        
        self.mTp = mouseTrap
        self.settings = mouseTrap.settings
        
        self.areas    = []
      self.axis     = False
        self.context  = None
        self.set_size_request(200, 160)
        self.add_events( gtk.gdk.BUTTON_PRESS_MASK | 
                         gtk.gdk.BUTTON_RELEASE_MASK | 
                         gtk.gdk.BUTTON1_MOTION_MASK )
 
        self.triggers = []
        
        self.connect("expose_event", self.expose)

        #Desplazamiento
        self.desp = 0
        
        self.pointer = [ 0, 0 ]
   
    def registerArea( self, area ):


Generated by  Doxygen 1.6.0   Back to index