[gtk+/gtk-2-90: 92/127] Remove remaining GtkVButtonBox deprecated documentation
- From: Javier Jardón <jjardon src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [gtk+/gtk-2-90: 92/127] Remove remaining GtkVButtonBox deprecated documentation
- Date: Tue, 17 Nov 2009 19:32:31 +0000 (UTC)
commit b361cce397b86b4bbc887269140ad168127f1910
Author: Javier Jardón <javierjc1982 gmail com>
Date: Sat Oct 10 21:16:45 2009 +0200
Remove remaining GtkVButtonBox deprecated documentation
This completes commit d6cbe4caeb97ef92db3feebacce85004928b904b
docs/reference/gtk/gtk-sections.txt | 4 ---
docs/reference/gtk/tmpl/gtkvbbox.sgml | 36 ---------------------------------
docs/tutorial/gtk_tut.sgml | 20 ++++++-----------
docs/tutorial/gtk_tut_12.es.sgml | 15 ++++---------
4 files changed, 12 insertions(+), 63 deletions(-)
---
diff --git a/docs/reference/gtk/gtk-sections.txt b/docs/reference/gtk/gtk-sections.txt
index b00fb7a..6bda51d 100644
--- a/docs/reference/gtk/gtk-sections.txt
+++ b/docs/reference/gtk/gtk-sections.txt
@@ -5247,10 +5247,6 @@ gtk_list_store_get_type
<TITLE>GtkVButtonBox</TITLE>
GtkVButtonBox
gtk_vbutton_box_new
-gtk_vbutton_box_get_spacing_default
-gtk_vbutton_box_set_spacing_default
-gtk_vbutton_box_get_layout_default
-gtk_vbutton_box_set_layout_default
<SUBSECTION Standard>
GTK_VBUTTON_BOX
GTK_IS_VBUTTON_BOX
diff --git a/docs/reference/gtk/tmpl/gtkvbbox.sgml b/docs/reference/gtk/tmpl/gtkvbbox.sgml
index d1d60ad..253b51e 100644
--- a/docs/reference/gtk/tmpl/gtkvbbox.sgml
+++ b/docs/reference/gtk/tmpl/gtkvbbox.sgml
@@ -60,39 +60,3 @@ Creates a new vertical button box.
</para>
@Returns: a new button box #GtkWidget.
-
-
-<!-- ##### FUNCTION gtk_vbutton_box_get_spacing_default ##### -->
-<para>
-Retrieves the current default spacing for vertical button boxes. This is the number of pixels
-to be placed between the buttons when they are arranged.
-</para>
-
- Returns: the default number of pixels between buttons.
-
-
-<!-- ##### FUNCTION gtk_vbutton_box_set_spacing_default ##### -->
-<para>
-Changes the default spacing that is placed between widgets in an
-vertical button box.
-</para>
-
- spacing: an integer value.
-
-
-<!-- ##### FUNCTION gtk_vbutton_box_get_layout_default ##### -->
-<para>
-Retrieves the current layout used to arrange buttons in button box widgets.
-</para>
-
- Returns: the current #GtkButtonBoxStyle.
-
-
-<!-- ##### FUNCTION gtk_vbutton_box_set_layout_default ##### -->
-<para>
-Sets a new layout mode that will be used by all button boxes.
-</para>
-
- layout: a new #GtkButtonBoxStyle.
-
-
diff --git a/docs/tutorial/gtk_tut.sgml b/docs/tutorial/gtk_tut.sgml
index cd95b14..4833db8 100644
--- a/docs/tutorial/gtk_tut.sgml
+++ b/docs/tutorial/gtk_tut.sgml
@@ -7451,29 +7451,25 @@ The only attributes pertaining to button boxes affect how the buttons
are laid out. You can change the spacing between the buttons with:
<tscreen><verb>
-void gtk_hbutton_box_set_spacing_default( gint spacing );
-
-void gtk_vbutton_box_set_spacing_default( gint spacing );
+void gtk_box_set_spacing ( GtkBox *box,
+ gint spacing );
</verb></tscreen>
Similarly, the current spacing values can be queried using:
<tscreen><verb>
-gint gtk_hbutton_box_get_spacing_default( void );
-
-gint gtk_vbutton_box_get_spacing_default( void );
+gint gtk_box_get_spacing( GtkBox *box );
</verb></tscreen>
The second attribute that we can access affects the layout of the
buttons within the box. It is set using one of:
<tscreen><verb>
-void gtk_hbutton_box_set_layout_default( GtkButtonBoxStyle layout );
-
-void gtk_vbutton_box_set_layout_default( GtkButtonBoxStyle layout );
+void gtk_button_box_set_layout( GtkButtonBox *widget
+ GtkButtonBoxStyle layout_style );
</verb></tscreen>
-The <tt/layout/ argument can take one of the following values:
+The <tt/layout_style/ argument can take one of the following values:
<tscreen><verb>
GTK_BUTTONBOX_DEFAULT_STYLE
@@ -7486,9 +7482,7 @@ The <tt/layout/ argument can take one of the following values:
The current layout setting can be retrieved using:
<tscreen><verb>
-GtkButtonBoxStyle gtk_hbutton_box_get_layout_default( void );
-
-GtkButtonBoxStyle gtk_vbutton_box_get_layout_default( void );
+GtkButtonBoxStyle gtk_button_box_get_layout( GtkButtonBox *widget );
</verb></tscreen>
Buttons are added to a Button Box using the usual function:
diff --git a/docs/tutorial/gtk_tut_12.es.sgml b/docs/tutorial/gtk_tut_12.es.sgml
index bba663b..43657aa 100755
--- a/docs/tutorial/gtk_tut_12.es.sgml
+++ b/docs/tutorial/gtk_tut_12.es.sgml
@@ -6830,21 +6830,18 @@ Igualmente, se pueden obtener los actuales valores para el espaciado
utilizando:
<tscreen><verb>
-gint gtk_hbutton_box_get_spacing_default( void );
-
-gint gtk_vbutton_box_get_spacing_default( void );
+gint gtk_box_get_spacing( GtkBox *box );
</verb></tscreen>
El segundo atributo al que podemos acceder afecta al esquema de los
botones dentro de la caja. Se establece utilizando:
<tscreen><verb>
-void gtk_hbutton_box_set_layout_default( GtkButtonBoxStyle layout );
-
-void gtk_vbutton_box_set_layout_default( GtkButtonBoxStyle layout );
+void gtk_button_box_set_layout( GtkButtonBox *widget
+ GtkButtonBoxStyle layout_style );
</verb></tscreen>
-El argumento <tt/layout/ puede tomar uno de los siguientes valores:
+El argumento <tt/layout_style/ puede tomar uno de los siguientes valores:
<itemize>
<item> GTK_BUTTONBOX_DEFAULT_STYLE
@@ -6857,9 +6854,7 @@ El argumento <tt/layout/ puede tomar uno de los siguientes valores:
Puede obtenerse el esquema actual utilizando:
<tscreen><verb>
-GtkButtonBoxStyle gtk_hbutton_box_get_layout_default( void );
-
-GtkButtonBoxStyle gtk_vbutton_box_get_layout_default( void );
+GtkButtonBoxStyle gtk_button_box_get_layout( GtkButtonBox *widget );
</verb></tscreen>
Podemos añadir botones a una caja de botones utilizando (como
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]