Re: [pygtk] Cannot shrink width of scrolled textview

2011-03-02 Thread Jason Heeris
On 3 March 2011 14:46, burebista wrote: > Set "sw.set_policy(gtk.POLICY_AUTOMATIC, gtk.POLICY_AUTOMATIC)" the > automatic policy for both scrollbars. > > But I don't want a horizontal scrollbar... — Jason ___ pygtk mailing list pygtk@daa.com.au http:

Re: [pygtk] Cannot shrink width of scrolled textview

2011-03-02 Thread burebista
Set "sw.set_policy(gtk.POLICY_AUTOMATIC, gtk.POLICY_AUTOMATIC)" the automatic policy for both scrollbars. --- On Thu, 3/3/11, Jason Heeris wrote: From: Jason Heeris Subject: [pygtk] Cannot shrink width of scrolled textview To: "pygtk" Date: Thursday, March 3, 2011, 4:44 AM In the attached co

[pygtk] Cannot shrink width of scrolled textview

2011-03-02 Thread Jason Heeris
In the attached code, a word-wrapping TextView is placed inside a ScrolledWindow which has a vertical scrollbar policy of "automatic". The problem is that if the width of the window is increased to a point where the scrollbar disappears, it cannot be shrunk again. The problem goes away if the vert

Re: [pygtk] Runtime Error when using system menu on Windows

2011-03-02 Thread Dieter Verfaillie
Quoting "Elizabeth Palit" : "Gdk:ERROR:gdkevents-win32.c:1649:_gdk_win32_being_modal_call: assertion failed: (!_modal_operation_in_progress)" On what Windows version do you experience the crashes? Could it be Windows 7 (or maybe Vista)? I'm aware of getting (huge amounts) of warnings on Window

[pygtk] Runtime Error when using system menu on Windows

2011-03-02 Thread Elizabeth Palit
Hi, I am encountering an error when running pygtk applications in Windows with gtk runtime version 2.22.1, python 2.6.6, using the pygtk-all-in-one-2.22.6.win32-py2.6.msi installer from http://ftp.gnome.org/pub/GNOME/binaries/win32/pygtk/2.22/ . The issue is that right-clicking on the top ba