Re: [pygtk] no signals when paned handles dragged...

2004-07-27 Thread Skip Montanaro

>> I discovered that some widgets only emit signals when values are
>> changed via keyboard action, not mouse action.  

Christian> It *really* looks like a bug to me, but I'm surprised the
Christian> SpinButton would have the same issue. Are you sure this is
Christian> reproducible using a simple testcase? 

I'm just going by the docs...  Quoting from

http://www.moeraki.com/pygtkreference/pygtk2reference/class-gtkpaned.html

we find:

The "move-handle" signal is emitted when paned has the focus and one of
the following key combinations is pressed to move the separator:

Left Arrow
Right Arrow
Up Arrow
Down Arrow
Page Up
Page Down
Home
End

Quoting from

http://www.moeraki.com/pygtkreference/pygtk2reference/class-gtkspinbutton.html

we find:

The "change-value" signal is emitted when the spinbutton value is
changed by keyboard action using the Up Arrow, Down Arrow, Page Up, Page
Down, Control+Page Up or Control+Page Down keys.

The SpinButton isn't such a problem because (I think) the value-changed
signal is emitted even if the change-value signal is emitted.

Skip
___
pygtk mailing list   [EMAIL PROTECTED]
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/


Re: [pygtk] no signals when paned handles dragged...

2004-07-27 Thread Christian Robottom Reis
On Mon, Jul 26, 2004 at 02:40:54PM -0500, Skip Montanaro wrote:
> I discovered that some widgets only emit signals when values are
> changed via keyboard action, not mouse action.  For instance, the
> paned widget only emits a move-handle signal when the separator is
> moved using a handful of keys (page up, etc).  It's not emitted when
> the separator is dragged with the mouse.  It's not at all obvious to
> me why the signal should be emitted in one case but not the other.  I
> think the SpinButton has a similar trait.

It *really* looks like a bug to me, but I'm surprised the SpinButton
would have the same issue. Are you sure this is reproducible using a
simple testcase? Are you using the appropriate signal, or is there some
other one that makes itself more useful in this situation?

If nothing seems to make sense, let's file a bug --- let Owen figure out
a way to `RESO NOTABUG' it .

Take care,
--
Christian Robottom Reis | http://async.com.br/~kiko/ | [+55 16] 3361 2331
___
pygtk mailing list   [EMAIL PROTECTED]
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/