Re: [pygtk] Anti-aliasing ?

2000-03-13 Thread Matt Wilson
On Mon, Mar 13, 2000 at 09:10:06AM +0100, Hrvoje Niksic wrote: % python a.py GnomeUI-Message: The antialiased canvas is buggy. Please do not use it unless you know what you are doing. I know what I'm doing. ;) It's not bad in simple cases. You have to get very complex before you see major

[pygtk] ANNOUNCE: pygtk-0.6.5 and gnome-python-1.0.52

2000-03-13 Thread James Henstridge
I have just put out pygtk-0.6.5 and gnome-python-1.0.52. Here is a list of some of the changes: pygtk: - more reference leaks fixed. - crashes when changing window properties with 16 or 32 bit data formats fixed. - some libglade wrapper fixes. - various other fixes.

[pygtk] Re: pygtk checkins

2000-03-13 Thread Frederic Gobry
That would be a good idea. Done. On another topic, I think having a version number available as a (eventually set of) python variable would be a nice thing: I would enjoy being able to test it during the configuration of my own packages, so that I can issue explicit error messages (like the

Re: [pygtk] Anti-aliasing ?

2000-03-13 Thread Hrvoje Niksic
James Henstridge [EMAIL PROTECTED] writes: What version of gnome-python do you have installed on your system? 1.0.50-3 (Debian). To unsubscribe: echo "unsubscribe" | mail [EMAIL PROTECTED]

Re: [pygtk] Anti-aliasing ?

2000-03-13 Thread François Pinard
Matt Wilson [EMAIL PROTECTED] écrit: The code below shows the case of a line needing anti-aliasing. Would someone knowledgeable tell me if/how I can, within `pygtk', produce an anti-aliased line, or else (:-), how I could handle an alpha channel for later display? The easiest way to do

Re: [pygtk] Anti-aliasing ?

2000-03-13 Thread Bernhard Herzog
François Pinard [EMAIL PROTECTED] writes: Matt Wilson [EMAIL PROTECTED] écrit: The easiest way to do this by far is to use the canvas. [...] The canvas does all this for you. Thanks for the example, Matt, but this is not pure `pygtk' (or GDK) anymore, if it needs `gnome.ui' and

Re: [pygtk] Anti-aliasing ?

2000-03-13 Thread François Pinard
Bernhard Herzog [EMAIL PROTECTED] écrit: François Pinard [EMAIL PROTECTED] writes: Matt Wilson [EMAIL PROTECTED] écrit: The easiest way to do this by far is to use the canvas. [...] The canvas does all this for you. Thanks for the example, Matt, but this is not pure `pygtk' (or GDK)

Re: [pygtk] GnomeAbout, gnome.app_id and gnome.app_version

2000-03-13 Thread James Henstridge
That is the only way to explicitely set the program name and version. In a future version, it will probably require doing something like: import gnome.ui, gnome.whatever # import all gnome components used ... gnome.init('program-name', 'version') It is necessary to import gnome.ui before