Op 02/15/2017 om 12:01 AM schreef infirit: > Op 02/14/2017 om 11:29 PM schreef Sascha Manns: >> actually i'm working on a new GNOME-App. >> The codebase is already done. Now i would like to implement a small >> method, which launches yelp with the installed apps helpfiles. >> The app is prepared in Mono with Gtk-Sharp. >> Maybe anyone can help me with a C# method for the help system? >> > Short answer, you launch a help:// uri and have it handled by whatever > provides a desktop file for the uri, typically this is yelp. > > Longer answer, The docs are either in docbook (not recommended these > days) or mallard format installed in <distro docdir>/yourappname [1]. > Then have your app launch the uri relative to the docdir [2]. If you > want to integrate this with your autotools build system see [3]. Several > tools are available to help you create and edit the pages [4].
I need to correct myself, the proper uri these days is help:yourappname. And I may have gotten your question wrong.. To launch the uri just use something like |gtk_show_uri but then the C# equivalent. An example for this can be found in gedit source [5]. ~infirit [5] https://git.gnome.org/browse/gedit/tree/gedit/gedit-app.c#n221 | _______________________________________________ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org https://mail.gnome.org/mailman/listinfo/gtk-app-devel-list