Example #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
Example #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
Example #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
Example #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
Example #5
0
 def on_tooltip(self, widget, x, y, keyboard_mode, tooltip):
     return show_user_status_tooltip(widget, x, y, tooltip, 4)
Example #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)