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

def mouseTrap::mainGui::MainGui::updateView (   self,
  img 
)

Updates the GUI widgets (Image, Mapper)

Arguments:
- self: The main object pointer.

Definition at line 172 of file mainGui.py.

00172                                :
        """
        Updates the GUI widgets (Image, Mapper)
        
        Arguments:
        - self: The main object pointer.
        """
        
        self.mapper.updateView()
        
        cv.cvResize( img, self.image, cv.CV_INTER_AREA )
        
        buff = gtk.gdk.pixbuf_new_from_data( self.image.imageData, gtk.gdk.COLORSPACE_RGB, \
                                        False, 8, int(self.image.width), int(self.image.height), \
                                        self.image.widthStep )
                                             
        #sets new pixbuf
        self.capture.set_from_pixbuf(buff)
        
    def _newStockImageButton( self, label, stock ):


Generated by  Doxygen 1.6.0   Back to index