Re: Displaying simple HTML in gtkmm app



On Thursday 24 March 2005 14:09, Murray Cumming wrote:
> > thks, I did see that yesterday as I was searching - but I'm struggling
> > with how this goes into code and why I'm looking for an example.  Do I do
> > something like:
> > gtkhtml *cview;
> > Gtk::Frame *mmview = new Gtk::Frame();
> > mmview->wrap(cview);
> > mmview->...... // whatever gtkhtml method
>
> This is mentioned in th FAQ.

Well, "mentioned" is the right word. - "Glib::wrap() will give you a pointer 
to gtkmm object. It is an overloaded function, so it will give you an 
instance of the appropriate class." 

Sorry, but this doesn't really help me.  Can someone help me out a bit more?  
Thks.  John



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