#Dynamic Main/Window menu

1 messages · Page 1 of 1 (latest)

coral saffron
#

I would like to build my app's menu dynamically based on a HTTP call. I'm super unfamiliar with Rust, and I'm struggling to figure this out. Any pointers would be greatly appreciated

lost jungle
#

what thing specifically you currently cannot figure out(what specifically you want to do and you cannot figure out)

coral saffron
#

@lost jungle sorry for not replying, I didn't see a notification from Discord.

I can't figure out how to make the HTTP call and then parse the JSON and then manipulate the menu and all in the correct time before the window attempts to render

lost jungle
coral saffron
#

Thanks... I'm already using hyper (which looks like it's built on top of reqwest?) and serde and just trying to figure out all of this timing whilst getting my head around Rust syntax and other paradigms 😅