GNOME Bugzilla – Bug 51501
button press animation
Last modified: 2011-02-04 16:09:25 UTC
From Darin: "A side note. At some point I'd like to see a call that makes a button highlight as it it was pushed when it's being activated by a keystroke. This helps make the connection between a key and a button much clearer. During early Nautilus development, we worked on code to do this, which is in a function called nautilus_gtk_button_auto_click (in nautilus/libnautilus-extensions/nautilus-gtk-extensions.c), but we never perfected it (see comments in the code for information about what's imperfect)."
Tue Mar 6 10:45:45 2001 Owen Taylor <otaylor@redhat.com> * gtk/gtkbutton.c: Add animation of activation by, on activate, pressing the button, and adding a timeout that releases the button after 250ms or on key release and emits ::clicked. (#51501) * gtk/gtkdialog.c: Bit of a hack - for buttons in the action area, we connect to ::clicked instead of ::activate so the dialog stays up through the animation.