Paul Clifford wrote:
> 
> I've just added raise and lower methods to GdkWindow objects on my local
> copy of pygtk, and I noticed that you can't have (or more importantly,
> you can't call) a method called 'raise' with C Python.  I ended up
> naming
> it '_raise', which seems a bit hacky but works and fits in with
> _[23]BUTTON_PRESS in GDK.py

It seems 'raise' is a reserved word in Python.  And it just so happens that the
Gnome canvas uses a method called 'raise' for changing the arrangement of canvas
items.  James's workaround was to call the method '_raise'.  So, you're in good
company.


Cheers.
Jeff
To unsubscribe: echo "unsubscribe" | mail [EMAIL PROTECTED]

Reply via email to