gtk_widget_grab_default
- From: Alexander Kotelnikov <sasha AK2614 spb edu>
 
- To: GTK mailing list <redhat com!gtk-list AK2614 spb edu>
 
- Subject: gtk_widget_grab_default
 
- Date: Thu, 10 Dec 1998 18:19:08 +0300 (MSK)
 
Hi,
I have not very but complex window with 3 boxes one in another and some
widgets in them. QUIT button is in the inner box and I want it to be
default.
Before 
gtk_widget_show(qbut); // QuitBUTton
I insert:
          GTK_WIDGET_SET_FLAGS(qbut,GTK_CAN_DEFAULT);
          gtk_widget_grab_default(qbut);
but it gtk_widget_grab_default does not work at all -- button have ability
to be default, but it is not default right after progrm runs, may be I
need to do something more?
Thanks,
_____
Alexander Kotelnikov
Saint-Petersburg, Russia
mailto:sasha@ak2614.spb.edu
[
Date Prev][
Date Next]   [
Thread Prev][
Thread Next]   
[
Thread Index]
[
Date Index]
[
Author Index]