Follow

@cassidyjames How do you open external applications from a GTK window? Say, triggering a new mail in the default mail program, or opening a browser window. Would those just be by use of the LinkButton? (with mail being mailto=mail@address.here)

@RasmusLindegaard well, it depends on what exactly you're trying to do. But you probably want to use either a mailto: link like you said, or if it's for some other app, use GLib.AppInfo like I do here: github.com/cassidyjames/epheme

Valadoc: valadoc.org/gio-2.0/GLib.AppIn

@cassidyjames RIght, thanks. I figured out something with LinkButton that seems to work just fine 😎

Sign in to participate in the conversation
Mastodon

Server run by the main developers of the project 🐘 It is not focused on any particular niche interest - everyone is welcome as long as you follow our code of conduct!