summaryrefslogtreecommitdiff
path: root/gtk/gtkbbox.h
diff options
context:
space:
mode:
authorTadej Borovšak <tadeboro@gmail.com>2010-04-28 18:11:23 +0200
committerJavier Jardón <jjardon@gnome.org>2010-04-28 18:41:34 +0200
commitd6bc1a99dc8b027c0b22b4846809a1edfc45dcaf (patch)
treed9b05d81f67ac6ea3d5cc591e3817fd1cd1203d9 /gtk/gtkbbox.h
parentef4e7b247358c8c4fa67f8339f986831d06b66c9 (diff)
downloadgtk+-d6bc1a99dc8b027c0b22b4846809a1edfc45dcaf.tar.gz
Move documentation to inline comments: GtkButtonBox
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=612349 Signed-off-by: Javier Jardón <jjardon@gnome.org>
Diffstat (limited to 'gtk/gtkbbox.h')
-rw-r--r--gtk/gtkbbox.h19
1 files changed, 19 insertions, 0 deletions
diff --git a/gtk/gtkbbox.h b/gtk/gtkbbox.h
index f0666a210f..7a2d823e23 100644
--- a/gtk/gtkbbox.h
+++ b/gtk/gtkbbox.h
@@ -77,7 +77,26 @@ void gtk_button_box_set_child_secondary (GtkButtonBox *widget,
gboolean is_secondary);
#ifndef GTK_DISABLE_DEPRECATED
+/**
+ * gtk_button_box_set_spacing:
+ * @b: a #GtkButtonBox
+ * @s: the number of pixels of spacing
+ *
+ * Sets the amount of spacing between buttons in a given button box.
+ *
+ * Deprecated: Use gtk_box_set_spacing() instead.
+ */
#define gtk_button_box_set_spacing(b,s) gtk_box_set_spacing (GTK_BOX (b), s)
+
+/**
+ * gtk_button_box_get_spacing:
+ * @b: a #GtkButtonBox
+ *
+ * Retrieves how much space a button box is placing between each child button.
+ *
+ * Deprecated: Use gtk_box_get_spacing() instead.
+ * Returns: the current spacing applied to the buttons in @widget
+ */
#define gtk_button_box_get_spacing(b) gtk_box_get_spacing (GTK_BOX (b))
void gtk_button_box_set_child_size (GtkButtonBox *widget,