示例#1
0
    def on_tooltip(self, widget, x, y, keyboard_mode, tooltip):

        status_tooltip = show_user_status_tooltip(widget, x, y, tooltip, 10)
        country_tooltip = show_country_tooltip(widget, x, y, tooltip, 14)

        if status_tooltip:
            return status_tooltip

        if country_tooltip:
            return country_tooltip
示例#2
0
    def on_tooltip(widget, pos_x, pos_y, _keyboard_mode, tooltip):

        status_tooltip = show_user_status_tooltip(widget, pos_x, pos_y,
                                                  tooltip, 10)
        country_tooltip = show_country_tooltip(widget, pos_x, pos_y, tooltip,
                                               14)

        if status_tooltip:
            return status_tooltip

        if country_tooltip:
            return country_tooltip

        return False
示例#3
0
    def on_tooltip(self, widget, x, y, keyboard_mode, tooltip):

        status_tooltip = show_user_status_tooltip(widget, x, y, tooltip, 5)
        country_tooltip = show_country_tooltip(widget,
                                               x,
                                               y,
                                               tooltip,
                                               8,
                                               strip_prefix="")

        if status_tooltip:
            return status_tooltip

        if country_tooltip:
            return country_tooltip
示例#4
0
    def on_tooltip(widget, pos_x, pos_y, _keyboard_mode, tooltip):

        status_tooltip = show_user_status_tooltip(widget, pos_x, pos_y,
                                                  tooltip, 5)
        country_tooltip = show_country_tooltip(widget,
                                               pos_x,
                                               pos_y,
                                               tooltip,
                                               8,
                                               strip_prefix="")

        if status_tooltip:
            return status_tooltip

        if country_tooltip:
            return country_tooltip

        return None
示例#5
0
 def on_tooltip(self, widget, x, y, keyboard_mode, tooltip):
     return show_user_status_tooltip(widget, x, y, tooltip, 4)
示例#6
0
 def on_tooltip(widget, pos_x, pos_y, _keyboard_mode, tooltip):
     return show_user_status_tooltip(widget, pos_x, pos_y, tooltip, 4)