This is the README for the patch for the creation of reliefless
buttons.

This implements buttons that have no borders most of the time.  When
the mouse is over them they have a shadow and if they have the focus
they have the standard black rectangle border.  If neither of these is
the case then the widget in them looks almost as if it is just sitting
on the widget containing the button.

Another part of this change is that reliefless buttons don't change
background color when the mouse enters them.  They wouldn't look as
good if they did change background color.

Secondly, I changed the toolbar widget so that it stores a default
style for its automatically created buttons.  There's functions to get
and set the button style.

Finally, I made the default for the button style for the toolbar in
testgtk GTK_RELIEF_NONE and added two buttons to switch the button
style.


Coding stuff:
gtkenums.h:
GtkReliefStyle is an enum with two possible values: GTK_RELIEF_NORMAL,
and GTK_RELIEF_NONE.


gtkbutton.[hc]:
gtk_button_set_relief takes a button and one of these two values and
sets the relief style of the given button.

gtk_button_get_relief returns one of these two values.


gtktoolbar.[hc]:
gtk_toolbar_set_button_relief takes a toolbar and one of these two
values and sets the relief style of all automatically generated
buttons in that toolbar, including those that are already created.

gtk_toolbar_get_button_relief returns one of these two values.


testgtk.c:
The changes to testgtk.c are pretty obvious.  I changed the toolbar
test and the handle box test


Future directions:
This is a pretty simple change.  More ideas are certainly welcome.
One idea I've thought of would be to add similar changes to the other
button types and other widgets in general.  The most important other
widget to take care of is handle box.


Christopher James Lahey <clahey@umich.edu>
This patch generated against CVS head as of about 9:00 PM Sat May 9.
