Hi, you can't access them directly, but there is this event (onoptionchanged) which allows you to see what option has been changed in the options view so you can check out its value. Basically, the changed option is given by event.propertyName.
You can find this in the Gadget API reference<http://code.google.com/apis/desktop/docs/gadget_apiref.html>. If you have more questions feel free to ask. Thanks, Teo On Tue, Dec 16, 2008 at 1:59 PM, Ciel Bleu <[email protected]> wrote: > > Hi, > > I wonder how I can access variables in my options view. I created a > gadget that won't work unless you have to input the correct username > and password in the options view. > > What I want to happen is that there's a function in my main.js that > needs to access a function in my options.js. > > What I am trying to do is to get the status of the login (success or > fail in options.js) before loading the data on my main.xml. > > Hope you could understand what I mean. > > Thanks, > > Ciel Bleu > . > > > > -- Teo (a.k.a. Teominator a.k.a. Teodor Filimon) site www.teodorfilimon.com | blog www.teodorfilimon.blogspot.com GMT +2 --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google Desktop Developer Group" 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-Desktop-Developer?hl=en -~----------~----~----~----~------~----~------~--~---
