[pygtk] How to get widget size

2001-03-26 Thread Eduardo Ferro
Hi! I need to get the "actual" widget size of a Window, but when i request the size with size_request() it return me the minimal size that can use this widget :-? Someone knows how can i get this value??? Thanks in advance -- Hasta otra! Eduardo Ferro Aldama [EMAIL PROTECTED]

Re: [pygtk] How to get widget size

2001-03-26 Thread James Henstridge
On Mon, 26 Mar 2001, Eduardo Ferro wrote: Hi! I need to get the "actual" widget size of a Window, but when i request the size with size_request() it return me the minimal size that can use this widget :-? That is the correct behaviour for the size_request() method (it returns the ammount

Re: [pygtk] why doesnt signal_connect return an id

2001-03-26 Thread James Henstridge
On Mon, 26 Mar 2001, Anthony Tekatch wrote: I want to use the id generated from a signal connect in signal_handler_block(id) but signal_connect returns None. testsignal = widgets.signal_connect("on_entry2_changed", calculate.top) print testsignal Because it potentially connects more

Re: [pygtk] why doesnt signal_connect return an id

2001-03-26 Thread Anthony Tekatch
Well I managed to solve the problem by creating a semaphore/flag that can be checked by the signal handler function. I suppose this will do for now. What do you mean by "connect the signals manually" ? Thanks I want to use the id generated from a signal connect in signal_handler_block(id)

Re: [pygtk] why doesnt signal_connect return an id

2001-03-26 Thread James Henstridge
On Mon, 26 Mar 2001, Anthony Tekatch wrote: Well I managed to solve the problem by creating a semaphore/flag that can be checked by the signal handler function. I suppose this will do for now. What do you mean by "connect the signals manually" ? calling the get_widget() method of the