Using Custom Widget in GtkBuilder UI

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

 



Hi folks,


I've wrote a little custom widget (subclassing GtkBox) and now I'm
wanting to use it with GtkBuilder, but when I try to load the .ui with
GtkBuilder i get a error:

Gtk-CRITICAL **: Error building template class 'MyCustomWindow' for an
instance of type 'MyCustomWindow': Invalid object type `MyCustomWidget'

So, after create my custom widget which are the required steps so
GtkBuilder can create widget sucessfully ?

Thanks.

_______________________________________________
gtk-list mailing list
gtk-list@xxxxxxxxx
https://mail.gnome.org/mailman/listinfo/gtk-list




[Index of Archives]     [Touch Screen Library]     [GIMP Users]     [Gnome]     [KDE]     [Yosemite News]     [Steve's Art]

  Powered by Linux