Re: [pygtk] expander packing issue

2006-03-09 Thread Alex Roitman
On Sun, 2006-03-05 at 17:32 -0500, Tony Nelson wrote: > At 10:12 AM -0800 3/4/06, Alex Roitman wrote: > >On Fri, 2006-03-03 at 21:23 -0800, John Finlay wrote: > >> What's your thinking on how this would work? > > > >My thinking is that the following should be either normal behavior > >or should be

Re: [pygtk] expander packing issue

2006-03-06 Thread Tony Nelson
At 10:12 AM -0800 3/4/06, Alex Roitman wrote: >Content-Type: multipart/signed; micalg=pgp-sha1; > protocol="application/pgp-signature"; > boundary="=-JirsYoptq0AXCyZXoyrU" > >On Fri, 2006-03-03 at 21:23 -0800, John Finlay wrote: >> >>> == >> >>> import gtk >> >>> >> >>> d =

Re: [pygtk] expander packing issue

2006-03-04 Thread Alex Roitman
On Fri, 2006-03-03 at 21:23 -0800, John Finlay wrote: > >>> == > >>> import gtk > >>> > >>> d = gtk.Dialog('Dialog') > >>> d.connect('delete-event',lambda obj,event: gtk.main_quit()) > >>> > >>> e = gtk.Expander('Expander') > >>> e.add(gtk.Label('Label\nAnother line that is very very ve

Re: [pygtk] expander packing issue

2006-03-03 Thread John Finlay
Alex Roitman wrote: On Wed, 2006-03-01 at 20:09 -0800, John Finlay wrote: Alex Roitman wrote: Hello, I have asked this question before: http://www.daa.com.au/pipermail/pygtk/2005-December/011572.html and was pointed by John Finlay to the proper solution: http://www.daa.com.au/pip

Re: [pygtk] expander packing issue

2006-03-01 Thread Alex Roitman
On Wed, 2006-03-01 at 20:09 -0800, John Finlay wrote: > Alex Roitman wrote: > > Hello, > > > > I have asked this question before: > >http://www.daa.com.au/pipermail/pygtk/2005-December/011572.html > > and was pointed by John Finlay to the proper solution: > >http://www.daa.com.au/pipermail/

Re: [pygtk] expander packing issue

2006-01-03 Thread Alex Roitman
On Tue, 2005-12-27 at 09:22 -0800, B C wrote: > > Adding d.set_resizable(False) will cause the window to > shrink when the expander is collapsed. Thanks! That's exactly what we've been looking for! Alex -- Alexander Roitman http://www.gramps-project.org signature.asc Description: This is a

Re: [pygtk] expander packing issue

2005-12-27 Thread B C
--- Don Allingham <[EMAIL PROTECTED]> wrote: > Hello, and happy holidays to everybody. > > I am observing strange packing behavior of the Expander > widget. Consider the following piece of code: > === > import gtk > > d = gtk.Dialog('Dialog') > d.connect('delete-event',lambda o

Re: [pygtk] expander packing issue

2005-12-24 Thread John Finlay
Alex Roitman wrote: Tony, On Sat, 2005-12-24 at 15:27 -0500, Tony Nelson wrote: I would think this is because you did this before the widgets received their allocations, which happens at event processing time (I think you can see this by connecting to the "size_allocate" gtk.Widget signal).

Re: [pygtk] expander packing issue

2005-12-24 Thread Alex Roitman
Tony, On Sat, 2005-12-24 at 15:27 -0500, Tony Nelson wrote: > I would think this is because you did this before the widgets received > their allocations, which happens at event processing time (I think you can > see this by connecting to the "size_allocate" gtk.Widget signal). You > might want to

Re: [pygtk] expander packing issue

2005-12-24 Thread Tony Nelson
At 12:31 PM -0700 12/24/05, Don Allingham wrote: >Hello, and happy holidays to everybody. > >I am observing strange packing behavior of the Expander >widget. Consider the following piece of code: >=== >import gtk > >d = gtk.Dialog('Dialog') >d.connect('delete-event',lambda obj,event: gtk.m