Logo Search packages:      
Sourcecode: laditools version File versions  Download package

def laditools::TreeViewTooltips::TreeViewTooltips::__show (   self,
  tooltip,
  x,
  y 
) [private]
show the tooltip popup with the text/markup given by
tooltip.

tooltip: the text/markup for the tooltip.
x, y:  the coord. (root window based) of the pointer.

Definition at line 170 of file TreeViewTooltips.py.

                                   :

        '''show the tooltip popup with the text/markup given by
        tooltip.

        tooltip: the text/markup for the tooltip.
        x, y:  the coord. (root window based) of the pointer.
        '''

        window = self.window
        
        # set label
        self.label.set_label(tooltip)
        # resize window
        w, h = window.size_request()
        # move the window 
        window.move(*self.location(x,y,w,h))
        # show it
        window.show()
        self.__shown = True


Generated by  Doxygen 1.6.0   Back to index