Quote:
|
Originally Posted by Skyld
PHP Code:
function onCreated()
{
new GuiButtonCtrl("foo")
{
// this. == button object
thiso.catchevent(this, "onAction", "onFoo");
}
}
function foo(obj)
{
// obj. == button object
}
|
name was used in replace of this for the RC stuff tho.
*Edit* Alright, now how can I find out which is the category before the selected node? *Edit*