Skip to content
  • Federico Mena Quintero's avatar
    Added a "grab_focus" signal for widgets. When the signal is emitted, the · 3441c3f2
    Federico Mena Quintero authored
    1998-12-13  Federico Mena Quintero  <federico@nuclecu.unam.mx>
    
    	* gtk/gtkwidget.h (struct _GtkWidgetClass): Added a "grab_focus"
    	signal for widgets.  When the signal is emitted, the widget will
    	grab the focus.  This is needed to let the user press an
    	accelerator key in a dialog box and have the corresponding widget
    	be focused.
    
    	* gtk/gtkwidget.c (gtk_widget_class_init): Create the "grab_focus"
    	signal.  The default handler is simply gtk_widget_grab_focus().
    3441c3f2