[pygtk] shrink property of gtk.Paned

2008-04-23 Thread Geoff Bache
Hi all, Is there any way to set up gtk.Paned such that automatic shrinking on resize never occurs, but shrinking by manually dragging the separator is still allowed? As far as I can see setting shrink=False prevents both from occurring. Regards, Geoff Bache

Re: [pygtk] liststore (ComboBoxEntry) alignment (justify)

2008-04-23 Thread Andrea Caminiti
- Original Message From: Andrea Caminiti [EMAIL PROTECTED] To: John Finlay [EMAIL PROTECTED] Sent: Wednesday, April 23, 2008 9:16:24 AM Subject: Re: [pygtk] liststore (ComboBoxEntry) alignment (justify) Andrea Caminiti wrote: hi john: i was trying to use the code you just posted

Re: [pygtk] Getting widget visibility

2008-04-23 Thread Mitko Haralanov
On Tue, 22 Apr 2008 21:31:35 -0700 John Finlay [EMAIL PROTECTED] wrote: It does inherit the visible property - what makes you think it doesn't? The exception that my app threw when I tried to use it: Traceback (most recent call last): File /monitor/track.py, line 131, in start_updates if

Re: [pygtk] Getting widget visibility

2008-04-23 Thread Facundo Batista
2008/4/23, Mitko Haralanov [EMAIL PROTECTED]: The exception that my app threw when I tried to use it: Traceback (most recent call last): File /monitor/track.py, line 131, in start_updates if syslog_frame.visible: AttributeError: 'gtk.Frame' object has no attribute 'visible' If you

Re: [pygtk] Getting widget visibility

2008-04-23 Thread John Ehresman
Mitko Haralanov wrote: On Tue, 22 Apr 2008 21:31:35 -0700 John Finlay [EMAIL PROTECTED] wrote: It does inherit the visible property - what makes you think it doesn't? The exception that my app threw when I tried to use it: Traceback (most recent call last): File /monitor/track.py, line

Re: [pygtk] Getting widget visibility

2008-04-23 Thread Mitko Haralanov
On Wed, 23 Apr 2008 14:10:10 -0300 Facundo Batista [EMAIL PROTECTED] wrote: If you could provide an example that makes this to you, for us to try it, we could help you better. Here you go: #!/usr/bin/python import gtk import pygtk def toggle_func (widget, *user_data): frame = user_data[0]

Re: [pygtk] Getting widget visibility

2008-04-23 Thread Mitko Haralanov
On Wed, 23 Apr 2008 13:23:22 -0400 John Ehresman [EMAIL PROTECTED] wrote: Try syslog_frame.props.visible That worked. Thank you. -- Mitko Haralanov == 43. If I knew it wasn't going to work, I would have tested it sooner. --Top 100 things

Re: [pygtk] liststore (ComboBoxEntry) alignment (justify)

2008-04-23 Thread John Finlay
Andrea Caminiti wrote: - Original Message From: Andrea Caminiti [EMAIL PROTECTED] To: John Finlay [EMAIL PROTECTED] Sent: Wednesday, April 23, 2008 9:16:24 AM Subject: Re: [pygtk] liststore (ComboBoxEntry) alignment (justify) Andrea Caminiti wrote: hi john: i was trying to

Re: [pygtk] liststore (ComboBoxEntry) alignment (justify)

2008-04-23 Thread Andrea Caminiti
Thanks a lot, now it's ok, 0 warnings! - Original Message From: John Finlay [EMAIL PROTECTED] To: Andrea Caminiti [EMAIL PROTECTED] Cc: pygtk@daa.com.au Sent: Wednesday, April 23, 2008 1:27:23 PM Subject: Re: [pygtk] liststore (ComboBoxEntry) alignment (justify) Andrea Caminiti wrote:

Re: [pygtk] shrink property of gtk.Paned

2008-04-23 Thread John Finlay
Geoff Bache wrote: Hi all, Is there any way to set up gtk.Paned such that automatic shrinking on resize never occurs, but shrinking by manually dragging the separator is still allowed? As far as I can see setting shrink=False prevents both from occurring. If I understand your situation the