Hi Jonny-

That is in fact an excellent question. The setModeCallback is only
available for the "bleeding edge" release of the Wave Gadgets API
library, which you can retrieve by specifying <Require feature="wave-
preview">.
We did not make this clear in the reference, and remedy that.

An example gadget that uses it is here:
http://google-wave-resources.googlecode.com/svn/trunk/samples/extensions/gadgets/mappy/mappy.xml

- pamela

On Oct 13, 6:33 pm, jjh <[email protected]> wrote:
> Hi,
>
> I am not doubt doing something dumb, but I can't figure it out. I am
> trying to develop an equation gadget for Wave. I want the gadget to
> display the equation (as a picture) but become editable text for users
> to edit it. It looked like setModeCallback was the perfect thing to
> use for this - as I could detect when the blip containing the gadget
> is being edited and change modes.
>
> However, I register a callback in my gadget init function
> (gadgets.util.registerOnLoadHandler(init);) but it never seems to get
> called. I've checked javascript logs nothing showing up.
>
> Has anyone else had this problem. I haven't been able to find a demo
> gadget that using the setModeCallback.
>
> Any help appreciated.
> Jonny
--~--~---------~--~----~------------~-------~--~----~
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