diff options
author | Benjamin Otte <otte@redhat.com> | 2012-01-07 16:48:42 +0100 |
---|---|---|
committer | Benjamin Otte <otte@redhat.com> | 2012-01-09 18:37:59 +0100 |
commit | de3111f1ffa6e40fa3a61808288ce92a3794cda0 (patch) | |
tree | 5a2d3a1a5c6db26446f8a7d980c7f9eb55f7a276 /gtk/gtkenums.h | |
parent | fd3afa3606009fc61de487707b64fb860b8e5b01 (diff) | |
download | gtk+-de3111f1ffa6e40fa3a61808288ce92a3794cda0.tar.gz |
API: Add all border styles from CSS 3
Diffstat (limited to 'gtk/gtkenums.h')
-rw-r--r-- | gtk/gtkenums.h | 20 |
1 files changed, 16 insertions, 4 deletions
diff --git a/gtk/gtkenums.h b/gtk/gtkenums.h index 7045f922c2..5e4c570e8d 100644 --- a/gtk/gtkenums.h +++ b/gtk/gtkenums.h @@ -907,9 +907,15 @@ typedef enum { /** * GtkBorderStyle: * @GTK_BORDER_STYLE_NONE: No visible border - * @GTK_BORDER_STYLE_SOLID: A solid border - * @GTK_BORDER_STYLE_INSET: An inset border - * @GTK_BORDER_STYLE_OUTSET: An outset border + * @GTK_BORDER_STYLE_SOLID: A single line segment + * @GTK_BORDER_STYLE_INSET: Looks as if the content is sunken into the canvas + * @GTK_BORDER_STYLE_OUTSET: Looks as if the content is coming out of the canvas + * @GTK_BORDER_STYLE_HIDDEN: Same as @GTK_BORDER_STYLE_NONE + * @GTK_BORDER_STYLE_DOTTED: A series of round dots + * @GTK_BORDER_STYLE_DASHED: A series of square-ended dashes + * @GTK_BORDER_STYLE_DOUBLE: Two parrallel lines with some space between them + * @GTK_BORDER_STYLE_GROOVE: Looks as if it were carved in the canvas + * @GTK_BORDER_STYLE_RIDGE: Looks as if it were coming out of the canvas * * Describes how the border of a UI element should be rendered. */ @@ -917,7 +923,13 @@ typedef enum { GTK_BORDER_STYLE_NONE, GTK_BORDER_STYLE_SOLID, GTK_BORDER_STYLE_INSET, - GTK_BORDER_STYLE_OUTSET + GTK_BORDER_STYLE_OUTSET, + GTK_BORDER_STYLE_HIDDEN, + GTK_BORDER_STYLE_DOTTED, + GTK_BORDER_STYLE_DASHED, + GTK_BORDER_STYLE_DOUBLE, + GTK_BORDER_STYLE_GROOVE, + GTK_BORDER_STYLE_RIDGE } GtkBorderStyle; G_END_DECLS |