Most straightforward UI library 2022

I am new to haxe, I’ve written the app logic as a console
Now I want to add a simple GUI, some buttons text boxes, listboxes…

I’ve tried first haxeui, but to my pain after a few hours I am jumping between target and was’nt able to start the minimum. (errors are below)

I’ve read a Book (nneko and haxe) he pointed out nGUI with IUP but I am wondering its not on haxelib or GitHub, only on google code.

My question is what is a stable minimal UI library for haxe.

I am trying to avoid nodewebkit because i want to use something complete sys

winforms 
C:\HaxeToolkit\haxe\lib\haxeui-winforms/1,5,0/haxe/ui/backend/ComponentImpl.hx:35: characters 13-64 : Warning : Std.is is deprecated. Use Std.isOfType instead.
C:\HaxeToolkit\haxe\lib\haxeui-winforms/1,5,0/haxe/ui/backend/ComponentImpl.hx:39: characters 20-63 : Warning : Std.is is deprecated. Use Std.isOfType instead.
C:\HaxeToolkit\haxe\lib\haxeui-winforms/1,5,0/haxe/ui/backend/ComponentImpl.hx:57: characters 13-59 : Warning : Std.is is deprecated. Use Std.isOfType instead.
C:\HaxeToolkit\haxe\lib\haxeui-winforms/1,5,0/haxe/ui/backend/ComponentImpl.hx:67: characters 13-62 : Warning : Std.is is deprecated. Use Std.isOfType instead.
C:\HaxeToolkit\haxe\lib\haxeui-winforms/1,5,0/haxe/ui/backend/ComponentImpl.hx:86: characters 13-69 : Warning : Std.is is deprecated. Use Std.isOfType instead.
C:\HaxeToolkit\haxe\lib\haxeui-winforms/1,5,0/haxe/ui/backend/ComponentImpl.hx:93: characters 17-35 : Warning : Std.is is deprecated. Use Std.isOfType instead.
C:\HaxeToolkit\haxe\lib\haxeui-winforms/1,5,0/haxe/ui/backend/ComponentImpl.hx:144: characters 43-90 : Warning : Std.is is deprecated. Use Std.isOfType instead.
C:\HaxeToolkit\haxe\lib\haxeui-winforms/1,5,0/haxe/ui/backend/ComponentImpl.hx:166: characters 13-35 : Warning : Std.is is deprecated. Use Std.isOfType instead.
C:\HaxeToolkit\haxe\lib\haxeui-winforms/1,5,0/haxe/ui/backend/ComponentImpl.hx:185: characters 25-74 : Warning : Std.is is deprecated. Use Std.isOfType instead.
C:\HaxeToolkit\haxe\lib\haxeui-winforms/1,5,0/haxe/ui/backend/ComponentImpl.hx:187: characters 32-81 : Warning : Std.is is deprecated. Use Std.isOfType instead.
C:\HaxeToolkit\haxe\lib\haxeui-winforms/1,5,0/haxe/ui/backend/ComponentImpl.hx:203: characters 21-70 : Warning : Std.is is deprecated. Use Std.isOfType instead.
C:\HaxeToolkit\haxe\lib\haxeui-winforms/1,5,0/haxe/ui/backend/ComponentImpl.hx:230: characters 17-31 : Warning : Std.is is deprecated. Use Std.isOfType instead.
C:\HaxeToolkit\haxe\lib\haxeui-winforms/1,5,0/haxe/ui/backend/winforms/behaviours/ControlChecked.hx:12: characters 13-73 : Warning : Std.is is deprecated. Use Std.isOfType instead.
C:\HaxeToolkit\haxe\lib\haxeui-winforms/1,5,0/haxe/ui/backend/winforms/behaviours/ControlChecked.hx:14: characters 20-83 : Warning : Std.is is deprecated. Use Std.isOfType instead.
C:\HaxeToolkit\haxe\lib\haxeui-winforms/1,5,0/haxe/ui/backend/winforms/behaviours/ControlChecked.hx:21: characters 13-73 : Warning : Std.is is deprecated. Use Std.isOfType instead.
C:\HaxeToolkit\haxe\lib\haxeui-winforms/1,5,0/haxe/ui/backend/winforms/behaviours/ControlChecked.hx:23: characters 20-83 : Warning : Std.is is deprecated. Use Std.isOfType instead.
C:\HaxeToolkit\haxe\lib\haxeui-winforms/1,5,0/haxe/ui/backend/winforms/behaviours/ControlImage.hx:11: characters 21-79 : Warning : Std.is is deprecated. Use Std.isOfType instead.
C:\HaxeToolkit\haxe\lib\haxeui-winforms/1,5,0/haxe/ui/backend/winforms/behaviours/ControlImage.hx:13: characters 29-91 : Warning : Std.is is deprecated. Use Std.isOfType instead.
C:\HaxeToolkit\haxe\lib\haxeui-winforms/1,5,0/haxe/ui/backend/winforms/behaviours/ControlMax.hx:11: characters 13-76 : Warning : Std.is is deprecated. Use Std.isOfType instead.
C:\HaxeToolkit\haxe\lib\haxeui-winforms/1,5,0/haxe/ui/backend/winforms/behaviours/ControlMax.hx:13: characters 20-80 : Warning : Std.is is deprecated. Use Std.isOfType instead.
C:\HaxeToolkit\haxe\lib\haxeui-winforms/1,5,0/haxe/ui/backend/winforms/behaviours/ControlMin.hx:11: characters 13-76 : Warning : Std.is is deprecated. Use Std.isOfType instead.
C:\HaxeToolkit\haxe\lib\haxeui-winforms/1,5,0/haxe/ui/backend/winforms/behaviours/ControlMin.hx:13: characters 20-80 : Warning : Std.is is deprecated. Use Std.isOfType instead.
C:\HaxeToolkit\haxe\lib\haxeui-winforms/1,5,0/haxe/ui/backend/winforms/behaviours/ControlValue.hx:12: characters 13-76 : Warning : Std.is is deprecated. Use Std.isOfType instead.
C:\HaxeToolkit\haxe\lib\haxeui-winforms/1,5,0/haxe/ui/backend/winforms/behaviours/ControlValue.hx:14: characters 20-80 : Warning : Std.is is deprecated. Use Std.isOfType instead.
C:\HaxeToolkit\haxe\lib\haxeui-winforms/1,5,0/haxe/ui/backend/winforms/behaviours/ControlValue.hx:21: characters 13-76 : Warning : Std.is is deprecated. Use Std.isOfType instead.
C:\HaxeToolkit\haxe\lib\haxeui-winforms/1,5,0/haxe/ui/backend/winforms/behaviours/ControlValue.hx:23: characters 20-80 : Warning : Std.is is deprecated. Use Std.isOfType instead.
C:\HaxeToolkit\haxe\lib\haxeui-winforms/1,5,0/haxe/ui/backend/winforms/behaviours/ProgressBarMarquee.hx:10: characters 13-52 : Warning : Std.is is deprecated. Use Std.isOfType instead.
C:\HaxeToolkit\haxe\lib\haxeui-winforms/1,5,0/haxe/ui/backend/winforms/behaviours/ProgressBarMarquee.hx:21: characters 13-52 : Warning : Std.is is deprecated. Use Std.isOfType instead.
C:\HaxeToolkit\haxe\lib\tjson/1,4,0/tjson/TJSON.hx:261: characters 17-32 : Warning : haxe.Utf8 is deprecated. Use UnicodeString instead.
C:\HaxeToolkit\haxe\lib\tjson/1,4,0/tjson/TJSON.hx:263: characters 17-31 : Warning : haxe.Utf8 is deprecated. Use UnicodeString instead.
C:\HaxeToolkit\haxe\lib\tjson/1,4,0/tjson/TJSON.hx:368: characters 6-32 : Warning : Std.is is deprecated. Use Std.isOfType instead.
C:\HaxeToolkit\haxe\lib\tjson/1,4,0/tjson/TJSON.hx:376: characters 6-23 : Warning : Std.is is deprecated. Use Std.isOfType instead.
C:\HaxeToolkit\haxe\lib\tjson/1,4,0/tjson/TJSON.hx:376: characters 27-43 : Warning : Std.is is deprecated. Use Std.isOfType instead.
C:\HaxeToolkit\haxe\lib\tjson/1,4,0/tjson/TJSON.hx:379: characters 13-43 : Warning : Std.is is deprecated. Use Std.isOfType instead.
C:\HaxeToolkit\haxe\lib\tjson/1,4,0/tjson/TJSON.hx:477: characters 6-24 : Warning : Std.is is deprecated. Use Std.isOfType instead.
C:\HaxeToolkit\haxe\lib\tjson/1,4,0/tjson/TJSON.hx:477: characters 28-47 : Warning : Std.is is deprecated. Use Std.isOfType instead.
C:\HaxeToolkit\haxe\lib\tjson/1,4,0/tjson/TJSON.hx:480: characters 11-30 : Warning : Std.is is deprecated. Use Std.isOfType instead.
C:\HaxeToolkit\haxe\lib\tjson/1,4,0/tjson/TJSON.hx:480: characters 34-52 : Warning : Std.is is deprecated. Use Std.isOfType instead.
C:\HaxeToolkit\haxe\lib\tjson/1,4,0/tjson/TJSON.hx:484: characters 11-29 : Warning : Std.is is deprecated. Use Std.isOfType instead.
C:\HaxeToolkit\haxe\lib\tjson/1,4,0/tjson/TJSON.hx:489: characters 11-42 : Warning : Std.is is deprecated. Use Std.isOfType instead.
C:\HaxeToolkit\haxe\lib\tjson/1,4,0/tjson/TJSON.hx:493: characters 11-31 : Warning : Std.is is deprecated. Use Std.isOfType instead.
C:\HaxeToolkit\haxe\lib\tjson/1,4,0/tjson/TJSON.hx:496: characters 11-29 : Warning : Std.is is deprecated. Use Std.isOfType instead.
C:\HaxeToolkit\haxe\lib\haxeui-core/1,5,0/haxe/ui/core/Component.hx:748: characters 21-26 : Warning : Type haxe.ui.core.Component is being cast to the unrelated type findComponent.T
C:\HaxeToolkit\haxe\lib\haxeui-core/1,5,0/haxe/ui/core/Component.hx:818: characters 21-26 : Warning : Type haxe.ui.core.Component is being cast to the unrelated type findAncestor.T
C:\HaxeToolkit\haxe\lib\haxeui-core/1,5,0/haxe/ui/components/DropDown.hx:103: characters 22-52 : Warning : Type haxe.ui.data.ArrayDataSource is being cast to the unrelated type haxe.ui.data.DataSource<{ }> 
C:\HaxeToolkit\haxe\lib\haxeui-core/1,5,0/haxe/ui/containers/ListView.hx:443: characters 22-52 : Warning : Type haxe.ui.data.ArrayDataSource is being cast to the unrelated type haxe.ui.data.DataSource<{ }> 

When I start it
Unhandled Exception: System.NullReferenceException: Object reference not set to an instance of an object.
   at haxe.ui.backend.ScreenImpl.addComponent(Component component)
   at haxe.ui.core.Screen.addComponent(Component component)
   at Main.main()
   at EntryPoint__Main.Main()

html5
haxe .\build.hxml
C:\HaxeToolkit\haxe\lib\haxeui-html5/1,5,0/haxe/ui/backend/ToolkitOptions.hx:3: characters 8-23 : You cannot access the js package while targeting cs (for js.html.Element)

openfl
C:\HaxeToolkit\haxe\lib\haxeui-nme/1,5,0/haxe/ui/backend/TextInputImpl.hx:5: characters 8-27 : Type not found : openfl.events.Event
C:\HaxeToolkit\haxe\lib\haxeui-nme/1,5,0/haxe/ui/backend/TextInputImpl.hx:14: characters 36-48 : Type not found : Event
C:\HaxeToolkit\haxe\lib\haxeui-nme/1,5,0/haxe/ui/backend/TextInputImpl.hx:15: characters 36-48 : Type not found : Event
C:\HaxeToolkit\haxe\lib\haxeui-nme/1,5,0/haxe/ui/backend/TextInputImpl.hx:87: characters 39-51 : Type not found : Event
C:\HaxeToolkit\haxe\lib\haxeui-nme/1,5,0/haxe/ui/backend/TextInputImpl.hx:104: characters 36-48 : Type not found : Event
C:\HaxeToolkit\haxe\lib\haxeui-nme/1,5,0/haxe/ui/backend/TextInputImpl.hx:50: characters 43-55 : Type not found : Event
PS E:\tsp> haxe .\build.hxml 
C:\HaxeToolkit\haxe\lib\haxeui-nme/1,5,0/haxe/ui/backend/TextInputImpl.hx:5: characters 8-27 : Type not found : openfl.events.Event
C:\HaxeToolkit\haxe\lib\haxeui-nme/1,5,0/haxe/ui/backend/TextInputImpl.hx:14: characters 36-48 : Type not found : Event
C:\HaxeToolkit\haxe\lib\haxeui-nme/1,5,0/haxe/ui/backend/TextInputImpl.hx:15: characters 36-48 : Type not found : Event
C:\HaxeToolkit\haxe\lib\haxeui-nme/1,5,0/haxe/ui/backend/TextInputImpl.hx:87: characters 39-51 : Type not found : Event
C:\HaxeToolkit\haxe\lib\haxeui-nme/1,5,0/haxe/ui/backend/TextInputImpl.hx:104: characters 36-48 : Type not found : Event
C:\HaxeToolkit\haxe\lib\haxeui-nme/1,5,0/haxe/ui/backend/TextInputImpl.hx:49: characters 43-55 : Type not found : Event
C:\HaxeToolkit\haxe\lib\haxeui-nme/1,5,0/haxe/ui/backend/TextInputImpl.hx:50: characters 43-55 : Type not found : Event
PS E:\tsp> haxe .\build.hxml 
C:\HaxeToolkit\haxe\lib\haxeui-nme/1,5,0/haxe/ui/backend/TextInputImpl.hx:5: characters 8-27 : Type not found : openfl.events.Event
C:\HaxeToolkit\haxe\lib\haxeui-nme/1,5,0/haxe/ui/backend/TextInputImpl.hx:14: characters 36-48 : Type not found : Event
C:\HaxeToolkit\haxe\lib\haxeui-nme/1,5,0/haxe/ui/backend/TextInputImpl.hx:15: characters 36-48 : Type not found : Event
C:\HaxeToolkit\haxe\lib\haxeui-nme/1,5,0/haxe/ui/backend/TextInputImpl.hx:104: characters 36-48 : Type not found : Event
C:\HaxeToolkit\haxe\lib\haxeui-nme/1,5,0/haxe/ui/backend/TextInputImpl.hx:49: characters 43-55 : Type not found : Event
C:\HaxeToolkit\haxe\lib\haxeui-nme/1,5,0/haxe/ui/backend/TextInputImpl.hx:50: characters 43-55 : Type not found : Event

heaps
C:\HaxeToolkit\haxe\lib\heaps/1,9,1/hxd/Res.hx:4: characters 1-8 : Warning : Resource directory not found in classpath 'res' (use -D resourcesPath=DIR)
C:\HaxeToolkit\haxe\lib\heaps/1,9,1/hxd/Res.hx:4: characters 1-8 : Uncaught exception __invalid: No such file or directory
C:\HaxeToolkit\haxe\lib\heaps/1,9,1/hxd/res/FileTree.hx:96: characters 13-46 : Called from here
C:\HaxeToolkit\haxe\lib\heaps/1,9,1/hxd/res/FileTree.hx:64: characters 4-20 : Called from here
C:\HaxeToolkit\haxe\lib\heaps/1,9,1/hxd/res/FileTree.hx:264: characters 18-24 : Called from here
C:\HaxeToolkit\haxe\lib\heaps/1,9,1/hxd/res/FileTree.hx:375: characters 10-41 : Called from here
C:\HaxeToolkit\haxe\lib\heaps/1,9,1/hxd/Res.hx:4: characters 1-8 : Called from here
PS E:\tsp> haxe .\build.hxml 
C:\HaxeToolkit\haxe\lib\haxeui-heaps/1,5,0/haxe/ui/backend/TextDisplayImpl.hx:113: characters 14-23 : h2d.Text has no field lineBreak
C:\HaxeToolkit\haxe\lib\haxeui-heaps/1,5,0/haxe/ui/backend/TextDisplayImpl.hx:39: characters 49-58 : h2d.Text has no field lineBreak
C:\HaxeToolkit\haxe\lib\haxeui-heaps/1,5,0/haxe/ui/backend/TextDisplayImpl.hx:40: characters 24-33 : h2d.Text has no field lineBreak
PS E:\tsp> haxe .\build.hxml 
C:\HaxeToolkit\haxe\lib\tjson/1,4,0/tjson/TJSON.hx:261: characters 17-32 : Warning : haxe.Utf8 is deprecated. Use UnicodeString instead.
C:\HaxeToolkit\haxe\lib\tjson/1,4,0/tjson/TJSON.hx:263: characters 17-29 : Warning : haxe.Utf8 is deprecated. Use UnicodeString instead.
C:\HaxeToolkit\haxe\lib\tjson/1,4,0/tjson/TJSON.hx:376: characters 27-43 : Warning : Std.is is deprecated. Use Std.isOfType instead.
C:\HaxeToolkit\haxe\lib\tjson/1,4,0/tjson/TJSON.hx:379: characters 13-43 : Warning : Std.is is deprecated. Use Std.isOfType instead.
C:\HaxeToolkit\haxe\lib\tjson/1,4,0/tjson/TJSON.hx:477: characters 6-24 : Warning : Std.is is deprecated. Use Std.isOfType instead.
C:\HaxeToolkit\haxe\lib\tjson/1,4,0/tjson/TJSON.hx:477: characters 28-47 : Warning : Std.is is deprecated. Use Std.isOfType instead.
C:\HaxeToolkit\haxe\lib\tjson/1,4,0/tjson/TJSON.hx:480: characters 11-30 : Warning : Std.is is deprecated. Use Std.isOfType instead.
C:\HaxeToolkit\haxe\lib\tjson/1,4,0/tjson/TJSON.hx:480: characters 34-52 : Warning : Std.is is deprecated. Use Std.isOfType instead.
C:\HaxeToolkit\haxe\lib\tjson/1,4,0/tjson/TJSON.hx:484: characters 11-29 : Warning : Std.is is deprecated. Use Std.isOfType instead.
C:\HaxeToolkit\haxe\lib\tjson/1,4,0/tjson/TJSON.hx:489: characters 11-42 : Warning : Std.is is deprecated. Use Std.isOfType instead.
C:\HaxeToolkit\haxe\lib\tjson/1,4,0/tjson/TJSON.hx:493: characters 11-31 : Warning : Std.is is deprecated. Use Std.isOfType instead.
C:\HaxeToolkit\haxe\lib\tjson/1,4,0/tjson/TJSON.hx:496: characters 11-29 : Warning : Std.is is deprecated. Use Std.isOfType instead.
Stack overflow

Any help is appreciated,

For haxeui, you want to use latest git stuff.

haxelib git haxeui-core https://github.com/haxeui/haxeui-core
haxelib git haxeui-winforms https://github.com/haxeui/haxeui-winforms
haxelib git haxeui-heaps https://github.com/haxeui/haxeui-heaps
haxelib git haxeui-openfl https://github.com/haxeui/haxeui-openfl

etc

And you also need to realise that each platform has their own setup issues. heaps for example requires git stuff the haxelib version won’t work. Haxeui is stable and works just need to know what you’re trying to target etc.

your html5 code looks the closest to working, but you were targeting csharp. Macro might be eating the path. Heaps would work with correct libs. Openfl, you’re using the wrong backend, you need to use openfl