Re: How to invoke help browser with gtkmm/gnomemm?



On Tue, 2009-11-10 at 11:42 -0200, Fabrício Godoy wrote:
> See:
> http://git.gnome.org/cgit/nemiver/tree/src/workbench/nmv-workbench.cc#n227

No, I wouldn't advise you to copy that method.  That's just a hack since
we don't require a new enough gtk+ yet.  The real solution is to use
gtk_show_uri(), I believe.  I'm not actually sure whether this has been
wrapped in gtkmm yet, but you can always call the gtk+ version.  

> http://git.gnome.org/cgit/gnome-system-monitor/tree/src/callbacks.cpp#n175
> 
> 2009/11/9 BALLABIO GERARDO <GERARDO BALLABIO esterni gruppo mps it>
>         Hi all,
>         I need ask your help.
>         
>         I am writing a C++ application with gtkmm and trying to follow
>         Gnome guidelines. In particular I'm adding to it a Help menu
>         with a Contents entry that, when activated, should start the
>         Gnome help browser and make it display the application manual.
>         
>         I found here:
>         http://library.gnome.org/devel/gdp-handbook/stable/buildingdocs.html.en#helpmenu the recommended procedure to do that in C, but I could not find anywhere how I am supposed to do it in C++. I expected that gnomemm provided a C++ function corresponding to gnome_help_display, but apparently that doesn't exist. Then I read the doxygen-generated libgnomemm reference (that's the only gnomemm documentation I could find) but frankly I got quite lost into it.
>         
>         Please tell me what is the recommended procedure. If you could
>         also give me a working example, I'd appreciate it _very_ much.
>         
>         Thank you
>          Gerardo
>         _______________________________________________
>         gtkmm-list mailing list
>         gtkmm-list gnome org
>         http://mail.gnome.org/mailman/listinfo/gtkmm-list
> 
> _______________________________________________
> gtkmm-list mailing list
> gtkmm-list gnome org
> http://mail.gnome.org/mailman/listinfo/gtkmm-list




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