Il giorno dom, 24/10/2010 alle 21.04 +0200, Manlio Perillo ha scritto: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Il 24/10/2010 19:44, Pietro Battiston ha scritto: > > [...] > > "the purpose of the module was not to create a serious module to do GUIs > > in python, it was to experiment with subprocess." > > e > > "So, yes PyZenity is crack. The "right" way to do it is to certainly > > use PyGtk, which I do in my own programs".* > > > > Tu useresti una libreria il cui autore stesso si guarda bene dall'usare? > > > > PyZenity un vantaggio (notevole) lo ha: di default non hai modo di > bloccare la GUI. > > Invece se usi direttamente le pygtk, hai due opzioni: > 1) Esegui le tue azioni "a pezzi" > 2) Esegui le tue azioni in un thread separato > > entrambe sono abbastanza complesse da gestire, specialmente per un > programmatore non esperto.
Purtroppo non ho mica capito. Qual'รจ la differenza "strutturale" tra PyZenity.Question("beh?") e m = gtk.MessageDialog(buttons=gtk.BUTTONS_OK_CANCEL, message_format="beh?") m.run() m.hide() ? Un esempietto? Pietro _______________________________________________ Python mailing list Python@lists.python.it http://lists.python.it/mailman/listinfo/python