HaxeUI Tutorial

Prerequisites and Setup

John Gabriele

Prereqs

It’s assumed you already have Haxe installed on your system. If you’d like a quick guide to install and setup on Debian GNU/Linux, you’re in luck, as I happen to have one handy right here.

It’s also assumed you have HaxeUI installed on your system and can get a HaxeUI hello-world app to build and run. I’ll be using HaxeUI’s wxWidgets backend here (which in turn uses GTK3), and if you’d like a quick guide for setting that up, you’re in luck again!

This tutorial is focused on HaxeUI in general, and so should be applicable for using HaxeUI on any OS, with any of its back-ends.

We won’t be using any particular IDE — just a text editor and the command line.

Initial Setup

To begin, you should create a “my-proj” directory somewhere, and if you haven’t already done so (as described in the above-linked-to HaxeUI getting-started guide), create a new hello-world HaxeUI hxwidgets app in it:

Make sure you can successfully build and run your newly-created starter project:

and you should get something like:

HaxeUI Hello World
HaxeUI Hello World

(though you might need to resize it).

Links

Some links you might have open in browser tabs as we proceed: