Exemplo n.º 1
0
 def __init__(self, column, data, key_col = 0):
     'column: where the mouse point and moves; data = {key_col_string: tip_string}; key_col: column number that I can get the string from model and pass it to data dict'
     self.column = column
     self.key_col = key_col
     self.data = data
     # call base class init
     TreeViewTooltips.__init__(self, use_markup = False)
Exemplo n.º 2
0
    def __init__(self, customer_column):
        # customer_column is an instance of gtk.TreeViewColumn and
        # is being used in the gtk.TreeView to show customer names.
        # self.cust_col = customer_column

        # call base class init
        TreeViewTooltips.__init__(self)
Exemplo n.º 3
0
 def __init__(self, customer_column):
     # call base class init
     TreeViewTooltips.__init__(self)