Thread
:
Load-Applet (on_button?)
View Single Post
daperl
2008-12-14 , 20:00
Posts: 2,427 | Thanked: 2,986 times | Joined on Dec 2007
#
10
IIRC, you don't get this functionality for free. For example, the Advanced Backlight Applet toggles the icon based on the active/inactive state of the "menu." I can point you at the code if I must, but it's in there.
EDIT: Here's the call:
gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (priv->button), ...
There's other code to help set this up of course...
__________________
N9: Go white or go
home
Last edited by daperl; 2008-12-14 at
20:08
.
Quote & Reply
|
daperl
View Public Profile
Send a private message to daperl
Find all posts by daperl