HaxeUI Tutorial

Checkbox

John Gabriele

In your main.xml:

That will get you:

(Add selected="true" to start it off checked.)

At the top of your Main.hx, be sure to import:

and in your Main.main function, find the widget and assign its handler:

Finally, in that handler function: