you are returning the function result rather than the function itself.
try encapsulating it in a lamda.
Rande
Another problem I'm having is that the following code:
ha_menu_items+=[menu.MenuItem(control[0],os.system(control[1]))]
executes the "os,system(control[1])" when the menu loads, not when the
menu is selected, what did I do wrong?
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
Freevo-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/freevo-users
- Re: [Freevo-users] Help writing plugin. Ryan Roth
- Re: [Freevo-users] Help writing plugin. mplayer
- Re: [Freevo-users] Help writing plugin. Ryan Roth
- Re: [Freevo-users] Help writing plugin. Ryan Roth
- Re: [Freevo-users] Help writing plugin. mplayer
- Re: [Freevo-users] Help writing plugin. mplayer
- Re: [Freevo-users] Help writing plugin. Ryan Roth
- Re: [Freevo-users] Help writing plugin. Rob Shortt
- Re: [Freevo-users] Help writing plugin. Ryan Roth
- Re: [Freevo-users] Help writing plugin. Ryan Roth
- [Freevo-users] Re: Help writing plugin. Dirk Meyer
- Re: [Freevo-users] Re: Help writing plugin. Ryan Roth
- [Freevo-users] Re: Help writing plugin. Dirk Meyer
- Re: [Freevo-users] Re: Help writing p... Ryan Roth
