[wxPython-users] wxGCDC on GTK2
Robin Dunn
robin at alldunn.com
Wed Mar 7 22:50:43 PST 2007
Bryan Cole wrote:
> Hi,
>
> Can anyone tell me the status of wxGraphicsContext / wxGCDC with
> wxPython-GTK2 ?
>
> I'm using the wxPython2.8-gtk2-ansi-2.8.0.1-fc4_py2.4
> rpms binaries from the SourceForge site and also the 2.8.0.1-version of
> the wxPython demos. The wxGraphicsContext demos don't work as described.
> (and testing it interactively gives a "NotImplementedError").
>
> Do I need to rebuild the binaries with wxGraphicsContext enabled, or is
> this class only available for wxMSW? Or is something else amiss...
The wxGraphicsContext needs the Cairo library and a new enough version
of GTK+ to be able to be compiled, so it is likely that my fc4 build
machine either doesn't have a new enough Cairo, or the headers are not
installed. So when the build was done configure detected that it
couldn't build that code and disabled it. I'll check my machine for the
next build, but you can probably get something usable if you build the
source RPM yourself. Just watch the output of the configure step as it
builds to see if it is finding and enabling use of the Cairo lib.
--
Robin Dunn
Software Craftsman
http://wxPython.org Java give you jitters? Relax with wxPython!
More information about the wxpython-users
mailing list