Dear All,
Our gadgets have an "Edit Settings" menu item, accessible via each gadget's title bar, which displays the gadget's UserPrefs dialog (typical iGoogle style behaviour). This functionality is working well. Now we have developed a Weather gadget, who's initial state displays a "Set Up" button within the gadget's window. The question is how can we enable this button to display the gadget's UserPrefs dialog when clicked? Does Shindig have a kind of event that could be published outside so that a gadget's container (our website) can catch it and handle it as required? The required action is shown in this image - http://download.globalcad.com/Weather_Gadget_Button_UserPrefs.png The current logic we use to enable the gadget title bar's "Edit Settings" menu item is via the Shindig 'set' and 'setArray' methods... http://opensocial-resources.googlecode.com/svn/spec/trunk/Core-Gadget.xml#ga dgets.Prefs.set http://opensocial-resources.googlecode.com/svn/spec/trunk/Core-Gadget.xml#ga dgets.Prefs.setArray And a client side subscribes and catches them registering its own function-handler by gadgets.rpc.register('set_pref', setPrefs). Thanks. Kind regards, Darren
