GTK+ Forums Forum Index GTK+ Forums
Discussion forum for GTK+ and Programming. Ask questions, troubleshoot problems, view and post example code, or express your opinions.
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Help system in GTK+

 
Post new topic   Reply to topic    GTK+ Forums Forum Index -> GTK+ Programming
Author Message
hydra
Familiar Face


Joined: 23 Jan 2007
Posts: 35

PostPosted: Sat Apr 14, 2007 8:27 pm    Post subject: Help system in GTK+ Reply with quote

Hello!
I make a GTK applicaiton and would like to add a Help system .. you know ... just click on the Help button and some window with help information appears ...
So, this is my wish. But I could not find any such a system in the GTK or Glib. How usually are achieved these tasks in GTK+ applications?
Should I write it myself? It will be easier to me if there is ready system and I only have to add my information...
What about ATK?
Back to top
openldev
Never Seen the Sunlight


Joined: 21 Sep 2005
Posts: 376
Location: State College, Pennsylvania

PostPosted: Sat Apr 14, 2007 8:35 pm    Post subject: Reply with quote

If you are making a GNOME application, look into Yelp. Otherwise, check your window manager of choice.
Back to top
hydra
Familiar Face


Joined: 23 Jan 2007
Posts: 35

PostPosted: Sat Apr 14, 2007 10:01 pm    Post subject: Reply with quote

Thanks!
The problem is that i make an application that will run on windoze and linux.
So, i am looking for a platform independent solution.
Back to top
openldev
Never Seen the Sunlight


Joined: 21 Sep 2005
Posts: 376
Location: State College, Pennsylvania

PostPosted: Sat Apr 14, 2007 10:30 pm    Post subject: Reply with quote

You can use G_OS_UNIX and G_OS_WIN32 to check what type of operating system the user is working on. You can then use the native help system. However, you'd probably be better off either just creating your own or distributing web browser information and opening a browser.
Back to top
hydra
Familiar Face


Joined: 23 Jan 2007
Posts: 35

PostPosted: Sun Apr 15, 2007 1:43 pm    Post subject: Reply with quote

I found a widget called GTKHTML and probably will use it. With Gtkhtml i can build my internal help system. I am afraid this widget is too old.. but i hope it works.
http://directory.fsf.org/webauth/htmlpreproc/gtkhtml.html
Back to top
Micah Carrick
Never Seen the Sunlight


Joined: 21 Sep 2005
Posts: 427
Location: Portland, OR USA

PostPosted: Sun Apr 15, 2007 4:22 pm    Post subject: Reply with quote

If I'm not mistaking, there is also a branch off called libgtkhtml2 which is more portable than the one you're mentioning. I did some looking in to it a while back but never actually played with either of them-- and the documentation on them is poor. But I do remember that "GtkHTML2" was a separate branch from "GtkHTML/GtkHTML3".
Back to top
openldev
Never Seen the Sunlight


Joined: 21 Sep 2005
Posts: 376
Location: State College, Pennsylvania

PostPosted: Sun Apr 15, 2007 4:25 pm    Post subject: Reply with quote

GtkHTML2 supports DOM, but GtkHTML3 supports editing.
Back to top
Display posts from previous:   
Post new topic   Reply to topic    GTK+ Forums Forum Index -> GTK+ Programming All times are GMT
Page 1 of 1

 


Powered by phpBB © 2001, 2005 phpBB Group
CodeBB 1.0 Beta 2
Protected by Anti-Spam ACP