DoGadgetMethod() not talking to my object

Have a question about our Software Developer Kit? Ask them here.

Re: DoGadgetMethod() not talking to my object

Postby ssolie » Mon Sep 09, 2013 8:29 pm

gonegahgah wrote:The main purpose of DoGadgetMethod() is to create a GInfo structure and place that into the Msg isn't it?
I'm guessing that perhaps other code could have also been put in to DoGadgetMethod() to handle standard functions on legacy gadgets maybe?
That would certainly hamper making it more generalised.

Lol. Actually, the AutoDocs presently mention that it can be used for gadgets and for other things.
ie. "You should use this function for BOOPSI gadget objects, or for "models" which propagate information to gadgets.

You should be using DoGadgetMethod() whenever a GadgetInfo structure may be needed.

See ... _an_Object
ExecSG Team Lead
User avatar
Beta Tester
Beta Tester
Posts: 1010
Joined: Mon Dec 20, 2010 9:51 pm
Location: Canada

Re: DoGadgetMethod() not talking to my object

Postby gonegahgah » Tue Sep 10, 2013 4:40 am

Thanks Solie, I didn't think to look back to the wiki.
I can confirm that DoGadgetMethod() doesn't seem to talk to my zone.window objects at the moment - just seems to ignore them completely - unless I adapt the class onto gadgetclass.
Then it works correctly.
User avatar
Posts: 43
Joined: Fri May 31, 2013 5:22 pm


Return to SDK Support

Who is online

Users browsing this forum: No registered users and 1 guest