summaryrefslogtreecommitdiff
path: root/gtk/gtkbutton.c
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2015-11-02 12:51:00 -0500
committerMatthias Clasen <mclasen@redhat.com>2015-11-02 12:51:00 -0500
commit13d091f700c4bbaddc3c9cba12746a38838b6f71 (patch)
tree83149d81e53d128c1f9f6747a1afd95177055955 /gtk/gtkbutton.c
parent113c88c2cf440ea3ac0e4c325685452494d11ec8 (diff)
downloadgtk+-13d091f700c4bbaddc3c9cba12746a38838b6f71.tar.gz
button: Mention differentiating style classes
There's a lot of button variations out there, lets document the ones we know about.
Diffstat (limited to 'gtk/gtkbutton.c')
-rw-r--r--gtk/gtkbutton.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/gtk/gtkbutton.c b/gtk/gtkbutton.c
index f976194caf..08c0dd31ea 100644
--- a/gtk/gtkbutton.c
+++ b/gtk/gtkbutton.c
@@ -43,6 +43,11 @@
*
* Other style classes that are commonly used with GtkButton include
* .suggested-action and .destructive-action.
+ *
+ * Button-like widgets like #GtkToggleButton, #GtkMenuButton, #GtkVolumeButton,
+ * #GtkLockButton, #GtkColorButton, #GtkFontButton or #GtkFileChooserButton use
+ * style classes such as .toggle, .popup, .scale, .lock, .color, .font, .file
+ * to differentiate themselves from a plain GtkButton.
*/
#include "config.h"