Hi all,

i have a little problem with signal function

i have this in a window class :
ok_button.connect("button_press_event", ok_clicked(entry))


and the function :

def ok_clicked(ancestor):
        text = GtkEditable.get_chars(ancestor, 0, -1)

at run time i have this message :
Traceback (most recent call last):
  File "/usr/lib/python2.0/site-packages/gtk.py", line 125, in __call__
    ret = apply(self.func, a)
TypeError: call of non-function (type None)

what's wrong with this??

thanx in advance
_______________________________________________
pygtk mailing list   [EMAIL PROTECTED]
http://www.daa.com.au/mailman/listinfo/pygtk

Reply via email to