gtk_widget_grab_default and gtk+-2.0
- From: Oliver Rauch <oliver rauch rauch-domain de>
- To: gtk-app-devel-list <gtk-app-devel-list gnome org>
- Subject: gtk_widget_grab_default and gtk+-2.0
- Date: Fri, 15 Mar 2002 20:58:37 +0100
Hello.
Can anyone tell me if there is a way to make
gtk_widget_grab_default(button);
work with gtk+-2.0. At least it does not work with this code
that worked with gtk+-1.2:
button = gtk_button_new_with_label(BUTTON_CLOSE);
GTK_WIDGET_SET_FLAGS(button, GTK_CAN_DEFAULT);
gtk_widget_grab_default(button);
gtk_widget_show(button);
It also does not work in the examples directory in gtk+-2.0
Bye
Oliver
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]