Fail to add a new widget catalog with glade
Cedric Bellegarde <[email protected]> Fri, 21 Nov 2014 13:29:43 +0100
| Newsgroups | gmane.comp.gnome.glade.user |
|---|---|
| Message-ID | <[email protected]> |
Hello,
i'm trying to add a new widget catalog to my project:
Here the catalog file:
https://github.com/gnumdk/lollypop/commit/3cc05f04f85fe40a498f03107c1d894cb88b5976#diff-6
Here the widget file:
https://github.com/gnumdk/lollypop/commit/3cc05f04f85fe40a498f03107c1d894cb88b5976#diff-8
When using glade, i can add the LollyEventBox widget to a window, test
the widget and the code is working, got an "hand" mouse cursor on enter
event.
But when i try to add LollyEventBox widget to an ui file in my project
like here:
https://github.com/gnumdk/lollypop/commit/3cc05f04f85fe40a498f03107c1d894cb88b5976#diff-2
I've got:
self._ui.add_from_resource('/org/gnome/Lollypop/AlbumWidgetSongs.ui')
GLib.Error: gtk-builder-error-quark: Invalid object type
`LollyEventBox' on line 2 (6)
Thanks for help ;)
--
Cédric Bellegarde
_______________________________________________
Glade-users maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/glade-users