Re: [pygtk] Table resize

2008-05-22 Thread John Finlay
[EMAIL PROTECTED] wrote: Hi! I have a table with 4 cells. A scrolledwindow attached to the top-left and custom scrollbars top-right and bottom-left. On resizing, the left (vertical) scrollbar should retain its width. The bottom (horizontal) scrollbar should retain its height. I tried various

Re: [pygtk] Table resize

2008-05-22 Thread Thorsten Wilms
On Thu, 2008-05-22 at 01:42 -0700, John Finlay wrote: > [EMAIL PROTECTED] wrote: > > Hi! > > > > I have a table with 4 cells. A scrolledwindow attached to the top-left and > > custom > > scrollbars top-right and bottom-left. On resizing, the left (vertical) > > scrollbar should > > retain its wid

[pygtk] getting actual size of widget

2008-05-22 Thread Mitko Haralanov
I am trying to find a way to get the actual size (in pixels) of a widget. What I have is a main application window which contains a notebook. Each of the notebook pages contains a table. When the main window is resized, the notebook (and the tables on the pages) get resized. I would like to be abl

Re: [pygtk] Blocking main loop during execution of external program

2008-05-22 Thread Neil Dugan
Vláďa wrote: Hi, I'd like to ask you for help with solving my problem. First I'll try to describe what I'm doing: I have a PyGTK application which needs to run an external command. I use subprocess.Popen to do it. Then I run a gtk.Dialog (saying "Please wait") and wait until the process is