Reading the code in libglade.py it would seem that you could supply tuples
as values in the dict passed to signal_autoconnect. Is the second argument
passed to the handler, and if so why doesn't this work:
#!/usr/bin/python
from libglade import GladeXML
from gtk import *
def testo (*a):
print "!", a
view = GladeXML ('windefs/fc_basic.glade', 'buffer_manager_view')
view.signal_autoconnect ( { 'on_new_buffer_clicked': (testo, 'beep') } )
mainloop()
Whereas supplying testo as the only argument works splendid. Can anyone
shed some light on this? (On studying libglademodule.c it would seem that
it categorically rejects incoming tuples; see my post on Oct 7: Invalid
coding in libglademodule.c?)
Also, can one use glade custom widgets with libglade and if so: how?
Anders "Quest" Qvist
NetGuide Scandinavia
And we who listen to the sky, or walk the dusty grade,
Or break the very atoms down, to see how they are made,
Or study cells, or living things, seek truth with open hand;
The profoundest act of worship is to try to understand.
-- Catherine Faber, "The Word of God"
To unsubscribe: echo "unsubscribe" | mail [EMAIL PROTECTED]