Re: make entry in dialog grab default?



Gary Scavone <gary ccrma stanford edu> writes: 
> But that doesn't seem to work.  Does anyone know why?
> 

My guess is that the entry handles the Enter key press, and it never
goes to the window to be considered for default widget activation.

Which means pressing Enter is already going to activate the entry
though. And the default widget is simply the widget that gets
activated when you press Enter. So I don't see the point of making
the entry the default, since it's already activated when you press
Enter. ;-)

Maybe you want it to be the default _focused_ widget, then you might
want gtk_widget_grab_focus().

Havoc





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