https://linen.dev logo
Join Discord
Powered by
# haxe-ui
  • f

    full-journalist-82607

    12/29/2022, 8:13 PM
    On the downside, you will have less design liberties with wxwidgets than with composites.
  • p

    powerful-morning-89

    12/29/2022, 8:13 PM
    That's not a downside if the goal is to have a native looking app.
  • a

    ambitious-knife-25690

    12/29/2022, 8:14 PM
    yeah
  • a

    ambitious-knife-25690

    12/29/2022, 8:14 PM
    contextual
  • a

    ambitious-knife-25690

    12/29/2022, 8:14 PM
    also having limitations are useful to help things move along
  • f

    full-journalist-82607

    12/29/2022, 8:16 PM
    Yes and no, not all of wxwidgets is perfectly implemented in haxeui. For example, normally you could make some combobox with bitmap inside of them and a few complex things, but haxeui implements for now only the most common, and most useful widgets, which is enough for 90% tooling applications.
  • a

    ambitious-knife-25690

    12/29/2022, 8:16 PM
    fair, i guess those limitations also extend to components as well
  • c

    cool-musician-79004

    12/29/2022, 8:20 PM
    To give you an example of a potential unexpected limitation. In MacOs will the automatic expansion of snippets work? Will password fields be recognized by the Keychain as, well, password fields and offer auto complete? Will ctl+a/e jump to the start end of the line?
  • p

    powerful-morning-89

    12/29/2022, 8:21 PM
    > Will password fields be recognized by the Keychain as, well, password fields and offer auto complete? Depends on wether HaxeUI (and WxWidgets) have the concept of a "password field".
  • f

    full-journalist-82607

    12/29/2022, 8:21 PM
    (I'm not on mac) but Ctrl a/e will work I think
  • c

    cool-musician-79004

    12/29/2022, 8:21 PM
    I mean that the maintainers of the library have to write code to ensure that all the native behaviors are implemented (kind of duplicated) the same as in the native components
  • a

    ambitious-knife-25690

    12/29/2022, 8:22 PM
    on native targets (wxwidgets) the components are native, so they'll behave as expected on the OS, if not, there may need to be some kind of extern/implementation to be added
  • f

    full-journalist-82607

    12/29/2022, 8:23 PM
    I don't know if passwords fields is implemented in haxeui ( haven't need it). For autocompletion, it 's not in haxeui but it is in wxwidgets, and these kind of things are quite easy to implement
  • a

    ambitious-knife-25690

    12/29/2022, 8:23 PM
    so textarea shortcuts should all work as expected
  • a

    ambitious-knife-25690

    12/29/2022, 8:23 PM
    password fields are implemented
  • a

    ambitious-knife-25690

    12/29/2022, 8:23 PM
    they work as normal on the html target as any other site as an example
  • c

    cool-musician-79004

    12/29/2022, 8:25 PM
    And what is composite exactly? Some kind of canvas render?
  • c

    cool-musician-79004

    12/29/2022, 8:25 PM
    Sounds good
  • f

    full-journalist-82607

    12/29/2022, 8:26 PM
    exactly
  • a

    ambitious-knife-25690

    12/29/2022, 8:26 PM
    composite is a rendering backend, typically used for game dev but can also be utilised for ui application development
  • f

    full-journalist-82607

    12/29/2022, 8:26 PM
    In fact not exactly, depends on the backends.
  • p

    powerful-morning-89

    12/29/2022, 8:26 PM
    Composite basically means that it's not native widgets, but custom widgets implemented on top of eg OpenFL sprites.
  • c

    cool-musician-79004

    12/29/2022, 8:27 PM
    And can be combined? Or as soon as you add one composite component the app has to go full composite?
  • a

    ambitious-knife-25690

    12/29/2022, 8:28 PM
    depends on if you're using composite specific features
  • a

    ambitious-knife-25690

    12/29/2022, 8:28 PM
    all haxeui components aim to behave the same across all backends
  • a

    ambitious-knife-25690

    12/29/2022, 8:28 PM
    outside of that requires personal workarounds, conditional compilation kind of stuff
  • f

    full-journalist-82607

    12/29/2022, 8:30 PM
    Basically you can haxeui will know what to do. Imagine you have special type of button with a text an image and a dropdown inside of it. Wxwidgets won't show the dropdown.
  • a

    ambitious-knife-25690

    12/29/2022, 8:30 PM
    i'm not sure if an app can use native things + composite
  • a

    ambitious-knife-25690

    12/29/2022, 8:30 PM
    maybe javascript could pull that off
  • f

    full-journalist-82607

    12/29/2022, 8:30 PM
    I think html5 can use both at the same time
1...136013611362...1687Latest