Re: Push button with enter



On 02/21/2012 10:14 AM, Stefan Sauer wrote:
On 02/13/2012 03:18 PM, Manuel Ferrero wrote:
I'd like to have a button pushed every time I press the Enter key,
even if that button is not selected.
Let say I click on a text box, I write some text and then when I press
Enter the button is pressed.
Is it possible?
Right now the button is pressed only if it's selected, but the
GtkButton pressed signal is not triggered.
gtk_window_set_default()

or use the 'activate' signal on the entry

Olivier



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]