예제 #1
0
    def on_tooltip(self, widget, x, y, keyboard_mode, tooltip):

        country_tooltip = show_country_tooltip(widget, x, y, tooltip, 13, stripprefix='')
        file_path_tooltip = show_file_path_tooltip(widget, x, y, tooltip, 12)

        if country_tooltip:
            return country_tooltip

        elif file_path_tooltip:
            return file_path_tooltip
예제 #2
0
 def on_tooltip(self, widget, x, y, keyboard_mode, tooltip):
     return show_country_tooltip(widget, x, y, tooltip, 13, stripprefix='')
예제 #3
0
 def on_tooltip(self, widget, x, y, keyboard_mode, tooltip):
     return show_country_tooltip(widget, x, y, tooltip, 14)