Page 1 of 1

Reaction: Required classes

Posted: Sun Feb 16, 2014 10:24 am
by gazelle
Do I need to open required classes of a class I want to use by myself?

Example:
The "clicktab.gadget" autodocs mentions "REQUIRES chooser.gadget". Do I have to open the "chooser.gadget" myself or will this be handled internally by the "clicktab.gadget"? The docs are not clear in that (or i didn't find it).

Re: Reaction: Required classes

Posted: Sun Feb 16, 2014 10:33 am
by trixie
The "clicktab.gadget" autodocs mentions "REQUIRES chooser.gadget". Do I have to open the "chooser.gadget" myself or will this be handled internally by the "clicktab.gadget"?
Normally, all dependencies are handled internally unless the particular class is badly written. "REQUIRES" means that the respective dependency must be present in the system.

Re: Reaction: Required classes

Posted: Sun Feb 16, 2014 10:42 am
by gazelle
trixie wrote:Normally, all dependencies are handled internally [...]
Ok, thanks. I was hoping for that answer because I'm about to use the "getcolor.gadget" which does have a long required list.