GNOME Bugzilla – Bug 382018
gtk.StatusIcon features - middle-click, mousewheel, mouseover
Last modified: 2007-05-04 19:58:29 UTC
I realize that not all of these features may be possible because of the need for cross-platform compatibility, but these are all things I was using with gnome-python-extra's egg that I would like to be able to retain with the gtk.StatusIcon. - Ability to connect to a middle-click signal. - Ability to connect to a mousewheel signal (up or down). - Ability to connect to a leave/enter signal or a motion signal to detect if the user's mouse is over the icon. As some example use cases, my media player was using the middle-click to toggle play/pause, the mousewheel to control volume levels, and was displaying a custom window on the icon mouseover that includes things like album art and a progressbar (which obviously can't be put into a tooltip). The latter request can be worked around by frequently polling the user's mouse position and comparing it to the icon's position, but that is hacky and more cpu intensive. The other two requests cannot currently be accommodated even with a workaround, afaik. Thanks.
I'd be interesting in having support for 1 and 2 as well. Regarding the non-portability to some systems (Windows I assume), couldn't it be simply noted in the docs that the signal won't ever be emitted on some platforms?
This is the same as bug 409435. This is older, but the other has more state - duplicate?
*** This bug has been marked as a duplicate of 409435 ***