Re: Displaying simple HTML in gtkmm app
- From: Murray Cumming <murrayc murrayc com>
- To: John Taber <jtaber johntaber net>
- Cc: "Timothy M. Shead" <tshead k-3d com>, gtkmm-list <gtkmm-list gnome org>
- Subject: Re: Displaying simple HTML in gtkmm app
- Date: Thu, 24 Mar 2005 22:09:51 +0100
On Thu, 2005-03-24 at 08:18 -0700, John Taber wrote:
> On Wednesday 23 March 2005 23:20, Timothy M. Shead wrote:
> > 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.
>
> 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.
--
Murray Cumming
murrayc murrayc com
www.murrayc.com
www.openismus.com
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]