Re: Displaying simple HTML in gtkmm app



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]