Commit b94e6c0a authored by Committed by Owen Taylor
Add optional movement on push to buttons (based on patch from Soeren
Sat Aug 25 19:02:39 2001 Owen Taylor <firstname.lastname@example.org> * gtk/gtkbutton.[ch] gtk/gtktogglebutton.c: Add optional movement on push to buttons (based on patch from Soeren Sandmann, #54720) - Add child_displacement_x/y style properties to control how far the child moves when the button is depressed. - Add non-exported function _gtk_button_set_depressed to clean up the handling of the in/out shadow and separate it frmo widget->state. - Lots of code cleanup and simplification of state handling for GtkButton/GtkToggleButton. * tests/testgtkrc: Set the x/y displacement to 1 to provide a test of button movement. testgtk + testgtkrc == test ugly GTK+, as always.
Showing with 246 additions and 167 deletions