-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Tuesday 30 March 2004 22:05, Omer Zak wrote:
> Is there anyone who has experience in developing application's GUI with
> Glade and writing its body in Python?
> If yes, please contact me in private to help me get started.
>
> The reason for my request is that the following code did not work for me:
> import gtk
> import gtk.glade
> def some_handler(widget):
> pass
>
> xml = gtk.glade.XML('filename.glade')
> widget = xml.get_widget('widgetname')
> xml.autoconnect({
> 'some_handler': some_handler
> })
> gtk.main()
>
> And the failure was that xml doesn't have the method autoconnect (I used
> the correct .glade filename for my project in the gtk.glade.XML() call).
IIRC it should be xml.signal_autoconnect
If not seen it already, here's a nice tutorial about the subject:
http://www.linuxjournal.com/article.php?sid=6586
- --
Meir Kriheli
MKsoft systems
http://www.mksoft.co.il
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)
iD8DBQFAahVjRkS5DWK1mZkRAtkYAJ0UrduNcry4ubsRhU1+Harn9ohiDwCg5wwI
dlKmizpOVmGNAZR5CaJWo7g=
=szQ1
-----END PGP SIGNATURE-----
================================================================To unsubscribe, send
mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]