RE: Re: Displaying simple HTML in gtkmm app (got it!)



On Thu, 2005-04-21 at 14:06 -0400, erik_ohrnberger dme net wrote:
> I was starting to create a C++ wrapper class, but found out that the
> lines:
> 
> 	g_signal_connect( G_OBJECT( document ), "request_url",	G_CALLBACK(
> &gtkhtml::url_requested ),	NULL );
> 	g_signal_connect( G_OBJECT( document ), "link_clicked",	G_CALLBACK(
> &gtkhtml::link_clicked ),		NULL );
> 
> 	are proving to be difficult to resolve.  How would you connect gtk+
> signals to a C++ class instance?  That appears to be the question now, for
> me at least.

You should use gmmproc, like the existing *mm projects. But I think
gtkmozembedmm is a more sensible way to embed HTML. People are trying to
move from gtkhtml to gecko.

-- 
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]