summaryrefslogtreecommitdiff
path: root/docs/reference/pygtk-gtkbox.xml
diff options
context:
space:
mode:
authorJohn Finlay <finlay@src.gnome.org>2004-05-05 08:36:46 +0000
committerJohn Finlay <finlay@src.gnome.org>2004-05-05 08:36:46 +0000
commit88278b1b4ab59e9623962b4ac7645f4aca1a7c05 (patch)
treec446fac133f8cabce3836136b5a8b5614b1af2a9 /docs/reference/pygtk-gtkbox.xml
parenta54155fa24715177183f8b3fb16c7a31c79ef86c (diff)
downloadpygtk-88278b1b4ab59e9623962b4ac7645f4aca1a7c05.tar.gz
pygtk-gtkbox.xml (pack_start_defaults) (pack_end_defaults) Add deprecation
* pygtk-gtkbox.xml (pack_start_defaults) (pack_end_defaults) Add deprecation warnings. Remove references in Description.
Diffstat (limited to 'docs/reference/pygtk-gtkbox.xml')
-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