Re: Overriding GObject methods in Python
- From: Murray Cumming <murrayc murrayc com>
- To: Hrvoje Nikšić <hrvoje niksic avl com>
- Cc: pygtk daa com au, gtk-list gnome org
- Subject: Re: Overriding GObject methods in Python
- Date: Fri, 24 Nov 2006 10:33:41 +0100
On Thu, 2006-11-23 at 12:27 +0100, Hrvoje Nikšić wrote:
[snip]
> The problem is that the fields of XyzClass and its descendants are C
> struct members, as inaccessible to Python code as any field of a C
> struct, at least without heavy ctypes hackery.
[snip]
But I guess that pygtk (like other bindings) has a standard way of
wrapping these, because they are needed in order to implement custom
GtkTreeModels or GtkCellRenderers, among other things.
--
Murray Cumming
murrayc murrayc com
www.murrayc.com
www.openismus.com
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]