Re: [Google Wave APIs] Python Robot API: GadgetStateChanged and Filters

2010-04-16 Thread pamela (Google Employee)
Ah - the GadgetStateChanged event works with filter, but the filter is attended to filter on the URL of the gadget, so that you can only listen to changes for a particular gadget. We'll improve the documentation to make that clearer. It's possible that a document changed filter will work for

[Google Wave APIs] Python Robot API: GadgetStateChanged and Filters

2010-04-14 Thread Martin Kreichgauer
Hello, I tried using the filters of the Python v2 Robot API with the GadgetStateChanged event. The code looks like this: def on_gadget_state_changed(event, wavelet): # ... my_robot = robot.Robot(my_robot, profile_url='url') my_robot.register_handler(events.GadgetStateChanged,