Custom widget with GladeXML



In order to load xpm data from memory I inserted a custom widget into
glade that should create the image and substitute it.

Now I don't understand in which namespace GladeXML looks for the
create_function, I tried several things and it just keeps saying:

 (test.pl:2353): libglade-WARNING **: could not find widget creation
function

I tried oputting the function in the namespace where the xml object is
created, in the namespace where signals are connected from, in
"Custom::" and even in "Gtk2::GladeXML::" -- no luck whatsoever :((

Anyone who knows how to fix this ?

-- 
   )   (       Jaap Karssenberg || Pardus [Larus]
   :   :       http://pardus-larus.student.utwente.nl/~pardus
 )  \ /  (    
 ",.*'*.,"     Proud owner of "Perl6 Essentials" 1st edition :)



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