5 messages in com.googlegroups.google-mashup-editorRe: using Gadget Tabs API to access g...| From | Sent On | Attachments |
|---|---|---|
| jackAtFloridata | 04 Dec 2007 15:54 | |
| Jason | 05 Dec 2007 14:40 | |
| jackAtFloridata | 09 Dec 2007 18:08 | |
| Jason | 10 Dec 2007 14:20 | |
| jackAtFloridata | 10 Dec 2007 15:25 |
| Subject: | Re: using Gadget Tabs API to access gm:tabs![]() |
|---|---|
| From: | jackAtFloridata (Flor...@gmail.com) |
| Date: | 12/09/2007 06:08:09 PM |
| List: | com.googlegroups.google-mashup-editor |
The only "gottahave" function that i need to execute my UI the way I like is: setSelectedTab(tabindex) which gives focus to the indicated Tab and display its content in the same manner as a user "click" event.
other "nicetohave" functions would be: getSelectedTab() - returns currently displayed Tab displayTabs(display) (renders a set of Tab objects on the display) removeTab(tabindex)
Functions to easily get and set the tab titles would also be nice! thanks, jack
On Dec 5, 5:41 pm, Jason <gmej...@google.com> wrote:
Hi jack. I just replied to your questions from last week, which were similar. I'm sorry again for not answering sooner.
http://groups.google.com/group/google-mashup-editor/browse_thread/thr...
Although you could conceivably use Google Gadgets' UI libraries within GME, I recommend you stick with gm:tabs, gm:section, etc. Aside from being able to dynamically select tabs, which GME's JavaScript API does allow for, what other tab functions are you missing?
- Jason
On Dec 4, 3:54 pm, jackAtFloridata <Flor...@gmail.com> wrote:
Can the Gadget Tabs API described on this
page:http://code.google.com/apis/gadgets/docs/reference.html#Ref_Tabs
...be used to access the objects created by the GME's <gm:tabs> and related... ?
...that would be really nice! ...if not is it possible to invoke the click() method on one of the objects to simulate a user mouseclick in order to display a hidden tab ? It looks like the styles of the container objects could be modified by the script to accomplish this - but this seems like the




