Re: Overriding GObject methods in Python



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]