[Glade-users] Fail to add a new widget catalog with glade



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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ximian.com/pipermail/glade-users/attachments/20141121/c3a08e7c/attachment.html>



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