hello, noob here, so, i was writing a program in go to edit a image, and for now i use os.Open(file) to select the file, how i wanted to open the file chooser maybe using org.freedesktop.portal.FileChooser for the user to select the file, but i trying searching it and i couldn’t find an answer, maybe i was using the wrong keywords, but anyway, i hope some can help me, thank you!

btw, i’m also not familiar with portals, i was hoping that i could learn a bit more how they work

  • bananamanstan
    link
    fedilink
    arrow-up
    1
    ·
    1 year ago

    Have you seen zenity or dialog? Zenity looks to include additional functionality you may not need but looks to be more active and maintained.