I'm adding menu items to an appindicator in pygtk. I don't want them to behave like ordinary menu items: I want them to have normal appearance, but not to respond to mouse hovers and mouse clicks. The way I imagine the new sound menu will behave.
In other words, I want to prevent the MenuItem selection that's going on below:
How do I go about doing that? What events should I swallow, or is there a better way?
Best Answer
Unfortunately, appindicator doesn't allow adding custom widget, as it requires GObject introspection. This will be available when
ido
package will have GObject instrospection.Bug report