• Tim Janik's avatar
    allow accel activation depending on sensitivity and the attach widget. · 448b576d
    Tim Janik authored
    Thu Nov 27 16:19:03 2003  Tim Janik  <timj@gtk.org>
    
            * gtk/gtkmenu.c: allow accel activation depending on sensitivity
            and the attach widget.
    
            * gtk/gtkmenuitem.c: allow accel activation depending on visibility,
            sensitivity and the parent menu.
    
            * gtk/gtkwidget.[hc]: introduced ::can-activate-accel signal which
            checks whether accelerators may activate a widget. the default handler
            demands the widget be sensitive and visible+viewable.
    
            * gtk/gtkaccelgroup.[hc]: export gtk_accel_group_activate().
    448b576d
gtkmenu.c 112 KB