[pygtk] pixbuffer

2001-04-17 Thread berger patrick

Hi all,

Someone can help me to create a pixbuf from a 16bits buffer or 
load raw datas from a file?


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



[pygtk] signal

2001-03-27 Thread berger patrick

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