From 8328cfac92bea640db5dc5a2c5791ad604e15678 Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Fri, 4 Jul 2014 18:13:56 -0400 Subject: [PATCH] Add defines for title style classes --- docs/reference/gtk/gtk3-sections.txt | 2 ++ gtk/gtkstylecontext.h | 20 ++++++++++++++++++++ 2 files changed, 22 insertions(+) diff --git a/docs/reference/gtk/gtk3-sections.txt b/docs/reference/gtk/gtk3-sections.txt index d3e34c6dfa..7b39805f23 100644 --- a/docs/reference/gtk/gtk3-sections.txt +++ b/docs/reference/gtk/gtk3-sections.txt @@ -6019,7 +6019,9 @@ GTK_STYLE_CLASS_SIDEBAR GTK_STYLE_CLASS_SLIDER GTK_STYLE_CLASS_SPINBUTTON GTK_STYLE_CLASS_SPINNER +GTK_STYLE_CLASS_SUBTITLE GTK_STYLE_CLASS_SUGGESTED_ACTION +GTK_STYLE_CLASS_TITLE GTK_STYLE_CLASS_TITLEBAR GTK_STYLE_CLASS_TOOLBAR GTK_STYLE_CLASS_TOOLTIP diff --git a/gtk/gtkstylecontext.h b/gtk/gtkstylecontext.h index d141476e44..175bed8234 100644 --- a/gtk/gtkstylecontext.h +++ b/gtk/gtkstylecontext.h @@ -764,6 +764,26 @@ struct _GtkStyleContextClass */ #define GTK_STYLE_CLASS_TITLEBAR "titlebar" +/** + * GTK_STYLE_CLASS_TITLE: + * + * A CSS class used for the title label in a titlebar in + * a toplevel window. + * + * Since: 3.14 + */ +#define GTK_STYLE_CLASS_TITLE "title" + +/** + * GTK_STYLE_CLASS_SUBTITLE: + * + * A CSS class used for the subtitle label in a titlebar in + * a toplevel window. + * + * Since: 3.14 + */ +#define GTK_STYLE_CLASS_SUBTITLE "subtitle" + /** * GTK_STYLE_CLASS_NEEDS_ATTENTION: *