Yes, I have seen that. But It needs to be UILayer to use getWidget.
The info that I want to know: should I use UI editor for making my game scenes, or I should use scene editor?
UI editor give me the json file, that I can read with CCSGUIReader and output is UIWidget.
Scene editor give me json file, that I can read with CCSSceneReader, and output is CCNode.
If I want to set callbacks and other functional, should I use UI editor instead of scene editor?