Skip to content

Commit

Permalink
Add a csd style class
Browse files Browse the repository at this point in the history
This will be used for client-side decorated windows.

https://bugzilla.gnome.org/show_bug.cgi?id=731187
  • Loading branch information
Matthias Clasen committed Jun 9, 2014
1 parent b22b229 commit 60cd707
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
1 change: 1 addition & 0 deletions docs/reference/gtk/gtk3-sections.txt
Expand Up @@ -5966,6 +5966,7 @@ GTK_STYLE_CLASS_CALENDAR
GTK_STYLE_CLASS_CELL
GTK_STYLE_CLASS_COMBOBOX_ENTRY
GTK_STYLE_CLASS_CHECK
GTK_STYLE_CLASS_CSD
GTK_STYLE_CLASS_CURSOR_HANDLE
GTK_STYLE_CLASS_DEFAULT
GTK_STYLE_CLASS_DESTRUCTIVE_ACTION
Expand Down
10 changes: 10 additions & 0 deletions gtk/gtkstylecontext.h
Expand Up @@ -248,6 +248,16 @@ struct _GtkStyleContextClass
*/
#define GTK_STYLE_CLASS_RUBBERBAND "rubberband"

/**
* GTK_STYLE_CLASS_CSD:
*
* A CSS class that gets added to windows which have
* client-side decorations.
*
* Since: 3.14
*/
#define GTK_STYLE_CLASS_CSD "csd"

/**
* GTK_STYLE_CLASS_TOOLTIP:
*
Expand Down

0 comments on commit 60cd707

Please sign in to comment.