haxeui / haxeui-core

The core library of the HaxeUI framework
http://haxeui.org
MIT License
338 stars 69 forks source link

TODO implement WindowManager for wxwidgets? #527

Open nonlin-lin-chaos-order-etc-etal opened 1 year ago

nonlin-lin-chaos-order-etc-etal commented 1 year ago

Expected Behavior

wxwidgets backend should show approximately the same as html backend

Current Behavior

Possible Solution

I could help develop haxeui however I will be offline during 6 weeks of summer, maybe available later at September+

Steps to Reproduce (for bugs)

Media

Screenshot 1 (html)

image

Screenshot 2 (wx)

image

Test app / minimal test case

See "Link to your project" below.

Context

Your Environment

$ wx-config --version
3.2.2
$ haxelib list
haxelib: [4.1.0]
haxeui-core: 1.6.0 [git]
haxeui-hxwidgets: 1.6.0 [git]
hxcpp: [4.3.2]
hxWidgets: 1.11.0 [git]
$ haxe --version
4.0.5

https://github.com/haxewallet/haxewallet/tree/6186d2b3850a1f06f41db66c83fe399d62e381f0

https://www.haxeui.org/builder/?e5aafe56

ianharrigan commented 1 year ago

Hi,

So windows (and the window manager) arent implemented (at all) on native yet... and will certainly take a little time to do so. That said, i dont think it was impossible, and when writing the composite window manager, i had wx in mind. So im hoping there wont be a huge amount of friction.

Probably not what you wanted to hear...

Cheers, Ian

EDIT: are you actually looking for a mutli window (MDI) type application?

nonlin-lin-chaos-order-etc-etal commented 1 year ago

Absolutely no MDI in my mind, yes. The docs should probably improved to specify that WM is MDI stuff.

I think I need to change the issue title to "docs need to be improved to specify that WM is MDI stuff", right?

nonlin-lin-chaos-order-etc-etal commented 1 year ago

For example, to include this info here: http://haxeui.org/api/haxe/ui/containers/windows/windowmanager/

ianharrigan commented 1 year ago

well, window manager certainly doesnt have to be for MDI, but its probably its most likely use case - but either way - no native counterpart currently.

And yeah, docs are a little sparse :(

nonlin-lin-chaos-order-etc-etal commented 1 year ago

Well... Making Qt (or something) available for Haxe was a long ago standing dream for myself, so some chances I will help develop any stuff at haxeui (I am a polyglot one). Unsure whether I will allocate time & effort though.

nonlin-lin-chaos-order-etc-etal commented 1 year ago

@ianharrigan For perspective view, a competing React Native / Proton Native [2] frameworks also have little progress[1] at Linux desktop target completeness, however something is done for both Qt and wxWidgets

[1] https://proton-native.js.org/#/wx_backend [2] https://reactnative.dev/docs/out-of-tree-platforms