David Nečas (Yeti) wrote:
On Sun, Jun 04, 2006 at 12:07:17PM +0200, Attilio Fiandrotti wrote:
In my interface i have a button which grabs default focus like this
GTK_WIDGET_SET_FLAGS (GTK_WIDGET(my_button), GTK_CAN_DEFAULT);
gtk_widget_grab_default (button)
so that it gets activated when the
On Sun, Jun 04, 2006 at 12:07:17PM +0200, Attilio Fiandrotti wrote:
> In my interface i have a button which grabs default focus like this
>
> GTK_WIDGET_SET_FLAGS (GTK_WIDGET(my_button), GTK_CAN_DEFAULT);
> gtk_widget_grab_default (button)
>
> so that it gets activated when the user presses enter