Christian Robottom Reis wrote:

First, thanks for your answer.

 >
 > Are any warnings printed?
 >

Here are the warnings printed when i close the window

Traceback (most recent call last):
  File "/usr/lib/python2.0/site-packages/gtk.py", line 125, in __call__
    ret = apply(self.func, a)
TypeError: no arguments expected

Other idea with these new elements ?

 > AFAICT you just need to prefix the function name
 > with the imported module as in:
 >
 > my_imported_module.my_callback
 >

There is a misunderstood, my callback function is not declared in the
imported module, but in the main module; the window class definition is
in the imported module. I try to do that : connect a callback to an
instance of my window.


-- 

Brice VISSIERE
[EMAIL PROTECTED]

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

Reply via email to