List Info

Thread: GtkHtml2 using glade




GtkHtml2 using glade
user name
2006-11-27 12:21:36
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?

Thanks in advance

Josep
GtkHtml2 using glade
user name
2006-11-27 15:58:40

On 11/27/06, Josep Monés i Teixidor < jmonesgmail.com">jmonesgmail.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


[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )