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

    clever-oil-61353

    05/15/2020, 12:56 AM
    yep..... so for instance.... Panel1.hide = true; Panel2.visible = true;
  • u

    user

    05/15/2020, 12:56 AM
    Show(), hide()
  • c

    clever-oil-61353

    05/15/2020, 12:57 AM
    yep, i've seen, show hide visible hidden, just have to peak at the api
  • c

    clever-oil-61353

    05/15/2020, 12:58 AM
    i've been buried in the api for the past two days lol
  • c

    clever-oil-61353

    05/15/2020, 12:58 AM
    been trying all kinds of things out
  • u

    user

    05/15/2020, 12:58 AM
    I'll try tomorrow Thanks
  • c

    clever-oil-61353

    05/15/2020, 12:59 AM
    alrighty. your welcome
  • s

    square-analyst-80883

    05/15/2020, 1:14 AM
    After upgrading to haxe 4.1.0 I am getting the following when using hxWidgets: - hxWidgets/1,5,1/src/hx/widgets/PropertyGridEvent.hx:30: lines 30-34 : fromPointer: 'override' is not allowed on 'static' functions - hxWidgets/1,5,1/src/hx/widgets/MouseEvent.hx:30: lines 30-34 : fromPointer: 'override' is not allowed on 'static' functions Relevent code lines: - https://github.com/haxeui/hxWidgets/blob/master/src/hx/widgets/Event.hx#L38 - https://github.com/haxeui/hxWidgets/blob/master/src/hx/widgets/PropertyGridEvent.hx#L30 - https://github.com/haxeui/hxWidgets/blob/master/src/hx/widgets/MouseEvent.hx#L30 Should this be reported as a bug on https://github.com/haxeui/hxWidgets ?
  • c

    clever-oil-61353

    05/15/2020, 1:20 AM
    i just installed 4.1.0 a little bit ago.... no telling what i'll find too.
  • c

    clever-oil-61353

    05/15/2020, 1:20 AM
    yeah, report that as a bug there.
  • s

    square-analyst-80883

    05/15/2020, 1:24 AM
    Done, thanks
  • b

    bright-gpu-74537

    05/15/2020, 6:25 AM
    @User - override issue should be fixed, let me know if you are comfortable using
    haxelib git
    to make sure it works before i make an official release @User - hide / show could probably work as @User says, however, if that sample project i attached on the forum does indeed crash on OSX i would like to try and figure it out as its really not doing anything particularly special. The only thing it does (and similar to you original code) is that an event handler destroys its own parent, which is what was causing the crash before - but that is fixed now (at least for me in windows) by making haxeui use
    scheduleForDestruction
    rather than
    destroy
    from wxWidgets
  • u

    user

    05/15/2020, 8:06 AM
    @bright-gpu-74537 your demo doesn't crash,. I'll mod it with my xml, to make it crashes :)
  • s

    square-analyst-80883

    05/15/2020, 8:17 AM
    @User I was able to pull latest using haxelib git and test, but ran into a snag. Doesn't seem to locate some Impl's and ToolkitOptions when building. This only borks when using cpp target with hxwidgets backend, the js target with html5 backend seems to work. haxeui-core/1,0,25/haxe/ui/core/Component.hx:3: characters 8-37 : Type not found : haxe.ui.backend.ComponentImpl haxeui-core/1,0,25/haxe/ui/events/UIEvent.hx:3: characters 8-33 : Type not found : haxe.ui.backend.EventImpl haxeui-core/1,0,25/haxe/ui/core/Platform.hx:3: characters 8-36 : Type not found : haxe.ui.backend.PlatformImpl haxeui-core/1,0,25/haxe/ui/core/Screen.hx:3: characters 8-34 : Type not found : haxe.ui.backend.ScreenImpl haxeui-core/1,0,25/haxe/ui/util/Timer.hx:3: characters 8-33 : Type not found : haxe.ui.backend.TimerImpl haxeui-core/1,0,25/haxe/ui/HaxeUIApp.hx:4: characters 8-31 : Type not found : haxe.ui.backend.AppImpl haxeui-core/1,0,25/haxe/ui/HaxeUIApp.hx:5: characters 8-38 : Type not found : haxe.ui.backend.ToolkitOptions (https://github.com/haxeui/haxeui-core/blob/master/haxe/ui/HaxeUIApp.hx#L5) haxeui-core/1,0,25/haxe/ui/core/Component.hx:32: characters 25-38 : Type not found : ComponentImpl
  • s

    square-analyst-80883

    05/15/2020, 8:18 AM
    I tried haxeui-core from haxelib and git.
  • b

    bright-gpu-74537

    05/15/2020, 8:18 AM
    have you pulled latest of haxeui-core, haxeui-hxwidgets and hxWidgets?
  • s

    square-analyst-80883

    05/15/2020, 8:18 AM
    ah, may have missed one of them, I will check now.
  • b

    bright-gpu-74537

    05/15/2020, 8:20 AM
    i would also check that haxeui-hxwidgets haxelib git worked... looks like something went wrong there
    ComponentImpl
    has been around for ages
  • s

    square-analyst-80883

    05/15/2020, 8:25 AM
    @User Should ComponentImpl be imported in this location on the master branch of haxeui-core? https://github.com/haxeui/haxeui-core/blob/master/haxe/ui/core/Component.hx#L3
  • b

    bright-gpu-74537

    05/15/2020, 8:26 AM
    yeah, so ComponentImpl lives inside the backend (haxeui-hxwidgets in your case)
  • s

    square-analyst-80883

    05/15/2020, 8:27 AM
    Okay, that makes sense
  • b

    bright-gpu-74537

    05/15/2020, 8:27 AM
    so if it cant find ComponentImpl, it means (probably) either the backend haxelib git didnt work somehow, or you dont have haxeui-hxwidgets included
  • s

    square-analyst-80883

    05/15/2020, 8:31 AM
    That answer helped point me in the right direction
  • s

    square-analyst-80883

    05/15/2020, 8:31 AM
    I messed up my haxelib git command for haxeui-hxwidgets
  • s

    square-analyst-80883

    05/15/2020, 8:32 AM
    I told haxelib to use the hxwidgets git repo for the haxeui-hxwidgets dep
  • s

    square-analyst-80883

    05/15/2020, 8:34 AM
    looks like it's building now
  • b

    bright-gpu-74537

    05/15/2020, 8:35 AM
    hehe, yeah, that'll do it
  • s

    square-analyst-80883

    05/15/2020, 8:42 AM
    I closed #68 thanks for that fix @User
  • b

    bright-gpu-74537

    05/15/2020, 8:45 AM
    cool 👍
  • b

    bright-gpu-74537

    05/15/2020, 8:52 AM
    (and thanks 🙂 )
1...210211212...1687Latest