Re: Displaying simple HTML in gtkmm app
- From: "Timothy M. Shead" <tshead k-3d com>
- To: John Taber <jtaber johntaber net>
- Cc: gtkmm-list gnome org
- Subject: Re: Displaying simple HTML in gtkmm app
- Date: Wed, 23 Mar 2005 22:20:38 -0800
On Wed, 2005-03-23 at 17:13 -0700, John Taber wrote:
> This is a feature I really miss from other toolkits but gtkhtml looks like it
> will do the job. Are there any examples how to instantiate and use a C gtk
> widget in gtkmm code ?
> thks
> >I have no experience with this myself, but you can get to the
> >underlying C GTK+ widgets via the gobj() member function. So if there
> >is no wrapper for gtkhtml, you simple use the C API and call gobj() on
> >your gtkmm container when you need to put the HTML widget inside it.
Just as there is the gobj() method for accessing the underlying GTK "C"
object for a gtkmm class instance, there are wrap() methods that allow
you to wrap a gtkmm class instance around an existing "C" object.
Cheers,
Tim
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]