From 885b6d8a75fe2d2b98e71c9f86b39cedb5ba369d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Javier=20Jard=C3=B3n?= Date: Sun, 16 May 2010 00:44:58 +0200 Subject: Move documentation to inline comments: GtkStyle --- gtk/gtkstyle.h | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) (limited to 'gtk/gtkstyle.h') 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; -- cgit v1.2.1