Re: Custom widget with GladeXML



On Wed, 2003-10-01 at 09:19, Jaap Karssenberg wrote:
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 ?

this would probably be a good faq topic, the custom widget stuff in
glade, especially doing the xpm from data stuff, someone post a good
concise answer and i'll put it up in the faq, or tell you how to.

there's probably several other glade related faq entries that could be
made.

anyone interested in creating faq fodder (entries) or
howto/intro/article/docs etc. let me know, the more the merrier. 

-rm




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