I want to use the Waxe library, the most up to date version found on
misterpah's GitHub, but it isn't working properly. I try adding something, for example let's say I want to add a button:
var frame:Frame = ApplicationMain.frame;
var panel:Panel = Panel.create(frame);
var btn:Button = Button.create(panel, null, "Click me!");
Unfortunately no button appears. If I simply add to to "frame" instead of "panel", no difference.
What does work, is editing the menu bar. For instance this:
var menu:Menu = new Menu();
menu.append(1, "foo");
var menuBar:MenuBar = new MenuBar();
menuBar.append(menu, "File");
frame.menuBar = menuBar;
Works like a charm. I haven't tried events yet but I expect that they should work.
As you can imagine though, I'll need other things such as buttons, combo boxes, and so forth to make a proper UI for an application. Is Waxe working successfully for anybody else? Am I doing something wrong? Is it just outdated?