[Linuxtrent] Re: Python Glade ....

  • From: "tiziano @ work" <tiziano@xxxxxxxxxxxxx>
  • To: linuxtrent@xxxxxxxxxxxxx
  • Date: Wed, 15 Sep 2004 08:59:15 +0200

C'è una cosa che assomiglia a quello che hai descritto

http://www.iol.ie/~padraiga/libs/libglade.py

cito:

   """
   Superclass for glade based applications. Just derive from this
   and your subclass should create methods whose names correspond to
   the signal handlers defined in the glade file. Any other attributes
   in your class will be safely ignored.

   This class will give you the ability to do:
       subclass_instance.GtkWindow.method(...)
       subclass_instance.widget_name...
   """



Luca Manini wrote:

Ciao a tutti,

qualcuno conosce qualche trappolo per facilitare la scrittura dei
gestori di eventi?


Ad esempio: estrarre i gestori di eventi "dichiarati" in glade e
generare gli stub Python (magari con le dichiarazioni dei parametri
giuste per pygtk.

        TIA




-- Per iscriversi (o disiscriversi), basta spedire un messaggio con OGGETTO "subscribe" (o "unsubscribe") a mailto:linuxtrent-request@xxxxxxxxxxxxx


Other related posts: