summaryrefslogtreecommitdiff
path: root/gtk/gtkstyle.h
diff options
context:
space:
mode:
authorJavier Jardón <jjardon@gnome.org>2010-05-16 00:44:58 +0200
committerJavier Jardón <jjardon@gnome.org>2010-05-16 01:37:36 +0200
commit885b6d8a75fe2d2b98e71c9f86b39cedb5ba369d (patch)
treeac9ca4f8b7ac576234223cf2f80271eaf81e7a2b /gtk/gtkstyle.h
parentf121a502f9d7ff1a4449415c33a3257c81a27080 (diff)
downloadgtk+-885b6d8a75fe2d2b98e71c9f86b39cedb5ba369d.tar.gz
Move documentation to inline comments: GtkStyle
Diffstat (limited to 'gtk/gtkstyle.h')
-rw-r--r--gtk/gtkstyle.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/gtk/gtkstyle.h b/gtk/gtkstyle.h
index 141cbcc379..dd8890002e 100644
--- a/gtk/gtkstyle.h
+++ b/gtk/gtkstyle.h
@@ -68,6 +68,12 @@ typedef gboolean (*GtkRcPropertyParser) (const GParamSpec *pspec,
*/
typedef struct _GtkWidget GtkWidget;
+/**
+ * GTK_STYLE_ATTACHED:
+ * @style: a #GtkStyle.
+ *
+ * Returns whether the style is attached to a window.
+ */
#define GTK_STYLE_ATTACHED(style) (GTK_STYLE (style)->attach_count > 0)
struct _GtkStyle
@@ -429,6 +435,16 @@ struct _GtkStyleClass
void (*_gtk_reserved11) (void);
};
+/**
+ * GtkBorder:
+ * @left: The width of the left border.
+ * @right: The width of the right border.
+ * @top: The width of the top border.
+ * @bottom: The width of the bottom border.
+ *
+ * A struct that specifies a border around a rectangular area that can
+ * be of different width on each side.
+ */
struct _GtkBorder
{
gint left;