Re: GtkTextView for help files?



On 09/29/04 14:24, Iago Rubio wrote:
On Tue, 2004-09-28 at 19:41, William Dest wrote:
I'm creating an external help file for my program,
invoked from the Help menu.
I'd like to keep the file simple so a tech writer can
update it from time to time, but I would also like it
to have bold headings, bookmarks, etc.
Is GtkTextView the right tool for this?  It's not
going to be edited by the user, so I don't need all
the editing features, but I would like a viewer to
recognize tags - in fact html would be ideal.

Tou can try gtkhtml2 but it have some gnome dependencies.

if the gnome dependencies are a problem (*sigh*, i fail to see why an HTML
display widget needs parts of gnome...), and you don't mind a restricted
subset of HTML, you could probably rip GtkIMHtml out of the gaim source.

depending on your environment, it might be possible or more useful just
to write HTML and invoke the user's web browser.  if you need to support
several browsers, there are a variety of scripts floating around out there
that can invoke each one in the proper way.

        -brian



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]