Example #1
0
 def list_view_motion_notify_items(self, listview, motion_items, row, col,
                                   item_x, item_y):
     text = motion_items.sub_items[0].text
     text = str(text).replace("&",
                              "&amp;").replace("<",
                                               "&lt;").replace(">", "&gt;")
     tooltip_text(self.list_view, text)
Example #2
0
 def __top_toolbar_above_button_clicked(self, widget):
     if not self.keep_above_check:
         self.app.window.set_keep_above(True)
         self.keep_above_check = True
         # 提示.
         tooltip_text(widget, _("Disable always-on-top"))
     else:
         self.app.window.set_keep_above(False)
         self.keep_above_check = False
         # 提示.
         tooltip_text(widget, _("Always on Top"))
 def list_view_motion_notify_items(self, listview, motion_items, row, col, item_x, item_y):
     text = motion_items.sub_items[0].text
     text = str(text).replace("&", "&amp;").replace("<", "&lt;").replace(">", "&gt;")
     tooltip_text(self.list_view, text)