Buckcherry
01-06-2008 16:26:12
How could I access to the properties of a widget only knowing its name?.
For example, I do this:
Is there any way of change the text of mText using the mSheet?
Something like:
Any idea?
For example, I do this:
QuickGUI::Label mText = mSheet->createLabel("DebugText");
mText->setText((UTFString)"Test");
mText->setPosition(250,550);
mText->setSize(200,40);
Is there any way of change the text of mText using the mSheet?
Something like:
mSheet->getWidget("DebugText")->setText("New Text");
Any idea?