Page 1 of 1

[Solved] nOOb question : show() and setVisible(true) ?

Posted: Thu Jun 30, 2005 08:17
by Ceacy
Hi,
When browsing the API reference, i saw there were several functions which seems to do the same thing :

Code: Select all

void show(void)
void hide (void)

And

Code: Select all

void setVisible(bool setting)

For example. Is there a difference, or do they have the same effect ?

Re: nOOb question : show() and setVisible(true) ?

Posted: Thu Jun 30, 2005 08:25
by CrazyEddie
Yes, these are the same thing. They're included for completeness, and implemented in terms of the main setting method (so, show() calls setVisible(true); for example).

Re: nOOb question : show() and setVisible(true) ?

Posted: Thu Jun 30, 2005 08:58
by Ceacy
Ok. Thanks ;-)