Actually there is no setValue() method, the correct method is called
putValue(). There is no additional method or action necessary to
instruct Google Desktop to actually store the options. Every putValue
() call is automatically stored. You can even use options as a
temporary storage for information and it will work.

Best regards,
Benjamin

On Aug 5, 10:49 pm, Rafael <[email protected]> wrote:
> Greetings!
>
> I've been in troubles trying to make my widget persist certain types
> of data. Actually, I've learned about JSON and it is working fine. I'm
> also using "options.setValue()" to keep data. However, it seens that I
> have to trigger something else to confirm all the changes inside the
> options dictionary. It's like changing the value is not enough.
>
> What else I have to do inside the widget to make sure that it will
> persist data?
>
> I've realized that the widget only persists data when I change the
> focused widget to any other that has a working data persistance, i.e.
> the note draft widget. So all I need to do is to click there, inside
> the edit box, and when THAT widget saves its data, it will save the
> data of my widget.
>
> Any ideas?
>
> Thanks in advance,
> Rafael
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to