Re: [pygtk] Listening to a GtkComboBoxEntry selection

2006-01-04 Thread John Ehresman
Thierry Lam wrote: How do I listen to a selection of a drop down selection of a GtkComboBoxEntry? You probably want the 'changed' signal. FYI, the reference docs at http://pygtk.org/pygtk2reference are very good. Cheers, John ___ pygtk mailing li

[pygtk] Listening to a GtkComboBoxEntry selection

2006-01-04 Thread Thierry Lam
How do I listen to a selection of a drop down selection of a GtkComboBoxEntry? Thanks Thierry ___ pygtk mailing list pygtk@daa.com.au http://www.daa.com.au/mailman/listinfo/pygtk Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/

[pygtk] Focus behaviour of ComboBoxEntry vs SpinButton

2006-01-04 Thread egbert
In a gui I have a widget from combo_box_entry_new_text() and below it one from SpinButton(). When I TAB thru this gui I see that the down-arrow of the ComboBoxEntry receives focus, but the up-down-arrow-duo of the SpinButton does not. How can I change the behaviour of one or both of them ? tia,

Re: [pygtk] Retrieving the signal_name from a handler function

2006-01-04 Thread Johan Dahlin
Thierry Lam wrote: For the follow codes: handler_id = object.connect("signal_name", handler, arg1, arg2, arg3) def handler(object, arg1, arg2, arg3): How can I determine the "signal_name" from within the handler function? You can't. The easiest work around is to send the name of the signal

[pygtk] Retrieving the signal_name from a handler function

2006-01-04 Thread Thierry Lam
For the follow codes: handler_id = object.connect("signal_name", handler, arg1, arg2, arg3) def handler(object, arg1, arg2, arg3): How can I determine the "signal_name" from within the handler function? Thanks Thierry ___ pygtk mailing list pygt

Re: [pygtk] GtkComboBoxEntry and focus

2006-01-04 Thread John Ehresman
Thierry Lam wrote: Let's say I have a GtkComboBoxEntry widget and each time I select it, I have a cursor blinking which tells me that the widget is in focus. How do I check that the GtkComboBoxEntry is no longer in focus whenever I select some other part of the GUI. Are you looking for widget.

[pygtk] GtkComboBoxEntry and focus

2006-01-04 Thread Thierry Lam
Let's say I have a GtkComboBoxEntry widget and each time I select it, I have a cursor blinking which tells me that the widget is in focus. How do I check that the GtkComboBoxEntry is no longer in focus whenever I select some other part of the GUI. Thanks Thierry _