Problem with setting button as default button
- From: vprasad applix com (V G Prasad [ext 294])
- To: gtk-list redhat com
- Subject: Problem with setting button as default button
- Date: Tue, 8 Jun 1999 13:19:25 -0400
Hi,
I am trying to set a Gtkbutton to be default button, and running into the following widget size issue
button = gtk_button_new_with_label ("Button");
/*gtk_widget_set_usize(button, 70, 22); */
GTK_WIDGET_SET_FLAGS(button, GTK_CAN_DEFAULT);
gtk_widget_grab_default(button);
gtk_widget_show (button);
If I uncomment the setting of size above, the button is small. How do I take into account the size by which the default button grows when setting the button size?
Thanks
vg
******************
V G Prasad
Email:vprasad@applix.com
Off: (508) 870 -0300 ext 294
Fax: (508) 366 -4873
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]