|
Re: pygtk to use new-style classes?: msg#00089gnome.gtk+.python
Joey Tsai wrote: From the PyGTK reference, it appears that all pygtk classes derive from pygtk uses new style classes so super() and property() may be used. Are you asking if gobject properties can be mapped to Python properties? They can, but doing so would be an api change and would break existing code. There was some discussion of setting things up so that self.props.<gobject-name> could be used to get / set gobject properties, but nothing has been implemented AFAIK. John _______________________________________________ pygtk mailing list pygtk@xxxxxxxxxx http://www.daa.com.au/mailman/listinfo/pygtk Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/ |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | pygtk to use new-style classes?: 00089, Joey Tsai |
|---|---|
| Next by Date: | Threads and applets (gnome.applet): 00089, Brad Tonkes |
| Previous by Thread: | pygtk to use new-style classes?i: 00089, Joey Tsai |
| Next by Thread: | Threads and applets (gnome.applet): 00089, Brad Tonkes |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |