Re: GtkHtml2 using glade




On 11/27/06, Josep Monés i Teixidor <jmones gmail com> wrote:
Hello!

I'm trying to use a Gtk2::Html2 widget in an application... I'm trying to include it in a glade file, using Gtk2::GladeXML to instantiate the GUI.

Since glade doesn't have it in its palette, I've tried to set a Custom widget with gtk_html_new as creation_function, as explained in http://www.php-gtk.eu/code-hints/gtkhtml-and-glade

If I do this I get no results:
libglade-WARNING **: could not find widget creation function


How can I include this widget in my glade file?



Hello!

I answer to myself. I've found the solution. I was using Gtk2:Html2 from the web site, which is for an old version of the widget, and the creation_function is html_view_new.

It works now.

Regards,

Josep




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