Re: [pygtk] new snapshot of pygtk

1999-04-21 Thread James Henstridge
Maybe ... it would probably have to wait for gtk+ 1.3 series. It would require adding a sort_user_data member to the GtkCList structure. This might not sound bad at first, but it would change all the addresses of GtkCTree public members, which would break binary compatibility (and that is before

Re: [pygtk] how to get widget size?

1999-04-21 Thread James Henstridge
You would need to access the allocation member of the GtkWidget class, which is currently not wrapped. Expect to see it in pygtk-0.6.0 James. -- Email: [EMAIL PROTECTED] WWW: http://www.daa.com.au/~james/ On Wed, 21 Apr 1999, Rick Ree wrote: > This may be a dumb question, but how can you f

Re: [pygtk] new snapshot of pygtk

1999-04-21 Thread David M. Cook
On Thu, Apr 22, 1999 at 10:37:53AM +0800, James Henstridge wrote: > This is a bit difficult, as there doesn't seem to be anywhere to pass in a > user_data argument, that is used in pygtk to keep a reference to the > python function. I thought it might be something fundamental like that as the de

[pygtk] how to get widget size?

1999-04-21 Thread Rick Ree
This may be a dumb question, but how can you find out the dimensions of a widget? I am drawing on a canvas, and would like to lay out some objects according to how much real estate I have to work with: i.e., if the user has maximized the window the objects will be more spread out. I've perused g

[pygtk] new snapshot of gnome-python (new features!)

1999-04-21 Thread James Henstridge
Hello everyone, I am getting close to releasing a new version of gnome-python and pygtk, as you probably know. In preparation, I have put together a snapshot of the new gnome-python. It contains the threading code for pygtk (in fact the only difference between the pygtk in this snapshot and the

Re: [pygtk] new snapshot of pygtk

1999-04-21 Thread David M. Cook
On Tue, Apr 20, 1999 at 01:37:03PM +0800, James Henstridge wrote: > I have put up another snapshot of pygtk (hopefully the last before 0.5.13 > or 0.6.0 depending on what name seems more appropriate). This version > requires gtk+ 1.2.1 or later. Is it possible to add GtkCList.set_compare_func()

Re: [pygtk] new snapshot of pygtk

1999-04-21 Thread James Henstridge
This is a bit difficult, as there doesn't seem to be anywhere to pass in a user_data argument, that is used in pygtk to keep a reference to the python function. James Henstridge. -- Email: [EMAIL PROTECTED] WWW: http://www.daa.com.au/~james/ On Wed, 21 Apr 1999, David M. Cook wrote: > On Tu