GUI Programming


#1

Why its so complicated to develop GUI with haXe?
i try all of the libraries, but now one works with actual libraries like openfl 7, haxe 3.4.4, hxcpp 3.4.188

i everybody knows a good tutorial with actual working library to develop gui?

i mean gui for windows, linux and macos


#2

Hi, did you try HaxeUI ?


#3

yeah, i try it also, but i didn’t find the correct versions of the libraries
it also works not with the newest libraries

and an other problem is, it doesn’t exist good tutorials to learn the first step
create a project, create a tabview and so on

the language haXe is very nice


#4

Check these examples they are all updated and well managed . Haxe GUI Basics


#5

how i can download this examples?
wich versions of libraries i have to use?

thx

I try haxe-basics: haxeui simple application and got the following error:
C:/laragon/bin/haxe/HaxeToolkit/haxe/lib/haxeui-core/0,0,3/haxe/ui/macros/ComponentMacros.hx:118: characters 24-26 : Unknown identifier : c0
Source/Main.hx:14: characters 20-71 : Called from macro here
haxeui-core/0,0,3/haxe/ui/macros/ComponentMacros.hx:119: characters 24-26 : Unknown identifier : c0
Source/Main.hx:14: characters 20-71 : Called from macro here
Source/Main.hx:14: characters 20-71 : Void should be haxe.ui.core.Component
Source/Main.hx:14: characters 20-71 : For function argument ‘component’


#6

What sample did you tried?


#7

try to do this:
haxelib install haxeui-core
haxelib install haxeui-openfl
haxelib update

sample Button already works for me (was tested Neko via “openfl test linux -neko” and C++ via “openfl test linux”).

tsted with Haxe 3.4.4
haxeui-core 0.0.3
haxeui-openfl 0.0.2
openfl 7.0.0
hxcpp 3.4.188


#8

I tried the tabbar example and he told me the same error:
haxeui-core/0,0,3/haxe/ui/macros/ComponentMacros.hx:119: characters 24-25 : Unknown identifier : c0

Source/Main.hx:12: characters 20-71 : Called from macro here
Source/Main.hx:12: characters 20-71 : Void should be haxe.ui.core.Component
Source/Main.hx:12: characters 20-71 : For function argument ‘component’

Main.hx: 12
app.addComponent(ComponentMacros.buildComponent(“Assets/Xml/UI.xml”));

i try to compile it for windows


#9

gmm, maybe something wrong on Windows-platform (for Linux it works fine).
please, open a new issue for haxeui-openfl if you have account on github.


#10

thx
i opened a new issue
now i wait

thx for all


#11

Fixed now… :wink:

Was a subtle bug with haxeui-core skipping classpath scanning for paths with “bin” in them… :blush: