summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--docs/reference/pygtk-gtkbox.xml19
1 files changed, 9 insertions, 10 deletions
diff --git a/docs/reference/pygtk-gtkbox.xml b/docs/reference/pygtk-gtkbox.xml
index b1e6c821..801218ec 100644
--- a/docs/reference/pygtk-gtkbox.xml
+++ b/docs/reference/pygtk-gtkbox.xml
@@ -244,22 +244,13 @@ method adds widgets from end to start. You may intersperse these calls and
add widgets from both ends of the same <link
linkend="class-gtkbox"><classname>gtk.Box</classname></link>.</para>
- <para>The <link
-linkend="method-gtkbox--pack-start-defaults"><methodname>pack_start_defaults</methodname>()</link>
-or <link
-linkend="method-gtkbox--pack-end-defaults"><methodname>pack_end_defaults</methodname>()</link>
-methods to pack widgets into a <link
-linkend="class-gtkbox"><classname>gtk.Box</classname></link> if you do not
-need to specify the expand, fill, or padding attributes of the child to be
-added.</para>
-
<para>Because <link
linkend="class-gtkbox"><classname>gtk.Box</classname></link> is a <link
linkend="class-gtkcontainer"><classname>gtk.Container</classname></link>,
you may also use <link
linkend="method-gtkcontainer--add"><methodname>add</methodname>()</link> to
insert widgets into the box, and they will be packed as if with the <link
-linkend="method-gtkbox--pack-start-defaults"><methodname>pack_start_defaults</methodname>()</link>
+linkend="method-gtkbox--pack-start-defaults"><methodname>pack_start</methodname>()</link>
method. Use <link
linkend="method-gtkcontainer--remove"><methodname>remove</methodname>()</link>
to remove widgets from the <link
@@ -428,6 +419,10 @@ box</simpara></listitem>
</varlistentry>
</variablelist>
+ <warning>
+ <para>This method is deprecated in PyGTK 2.4 and above.</para>
+ </warning>
+
<para>The <methodname>pack_start_defaults</methodname>() method adds
<parameter>widget</parameter> to the box, packed with reference to the start
of the box. The <parameter>widget</parameter> is packed after any other
@@ -453,6 +448,10 @@ box</simpara></listitem>
</varlistentry>
</variablelist>
+ <warning>
+ <para>This method is deprecated in PyGTK 2.4 and above.</para>
+ </warning>
+
<para>The <methodname>pack_end_defaults</methodname>() method adds
<parameter>widget</parameter> to the box, packed with reference to the end
of the box. The <parameter>widget</parameter> is packed after (away from the