> > You need to get the Gadget entry from the gadget you added.  Once you
> > do this, you can use element.setField(key, value) to control its
> > state.  I'm not sure how to go about getting the gadget object for a
> > newly added gadget (gadget insert/append have no return types).
> > Perhaps you can go back and try something like GadgetView.getGadgets
> > or getGadget("url") to find it again.

Here's what I'm doing:

    gadget = document.Gadget(gadgetUrl)
    doc.InsertElement(m.start(0), gadget)

Now - from 
http://wave-robot-python-client.googlecode.com/svn/trunk/pydocs/waveapi.document.Gadget-class.html
I wonder - can I not just call:

    gadget.SubmitDelta()

after adding it to the doc? Not that I can see what format it should
be in yet ;)

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Wave API" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/google-wave-api?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to