python - Setting an appindicator's tooltip in pygtk -


i've built appindicator menu using following code:

self.ind = appindicator.indicator("my-indicator", "indicator-messages",                                   appindicator.category_application_status) self.ind.set_status(appindicator.status_active) self.ind.set_attention_icon("icon1.png") self.ind.set_icon("icon2.png")  self.menu = gtk.menu() item = gtk.menuitem("foo bar") item.show() self.menu.append(item)  self.menu.show() self.ind.set_menu(self.menu) 

i want add tooltip shows when user hovers on icon. think gtk.tooltip right thing, appindicator documentation sparse. how attach tooltip appindicator?

ultimately looking sort of behavior:

appindicator hover text

appindicator not provide tooltips design. https://bugs.launchpad.net/indicator-application/+bug/527458


Comments

Popular posts from this blog

commonjs - How to write a typescript definition file for a node module that exports a function? -

openid - Okta: Failed to get authorization code through API call -

ios - Change Storyboard View using Seague -