Using Custom Widget in GtkBuilder UI
- From: "Victor A. Santos" <victoraur santos gmail com>
- To: "gtk-list gnome org" <gtk-list gnome org>
- Subject: Using Custom Widget in GtkBuilder UI
- Date: Mon, 16 Jun 2014 22:35:10 -0300
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.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]