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

    bright-gpu-74537

    02/28/2023, 10:01 PM
    so still not right, seems you need to review your remove / dispose impls
  • a

    ambitious-knife-25690

    02/28/2023, 10:02 PM
    yeah
  • a

    ambitious-knife-25690

    02/28/2023, 10:02 PM
    need to know a bit more about ceramic here
  • a

    ambitious-knife-25690

    02/28/2023, 10:02 PM
    maybe what i want is active 🤔
  • a

    ambitious-knife-25690

    02/28/2023, 10:04 PM
    oh this is weird, nvm i guess?
  • a

    ambitious-knife-25690

    02/28/2023, 10:05 PM
    not sure why i'm getting duplication here
  • a

    aloof-glass-16798

    02/28/2023, 10:06 PM
    He are there any examples of accessing haxui properties like textfield text from haxe code or binding XML views to classes? because there is very little documentation on that despite it being the most important part of the library
  • b

    bright-gpu-74537

    02/28/2023, 10:08 PM
    not a huge amount im afraid, this might be the best thing atm: http://haxeui.org/api/guides/custom-components.html
  • b

    bright-gpu-74537

    02/28/2023, 10:08 PM
    it goes through some of the options
  • a

    ambitious-knife-25690

    02/28/2023, 10:08 PM
    binding a class to an xml is pretty simple
  • a

    ambitious-knife-25690

    02/28/2023, 10:08 PM
    Copy code
    hx
    package ui;
    
    import haxe.ui.containers.VBox;
    
    @:build(haxe.ui.macros.ComponentMacros.build("assets/ui/page.xml"))
    class Page extends VBox {}
  • a

    ambitious-knife-25690

    02/28/2023, 10:09 PM
    where what you extend is the root component of the xml
  • a

    aloof-glass-16798

    02/28/2023, 10:11 PM
    Also many of the guides describing Haxeui’s various features are completely blank
  • a

    ambitious-knife-25690

    02/28/2023, 10:11 PM
    yeah, docs aren't present
  • a

    ambitious-knife-25690

    02/28/2023, 10:11 PM
    it's super capable, but, not many docs are available
  • b

    bright-gpu-74537

    02/28/2023, 10:12 PM
    yeah, i keep meaning to "fill in the blanks", but its never a 10 minute job and im (seemingly) always snowed under with more pressing (and more interesting 🙂 ) things
  • a

    ambitious-knife-25690

    02/28/2023, 10:13 PM
    writing docs are a bit of meh task, but the way i feel is, if i "consider" writing docs i want to do them well so i don't have to revisit them and then realise it will take too much time 🤣
  • b

    bright-gpu-74537

    02/28/2023, 10:16 PM
    the biggest problem i have with writing docs, except for the fact its just boring, is that since i made it, i tend to oversimplify things - like something that is super obvious to me isnt mentioned, etc. That said, it makes sense to start the docs, because editing docs is a helluva lot simpler than starting them
  • b

    bright-gpu-74537

    02/28/2023, 10:16 PM
    plus, all those sections are coming from a GH repo now... which reminds me, i think there is a new set of docs i need to generate
  • b

    bright-gpu-74537

    02/28/2023, 10:17 PM
    https://github.com/haxeui/haxeui-guides/pull/8
  • b

    bright-gpu-74537

    02/28/2023, 10:17 PM
    ah, its not merged yet
  • a

    ambitious-knife-25690

    02/28/2023, 10:20 PM
    there's also formatting of docs... etc etc
  • f

    full-journalist-82607

    02/28/2023, 10:21 PM
    Oh forgot to answer, youcan merge it already and I ll complete it ( and clip the images ) little by little
  • a

    ambitious-knife-25690

    02/28/2023, 10:21 PM
    it makes my brain tired 🤣
  • b

    bright-gpu-74537

    02/28/2023, 10:21 PM
    cool - nice one
  • b

    bright-gpu-74537

    02/28/2023, 10:22 PM
    yeah, its never a quick job, though as i mention, i think a good approach is do something and then refine it
  • f

    full-journalist-82607

    02/28/2023, 10:23 PM
    The most difficult part is starting (and finishing) but incomplete documentation is still pretty useful
  • a

    ambitious-knife-25690

    02/28/2023, 10:24 PM
    yeah, you're probably right. Maybe something like a blunt "want to achive this? here's the code" might be enough
  • b

    bright-gpu-74537

    02/28/2023, 10:24 PM
    yeah, getting some type of text / structure on there is useful
  • b

    bright-gpu-74537

    02/28/2023, 10:24 PM
    yeah, agreed
1...155815591560...1687Latest