Duncan Webb wrote:
> Michael Walma said the following, on 10.03.2008 00:54:
>> By the way, is there somewhere out there a list of all possible variations
>> of 'Event' and 'EVENTS'? I looked in events.py, but I'm not a python guy.
>>
> Add this to the bottom of local_conf.py:
> print_events = True
> if print_events:
> # Print configured events
> for(k, v) in EVENTS.items():
> print '==========='
> print '%s' % (k)
> print '-----------'
> for (k2, v2) in v.items():
> if v2.handler != None:
> print ' "%s" %s "%s" %s:%s' % (k2, v2.name, v2.arg,
> v2.context, v2.handler)
> elif v2.context != None:
> print ' "%s" %s "%s" %s' % (k2, v2.name, v2.arg,
> v2.context)
> elif v2.arg != None:
> print ' "%s" %s "%s"' % (k2, v2.name, v2.arg)
> else:
> print ' "%s" %s' % (k2, v2.name)
>
>
> HTH
> Duncan
>
>
That got me over the hump. In the end, all I needed was:
EVENTS['menu']['*']=Event('MENU_SUBMENU')
Thanks again,
Michael
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Freevo-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/freevo-users