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>
This commit is contained in:
Tadej Borovšak
2010-04-28 18:11:23 +02:00
committed by Javier Jardón
parent ef4e7b2473
commit d6bc1a99dc
4 changed files with 116 additions and 210 deletions

View File

@ -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,