[pygtk] [PATCH] two patches for example code

2002-03-24 Thread Art Haas
Hi. Here' are two small patches for the code in the pygtk-demo/demo code so the code will execute without warnings about using deprecated functions. These patches are for the pygtk2 tree. Thanks. There will be a few more small patches like these coming, as I'm trying to fix the sample code to

[pygtk] Multiple selection in listbox in pygtk2

2002-04-11 Thread Art Haas
out the lines handling this case, and in its place used the selected_foreach() call, which I'm trying to learn how to use. Running the code below you'll see the printout of the selected lines. I'm probably overlooking something obvious, and would appreciate a pointer or two. Thanks in advance. Art

[pygtk] [PATCH] spin button fix for pygtk2

2002-04-25 Thread Art Haas
to everyone working on PyGTK. Art Haas Index: gtk/gtk.defs === RCS file: /cvs/gnome/gnome-python/pygtk/gtk/gtk.defs,v retrieving revision 1.99 diff -u -r1.99 gtk.defs --- gtk/gtk.defs2002/04/18 16:33:59 1.99 +++ gtk/gtk.defs

[pygtk] Configure error in latest pygtk-2.0 CVS builds

2002-08-29 Thread Art Haas
is not present. I have an older build directory that doesn't have a docs subdirectory, so that suggests that a Makefile.am file isn't committed to the CVS repository yet. Is that the case? Art Haas -- They that can give up essential liberty to obtain a little temporary safety deserve neither liberty

[pygtk] [PATCH] patch for pango.override

2002-09-24 Thread Art Haas
(PANGO_LAYOUT(self-obj), -ink_rect, logical_rect); +pango_layout_get_pixel_extents(PANGO_LAYOUT(self-obj), + ink_rect, logical_rect); return Py_BuildValue((()()), ink_rect.x, ink_rect.y, Art Haas

[pygtk] [PATCH] fixes for Pango Attributes

2002-09-24 Thread Art Haas
. The removal of the ! fixed it, and now things like underlines and styles work. I've also included again the patch for the pango_layout_get_pixel_extents() paste-o that I found yesterday. I'll also submit this into Bugzilla. The patch is against the current CVS version. Art Haas Index: pango.override

Re: [pygtk] Want to start with pygtk, but automake gets in the way

2002-09-26 Thread Art Haas
you're dealing with, and things have worked smoothly with it there. Good luck with pygtk-2.0. Art Haas -- They that can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety. -- Benjamin Franklin, Historical Review of Pennsylvania, 1759

Re: [pygtk] Want to start with pygtk, but automake gets in the way

2002-09-28 Thread Art Haas
On Fri, Sep 27, 2002 at 11:17:59PM +0200, Grzegorz Adam Hankiewicz wrote: On Thu, Sep 26, 2002 at 06:21:19PM -0500, Art Haas wrote: If you have a relatively new automake/aclocal, the easiest way to tell aclocal to look in the /usr/share/aclocal directory is to create a file called dirlist

[pygtk] [ANNOUNCE] First release of PyGTK based PythonCAD

2002-12-21 Thread Art Haas
and join me in developing PythonCAD into a first class drafting program! My thanks go to James Henstridge and all the PyGTK developers for all their work in creating and maintaining PyGTK. Art Haas -- They that can give up essential liberty to obtain a little temporary safety deserve neither

[pygtk] [ANNOUNCE] Second PythonCAD release now available.

2003-01-12 Thread Art Haas
in developing PythonCAD into a world class drafting program! Art Haas -- They that can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety. -- Benjamin Franklin, Historical Review of Pennsylvania, 1759 ___ pygtk

[pygtk] [ANNOUNCE] Third release of PythonCAD now available

2003-01-31 Thread Art Haas
easier to understand in places. Visit the PythonCAD web site for more information about what PythonCAD does and aims to be. http://www.pythoncad.org Come and join me in developing PythonCAD into a world class drafting program! Art Haas -- They that can give up essential liberty to obtain a little

[pygtk] Fourth release of PythonCAD now available

2003-02-25 Thread Art Haas
drafting program! Art Haas -- They that can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety. -- Benjamin Franklin, Historical Review of Pennsylvania, 1759 ___ pygtk mailing list [EMAIL PROTECTED] http

[pygtk] [ANNOUNCE] Fifth release of PythonCAD now available.

2003-03-28 Thread Art Haas
://www.pythoncad.org Come and join me in developing PythonCAD into a world class drafting program! Art Haas -- They that can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety. -- Benjamin Franklin, Historical Review of Pennsylvania, 1759

[pygtk] [PATCH] GdkPixmap problems in current CVS

2003-06-03 Thread Art Haas
2003 21:54:44 - @@ -1696,7 +1696,7 @@ '(GdkWindow* window (null-ok)) '(gint width) '(gint height) -'(gint depth (default -1)) +'(gint depth (default -1)) ) ) Art Haas -- To announce that there must be no criticism of the President, or that we are to stand

[pygtk] [ANNOUNCE] Seventh development release of PythonCADavailable

2003-06-04 Thread Art Haas
into a world class drafting program! Art Haas -- Man once surrendering his reason, has no remaining guard against absurdities the most monstrous, and like a ship without rudder, is the sport of every wind. -Thomas Jefferson to James Smith, 1822 ___ pygtk

[pygtk] Numerical entry box

2003-06-09 Thread Art Haas
() validation technique is ... and fill in the ... parts. If there are more tricks with the gtk.SpinBox() that I'm missing, I'd welcome some info on that too. Thanks in advance. Art Haas -- Man once surrendering his reason, has no remaining guard against absurdities the most monstrous, and like a ship

[pygtk] Validating an entry box

2003-06-10 Thread Art Haas
is commented out, then the cursor advances without problem, but also the validation routine is effectively ignored. I guess that a default insert-text handler is called, and this handler does the magic to move the cursor. Thanks in advance for any cursor-moving advice you can send. Art Haas

Re: [pygtk] Validating an entry box

2003-06-10 Thread Art Haas
On Tue, Jun 10, 2003 at 02:34:17PM -0700, Shannon -jj Behrens wrote: I had to do something similar. I recommend the following (pseudocode): def on_init: old_text = whatever def on_changed: if not is_valid(new_text): new_text = old_text else:

Re: [pygtk] Validating an entry box

2003-06-11 Thread Art Haas
the '-' and '+' characters. If they are the only characters in the entry when a 'focus-out' signal is handled then the entry box is cleared. I'm still not sure of a good way to test for these characters yet, but at least now negative numbers can be added in the entry box. Art Haas

Re: [pygtk] Validating an entry box

2003-06-11 Thread Art Haas
I quick reply to myself and the list - the 'move-cursor' signal is commented out in the code I posted, but I _had_ tested my code with the line uncommented out, and it didn't work. I should have once again uncommented it before posting to the list. Art -- Man once surrendering his reason, has

[pygtk] Finding the color set by modify_bg()

2003-06-19 Thread Art Haas
can one find the color set by modify_bg()? Thanks in advance. Art Haas -- Man once surrendering his reason, has no remaining guard against absurdities the most monstrous, and like a ship without rudder, is the sport of every wind. -Thomas Jefferson to James Smith, 1822

Re: [pygtk] Finding the color set by modify_bg()

2003-06-19 Thread Art Haas
On Thu, Jun 19, 2003 at 05:50:45PM -0700, John Finlay wrote: Hi Art, I don't think you should get the same gtk.gdk.Color object returned from: da.get_style().bg[gtk.STATE_NORMAL] even twice in a row. A new gtk.gdk.Color object is created each time. I assume that the rgb values are

Re: [pygtk] Finding the color set by modify_bg()

2003-06-19 Thread Art Haas
On Thu, Jun 19, 2003 at 08:02:16PM -0500, Art Haas wrote: On Thu, Jun 19, 2003 at 05:50:45PM -0700, John Finlay wrote: Hi Art, I don't think you should get the same gtk.gdk.Color object returned from: da.get_style().bg[gtk.STATE_NORMAL] even twice in a row. A new gtk.gdk.Color

Re: [pygtk] Finding the color set by modify_bg()

2003-06-19 Thread Art Haas
On Thu, Jun 19, 2003 at 06:35:59PM -0700, John Finlay wrote: Hi Art, I believe that it's the case if you put da in a Window and show() it. That must be it. Art -- Man once surrendering his reason, has no remaining guard against absurdities the most monstrous, and like a ship without

[pygtk] [ANNOUNCEMENT] Eighth release of PythonCAD now available

2003-06-25 Thread Art Haas
to the people who make it available. http://pychecker.sourceforge.net/ Visit the PythonCAD web site for more information about what PythonCAD does and aims to be: http://www.pythoncad.org/ Come and join me in developing PythonCAD into a world class drafting program! Art Haas -- Man once

[pygtk] [ANNOUNCE] Ninth release of PythonCAD now available

2003-07-29 Thread Art Haas
to be: http://www.pythoncad.org/ Come and join me in developing PythonCAD into a world class drafting program! Art Haas -- Man once surrendering his reason, has no remaining guard against absurdities the most monstrous, and like a ship without rudder, is the sport of every wind. -Thomas

[pygtk] [PATCH] Trivial patch for pygtk/configure.in

2003-09-02 Thread Art Haas
of pygtk? Art Haas Index: pygtk/configure.in === RCS file: /cvs/gnome/gnome-python/pygtk/configure.in,v retrieving revision 1.81 diff -u -u -r1.81 configure.in --- pygtk/configure.in 1 Sep 2003 12:47:39 - 1.81 +++ pygtk

Re: [pygtk] [PATCH] Trivial patch for pygtk/configure.in

2003-09-02 Thread Art Haas
Hi. Looking at my patch again I don't know why I didn't do it like this earlier ... Index: configure.in === RCS file: /cvs/gnome/gnome-python/pygtk/configure.in,v retrieving revision 1.81 diff -u -u -r1.81 configure.in ---

[pygtk] [ANNOUNCE] Tenth release of PythonCAD now available

2003-10-14 Thread Art Haas
in developing PythonCAD into a world class drafting program! Art Haas -- Man once surrendering his reason, has no remaining guard against absurdities the most monstrous, and like a ship without rudder, is the sport of every wind. -Thomas Jefferson to James Smith, 1822

Re: [pygtk] Embedding Python into PyGTK?

2003-12-03 Thread Art Haas
On Wed, Dec 03, 2003 at 01:23:04PM -0200, Christian Robottom Reis wrote: On Wed, Dec 03, 2003 at 08:55:10AM +, Alessandro Bottoni wrote: Most likely you know AutoCAD. Well, I have to write a program like AutoCAD that should have: - a graphical area (created with PyGTK) - a

[pygtk] ANNOUNCE: Twelfth release of PythonCAD now available

2004-02-24 Thread Art Haas
into a world class drafting program, and Happy New Year to everyone! Art Haas -- Man once surrendering his reason, has no remaining guard against absurdities the most monstrous, and like a ship without rudder, is the sport of every wind. -Thomas Jefferson to James Smith, 1822

[pygtk] ANNOUCE: Thirteenth release of PythonCAD now available

2004-04-28 Thread Art Haas
the PythonCAD web site for more information about what PythonCAD does and aims to be: http://www.pythoncad.org/ Come and join me in developing PythonCAD into a world class drafting program, and Happy New Year to everyone! Art Haas -- Man once surrendering his reason, has no remaining guard against

Re: [pygtk] Text handling within PyGTK questions

2004-08-26 Thread Art Haas
On Wed, Aug 25, 2004 at 10:34:12PM -0700, Andrew P. Lentvorski, Jr. wrote: On Aug 25, 2004, at 3:09 PM, Art Haas wrote: The pango module does currently provied get_line_count(), get_size(), and get_pixel_size() methods for pango.Layout instances, and these methods are indespensible

Re: [pygtk] Text handling within PyGTK questions

2004-08-26 Thread Art Haas
On Thu, Aug 26, 2004 at 12:09:58PM +0100, Gustavo J. A. M. Carneiro wrote: A Qua, 2004-08-25 ?s 23:09, Art Haas escreveu: Hi. My PythonCAD work has lately been in dealing with text, and I'm turning to the list in an effort to get some suggestions and help. The root of my

[pygtk] [ANNOUNCE] Seventeenth release of PythonCAD now available

2004-10-04 Thread Art Haas
://www.pythoncad.org/ Come and join me in developing PythonCAD into a world class drafting program! Art Haas -- Man once surrendering his reason, has no remaining guard against absurdities the most monstrous, and like a ship without rudder, is the sport of every wind. -Thomas Jefferson to James

Re: [pygtk] [ANNOUNCE] Seventeenth release of PythonCAD now available

2004-10-06 Thread Art Haas
On Tue, Oct 05, 2004 at 03:17:36AM +0200, Jakub Piotr C??apa wrote: Maybe you could update the screenshots gallery to reflect new features? So much of the new stuff is the low level, behind-the-scenes code that new screenshots wouldn't be useful. Having said that, some new screenshots on the

[pygtk] [ANNOUNCE] Eighteenth release of PythonCAD now available

2004-11-12 Thread Art Haas
the PythonCAD web site for more information about what PythonCAD does and aims to be: http://www.pythoncad.org/ Come and join me in developing PythonCAD into a world class drafting program! Art Haas -- Man once surrendering his reason, has no remaining guard against absurdities the most

[pygtk] [ANNOUNCE] Twentieth release of PythonCAD now available

2004-12-21 Thread Art Haas
site for more information about what PythonCAD does and aims to be: http://www.pythoncad.org/ Come and join me in developing PythonCAD into a world class drafting program! Art Haas -- Man once surrendering his reason, has no remaining guard against absurdities the most monstrous, and like

[pygtk] [ANNOUNCE] Twenty-first release of PythonCAD now available

2005-01-12 Thread Art Haas
://mail.python.org/mailman/listinfo/pythoncad Visit the PythonCAD web site for more information about what PythonCAD does and aims to be: http://www.pythoncad.org/ Come and join me in developing PythonCAD into a world class drafting program! Art Haas -- Man once surrendering his reason, has

[pygtk] [ANNOUNCE] Twenty-second release of PythonCAD now available

2005-01-26 Thread Art Haas
to be: http://www.pythoncad.org/ Come and join me in developing PythonCAD into a world class drafting program! Art Haas -- Man once surrendering his reason, has no remaining guard against absurdities the most monstrous, and like a ship without rudder, is the sport of every wind. -Thomas

[pygtk] An overdue Thank Your note

2005-01-27 Thread Art Haas
your efforts, so thanks for all your work. Art Haas -- Man once surrendering his reason, has no remaining guard against absurdities the most monstrous, and like a ship without rudder, is the sport of every wind. -Thomas Jefferson to James Smith, 1822

[pygtk] [ANNOUNCE] Twenty-third release of PythonCAD now available

2005-03-18 Thread Art Haas
subscribing and viewing the mailing list archive: http://mail.python.org/mailman/listinfo/pythoncad Visit the PythonCAD web site for more information about what PythonCAD does and aims to be: http://www.pythoncad.org/ Come and join me in developing PythonCAD into a world class drafting program! Art

[pygtk] Problem using gobject.TYPE_BOOLEAN in a GObject wrapper

2005-04-19 Thread Art Haas
out my error. Also, is my comment about the gobjectmodule code correct? Thanks in advance, and my thanks to everyone working on PyGTK. Art Haas $ cat boolact.py import pygtk pygtk.require('2.0') import gobject class boolAction(gobject.GObject): __gproperties__ = { 'flag

Re: [pygtk] Problem using gobject.TYPE_BOOLEAN in a GObject wrapper

2005-04-20 Thread Art Haas
, otherwise it'll be forgotten? Once in bugzilla it's automatically going to be on our TODO list and will be fixed/looked at some point. Done. http://bugzilla.gnome.org/show_bug.cgi?id=301346 Art Haas -- Man once surrendering his reason, has no remaining guard against absurdities the most

[pygtk] [ANNOUNCE] Twenty-fourth release of PythonCAD now available

2005-04-28 Thread Art Haas
/listinfo/pythoncad Visit the PythonCAD web site for more information about what PythonCAD does and aims to be: http://www.pythoncad.org/ Come and join me in developing PythonCAD into a world class drafting program! Art Haas -- Man once surrendering his reason, has no remaining guard against

[pygtk] [ANNOUNCE] Twenty-fifth release of PythonCAD now available

2005-05-26 Thread Art Haas
://www.pythoncad.org/ Come and join me in developing PythonCAD into a world class drafting program! Art Haas -- Man once surrendering his reason, has no remaining guard against absurdities the most monstrous, and like a ship without rudder, is the sport of every wind. -Thomas Jefferson to James

[pygtk] [ANNOUNCE] Twenty-sixth release of PythonCAD now available

2005-10-21 Thread Art Haas
! Art Haas -- Man once surrendering his reason, has no remaining guard against absurdities the most monstrous, and like a ship without rudder, is the sport of every wind. -Thomas Jefferson to James Smith, 1822 ___ pygtk mailing list pygtk@daa.com.au

[pygtk] [ANNOUNCE] Twenty-seventh release of PythonCAD now available

2005-12-07 Thread Art Haas
://www.pythoncad.org/ Come and join me in developing PythonCAD into a world class drafting program! Art Haas -- Man once surrendering his reason, has no remaining guard against absurdities the most monstrous, and like a ship without rudder, is the sport of every wind. -Thomas Jefferson to James Smith, 1822

[pygtk] [ANNOUNCE] Twenty-eighth release of PythonCAD now available

2006-02-02 Thread Art Haas
list archive: http://mail.python.org/mailman/listinfo/pythoncad Visit the PythonCAD web site for more information about what PythonCAD does and aims to be: http://www.pythoncad.org/ Come and join me in developing PythonCAD into a world class drafting program! Art Haas -- Man once surrendering

[pygtk] [ANNOUNCE] Twenty-ninth release of PythonCAD now available

2006-03-03 Thread Art Haas
/ Come and join me in developing PythonCAD into a world class drafting program! Art Haas -- Man once surrendering his reason, has no remaining guard against absurdities the most monstrous, and like a ship without rudder, is the sport of every wind. -Thomas Jefferson to James Smith, 1822

[pygtk] [ANNOUNCE] Thirtieth release of PythonCAD now available

2006-03-21 Thread Art Haas
site for more information about what PythonCAD does and aims to be: http://www.pythoncad.org/ Come and join me in developing PythonCAD into a world class drafting program! Art Haas -- Man once surrendering his reason, has no remaining guard against absurdities the most monstrous, and like a ship

[pygtk] [ANNOUNCE] Thirty-first release of PythonCAD now available

2006-05-19 Thread Art Haas
://mail.python.org/mailman/listinfo/pythoncad Visit the PythonCAD web site for more information about what PythonCAD does and aims to be: http://www.pythoncad.org/ Come and join me in developing PythonCAD into a world class drafting program! Art Haas -- Man once surrendering his reason, has no remaining guard

[pygtk] [ANNOUNCE] Thirty-second release of PythonCAD now available

2006-05-25 Thread Art Haas
does and aims to be: http://www.pythoncad.org/ Come and join me in developing PythonCAD into a world class drafting program! Art Haas -- Man once surrendering his reason, has no remaining guard against absurdities the most monstrous, and like a ship without rudder, is the sport of every wind

[pygtk] [ANNOUNCE] Thirty-third release of PythonCAD now available

2006-07-07 Thread Art Haas
/ Come and join me in developing PythonCAD into a world class drafting program! Art Haas -- Man once surrendering his reason, has no remaining guard against absurdities the most monstrous, and like a ship without rudder, is the sport of every wind. -Thomas Jefferson to James Smith, 1822

[pygtk] [ANNOUNCE] Thirty-fourth release of PythonCAD now available

2006-08-03 Thread Art Haas
the mailing list archive: http://mail.python.org/mailman/listinfo/pythoncad Visit the PythonCAD web site for more information about what PythonCAD does and aims to be: http://www.pythoncad.org/ Come and join me in developing PythonCAD into a world class drafting program! Art Haas -- Man once

[pygtk] [ANNOUNCE] Thirty-fifth release of PythonCAD now available

2006-12-20 Thread Art Haas
web site for more information about what PythonCAD does and aims to be: http://www.pythoncad.org/ Come and join me in developing PythonCAD into a world class drafting program! Art Haas -- Man once surrendering his reason, has no remaining guard against absurdities the most monstrous, and like

[pygtk] Re: [PythonCAD] [ANNOUNCE] Thirty-fifth release of PythonCAD now available

2006-12-20 Thread Art Haas
the site has always had. Art Haas -- Man once surrendering his reason, has no remaining guard against absurdities the most monstrous, and like a ship without rudder, is the sport of every wind. -Thomas Jefferson to James Smith, 1822 ___ pygtk mailing list

[pygtk] [ANNOUNCE] Thirty-sixth release of PythonCAD now available

2007-05-13 Thread Art Haas
/mailman/listinfo/pythoncad Visit the PythonCAD web site for more information about what PythonCAD does and aims to be: http://www.pythoncad.org/ Come and join me in developing PythonCAD into a world class drafting program! Art Haas -- Man once surrendering his reason, has no remaining guard