Using Waxe

131 views
Skip to first unread message

Sami Habib

unread,
Dec 12, 2013, 11:35:59 PM12/12/13
to haxe...@googlegroups.com
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?

Djordje Radakovic

unread,
Dec 13, 2013, 8:44:57 AM12/13/13
to haxe...@googlegroups.com
You should try waxe from googlecode

Cambiata

unread,
Dec 13, 2013, 9:43:37 AM12/13/13
to haxe...@googlegroups.com
Aha, is Hugh actually working on this? Great!
And the latest commits are tagged "Get Building with haxe3/wxWidgets 3" :-)

Jonas

Sami Habib

unread,
Dec 13, 2013, 9:56:06 PM12/13/13
to haxe...@googlegroups.com
Oh that's awesome, I'll have to check that out then. Unfortunately there's no haxelib.json, should I make my own or is there a method to install it without one?

Hugh

unread,
Dec 15, 2013, 11:58:10 PM12/15/13
to haxe...@googlegroups.com
Hi,
I am slowly getting back into this project, but I've been distracted for a while.  I hope to come back to it very soon.

Hugh

Vujadin Krtolica

unread,
Dec 16, 2013, 5:00:11 AM12/16/13
to haxe...@googlegroups.com
Any chance for a better NME/OpenFL integration (like waxe not 'eating' mouse/keyboard events) ?
Reply all
Reply to author
Forward
0 new messages