How do I make a rich menu for an appindicator?
Posted
by
Erigami
on Ask Ubuntu
See other posts from Ask Ubuntu
or by Erigami
Published on 2011-02-17T23:52:09Z
Indexed on
2011/02/19
7:33 UTC
Read the original article
Hit count: 245
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?
© Ask Ubuntu or respective owner