remove irrelevant comments from tooltips
This commit is contained in:
parent
e032b32ea7
commit
b4c2614f25
|
@ -75,10 +75,6 @@ onlinehelp = {'Game':_('Type of Game'),
|
||||||
class DemoTips(TreeViewTooltips):
|
class DemoTips(TreeViewTooltips):
|
||||||
|
|
||||||
def __init__(self, customer_column):
|
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
|
# call base class init
|
||||||
TreeViewTooltips.__init__(self)
|
TreeViewTooltips.__init__(self)
|
||||||
|
|
||||||
|
@ -91,11 +87,6 @@ class DemoTips(TreeViewTooltips):
|
||||||
return (display)
|
return (display)
|
||||||
|
|
||||||
def location(self, x, y, w, h):
|
def location(self, x, y, w, h):
|
||||||
# rename me to "location" so I override the base class
|
|
||||||
# method. This will demonstrate being able to change
|
|
||||||
# where the tooltip window popups, relative to the
|
|
||||||
# pointer.
|
|
||||||
|
|
||||||
# this will place the tooltip above and to the right
|
# this will place the tooltip above and to the right
|
||||||
return x + 30, y - (h + 10)
|
return x + 30, y - (h + 10)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user