Re: tray icon drop down menus (solved)



On Sat, 25 Sep 2010 00:39:23 -0500
"Zane C.B." <v velox vvelox net> wrote:

<snip>

Ok, basically this is impossible to do using any of the regular
menuing stuff.

I started poking at a program that does this, claws-mail, and found
the answers to this in file 'trayicon.c' for it's tray icon plugin.
You can find it all in the functions 'create_trayicon' and 'click_cb'.

Basically what needs to happen you need to create a event box with
the image in it. Then on a mouse click, you then activate the menu.


In Mario Kemper's train of thought, see
my Gtk2 StatusIcon Demo at:

http://perlmonks.org?node_id=725925

It may solve all of your problems.

peace and tranquility,
zentara





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]