Re: GNOME Help Method
- From: Sascha Manns <Sascha Manns mailbox org>
- To: infirit <infirit gmail com>, gtk-app-devel-list gnome org
- Subject: Re: GNOME Help Method
- Date: Wed, 15 Feb 2017 15:18:09 +0100
Hi Infirit,
Am Mittwoch, den 15.02.2017, 00:11 +0100 schrieb infirit:
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 |
Thak you very much for answering. I'll try to implement the example in
C#.
Greetings
Sascha
--
Sascha Manns
Sascha Manns mailbox org
GPG:
0x168428cdb1f20ab1
jabber:
Sascha Manns jabber org
Maifeldstraße 10
56727 Mayen
mobile: +49-1573-9242730
home: +49-2651-4014045
https://saigkill.tuxfamily.org
[
Date Prev][
Date Next] [
Thread Prev][Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]