Hi,

I'm writing a plugin for freevo. One of the menu items should be a toggle
item, i.e. it should switch between "disabled" and "enabled". i cannot figure
out how this can best be done. Could you please give a short description?

What I try to achieve is:
- a menu item is "option enabled"by default
- when the user selects the menu item, a function is called This function
changes an internal variable and sets the menu itm to "option disabled"

I have set it up now using two menu items:
- option enable
- option disable

but I'd prefer to change it to one menu item whoms text can be changed

Thats all.

Thanks


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
Freevo-devel mailing list
Freevo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-devel

Reply via email to