From 5e4d1584523854076c283a5d2d6ebd676642e7cc Mon Sep 17 00:00:00 2001 From: Miguel de Icaza Date: Tue, 18 Feb 2003 21:50:19 +0000 Subject: [PATCH] Box, HBox and VBox from Lee svn path=/trunk/gtk-sharp/; revision=11705 --- doc/en/Gtk/Box.xml | 117 +++++++++++++++++++++++--------------------- doc/en/Gtk/HBox.xml | 52 +++++++++++--------- doc/en/Gtk/VBox.xml | 51 ++++++++++--------- 3 files changed, 116 insertions(+), 104 deletions(-) diff --git a/doc/en/Gtk/Box.xml b/doc/en/Gtk/Box.xml index e4e5ad7d6..f3ddfa633 100644 --- a/doc/en/Gtk/Box.xml +++ b/doc/en/Gtk/Box.xml @@ -5,10 +5,15 @@ 0.0.0.0 - To be added + Box is not a thread-safe object - To be added - To be added + A Box is a Gtk container that holds an arbitrary number of widgets. This means its sole purpose is to provide layout, size and spacing for other widgets. + A Box is a rectangular area organized into either a single row or a single column of child widgets, depending upon whether the box is horizontally or vertically oriented, respectively. + A Box is abstract - specific layout containers are provided in its sub classes, including a horizontal box, (), a vertical box (), and button boxes, (). + + Widgets that are 'packed' into a box are considered to be the children of the box, and the box controls their layout. Properties such as control the layout of all the children in the box, whereas specific packing settings can be applied to each child individually, such as . + + Gtk.Container @@ -43,13 +48,13 @@ - To be added - To be added: an object of type 'Gtk.Widget' - To be added: an object of type 'bool' - To be added: an object of type 'bool' - To be added: an object of type 'uint' - To be added: an object of type 'Gtk.PackType' - To be added + Change the packing properties of a child that is currently in this box. + The child widget whose layout should be adjusted + If , the child widget will expand to use as much space as it is given. + If , the child widget will request as much space as is available. + The size (in pixels) of a border to place around the specified child widget. + Whether this child widget should be packed from the beginning of the box, (eg. the left, or the top), or from the end, (eg. the right or the bottom) + It is more common to set any specific packing requirements on child widgets when they are initially added to the box. This can be done using and . @@ -85,9 +90,9 @@ - To be added - To be added: an object of type 'Gtk.Widget' - To be added + Add a widget to the 'end' of a box with default packing settings. + The child widget to add to the box. + The 'end' of a box is the right hand side in a and the bottom in a . @@ -100,9 +105,9 @@ - To be added - To be added: an object of type 'Gtk.Widget' - To be added + Add a widget to the 'start' of a box with default packing settings. + The child widget to add to the box. + The 'start' of a box is the left hand side in a and the top in a . @@ -118,12 +123,12 @@ - To be added - To be added: an object of type 'Gtk.Widget' - To be added: an object of type 'bool' - To be added: an object of type 'bool' - To be added: an object of type 'uint' - To be added + Add a widget to the 'start' of a box with the specified packing properties. + A widget to pack into the box. + If , the child widget will expand to use as much space as it is given. + If , the child widget will request as much space as is available. + The size (in pixels) of a border to place around the specified child widget. + To add a widget to the start of a box with default packing, use @@ -139,12 +144,12 @@ - To be added - To be added: an object of type 'Gtk.Widget' - To be added: an object of type 'bool' - To be added: an object of type 'bool' - To be added: an object of type 'uint' - To be added + Add a widget to the 'end' of a box with the specified packing properties. + A widget to pack into the box. + If , the child widget will expand to use as much space as it is given. + If , the child widget will request as much space as is available. + The size (in pixels) of a border to place around the specified child widget. + To add a widget to the end of a box with default packing, use @@ -158,10 +163,10 @@ - To be added - To be added: an object of type 'Gtk.Widget' - To be added: an object of type 'int' - To be added + Alters the position of a child widget that has already been packed into a Box. + A widget that has already been packed into this box. + The new position for this widget, indexed from zero. If negative, the will be placed at the end of the box. + @@ -172,8 +177,8 @@ - To be added - To be added + Destroy and free all resources used by this widget + @@ -184,10 +189,10 @@ - To be added - To be added: an object of type 'uint' - To be added: an object of type 'Gtk.Box' - To be added + Internal constructor + + + @@ -198,10 +203,10 @@ - To be added - To be added: an object of type 'IntPtr' - To be added: an object of type 'Gtk.Box' - To be added + Used for language bindings only. + A pointer to a GtkBox, as returned by the Gtk+ C API. + A C# Gtk.Box that wraps the parameter. + If you don't already know that you need this constructor, it should not be used. @@ -210,9 +215,9 @@ - To be added - To be added: an object of type 'Gtk.Box' - To be added + Internal constructor + + @@ -222,9 +227,9 @@ System.UInt32 - To be added - To be added: an object of type 'uint' - To be added + Get the type of this object, as registered with the GLib object system. + A number that uniquely identifies this type in the GLib object system. + Mostly for internal use. @@ -237,10 +242,10 @@ - To be added - To be added: an object of type 'int' - To be added: an object of type 'int' - To be added + Adjust the spacing between child widgets. + The number of pixels of space to put between child widgets. + The current pixel spacing between child widgets + @@ -253,10 +258,10 @@ - To be added - To be added: an object of type 'bool' - To be added: an object of type 'bool' - To be added + Set the size of all child widgets to be the same + If , all child widgets are forced to have the same size, otherwise they appear at their preferred size. + if child widgets size themselves equally, false otherwise. + diff --git a/doc/en/Gtk/HBox.xml b/doc/en/Gtk/HBox.xml index 33fd7a4c9..30e0a12e7 100644 --- a/doc/en/Gtk/HBox.xml +++ b/doc/en/Gtk/HBox.xml @@ -5,10 +5,14 @@ 0.0.0.0 - To be added + HBox is not a thread safe object - To be added - To be added + An HBox is a specific type of for packing widgets horizontally. + Other ways of laying out widgets include using a vertical box, (see ), a table, (see ), button boxes, etc. + + Useful methods for manipulating boxes can be found in the superclass for HBox, . + + Gtk.Box @@ -37,8 +41,8 @@ - To be added - To be added + Disposes of this widget + @@ -49,10 +53,10 @@ - To be added - To be added: an object of type 'uint' - To be added: an object of type 'Gtk.HBox' - To be added + Internal constructor + + + @@ -63,10 +67,10 @@ - To be added - To be added: an object of type 'IntPtr' - To be added: an object of type 'Gtk.HBox' - To be added + Used for language bindings only. + A pointer to a GtkHBox, as returned by the Gtk+ C API. + A C# Gtk.HBox that wraps the parameter. + If you don't already know that you need this constructor, it should not be used. @@ -78,11 +82,11 @@ - To be added - To be added: an object of type 'bool' - To be added: an object of type 'int' - To be added: an object of type 'Gtk.HBox' - To be added + The main way to create a new HBox. + If , all widgets in the box are forced to be equally sized. + The number of pixels to place between each widget in the box. + A new HBox + @@ -91,9 +95,9 @@ - To be added - To be added: an object of type 'Gtk.HBox' - To be added + Internal constructor, should not be used. + + @@ -103,9 +107,9 @@ System.UInt32 - To be added - To be added: an object of type 'uint' - To be added + Get the type of this object, as registered with the GLib object system. + A number that uniquely identifies this type in the GLib object system. + Mostly for internal use. diff --git a/doc/en/Gtk/VBox.xml b/doc/en/Gtk/VBox.xml index 6b2adc127..b1b41b90b 100644 --- a/doc/en/Gtk/VBox.xml +++ b/doc/en/Gtk/VBox.xml @@ -5,10 +5,13 @@ 0.0.0.0 - To be added + VBox is not a thread safe object - To be added - To be added + A VBox is a specific type of for packing widgets vertically. + Other ways of laying out widgets include using a horizontal box, (see ), a table, (see ), button boxes, etc. + + Useful methods for manipulating boxes can be found in the superclass for HBox, . + Gtk.Box @@ -37,8 +40,8 @@ - To be added - To be added + Disposes of this widget + @@ -49,10 +52,10 @@ - To be added - To be added: an object of type 'uint' - To be added: an object of type 'Gtk.VBox' - To be added + Internal constructor + + + @@ -63,10 +66,10 @@ - To be added - To be added: an object of type 'IntPtr' - To be added: an object of type 'Gtk.VBox' - To be added + Used for language bindings only. + A pointer to a GtkVBox, as returned by the Gtk+ C API. + A C# Gtk.VBox that wraps the parameter. + If you don't already know that you need this constructor, it should not be used. @@ -78,11 +81,11 @@ - To be added - To be added: an object of type 'bool' - To be added: an object of type 'int' - To be added: an object of type 'Gtk.VBox' - To be added + The main way to create a new VBox + If , all widgets in the box are forced to be equally sized. + The number of pixels to place between each widget in the box. + A new VBox + @@ -91,9 +94,9 @@ - To be added - To be added: an object of type 'Gtk.VBox' - To be added + Internal constructor, should not be used. + + @@ -103,9 +106,9 @@ System.UInt32 - To be added - To be added: an object of type 'uint' - To be added + Get the type of this object, as registered with the GLib object system. + A number that uniquely identifies this type in the GLib object system. + Mostly for internal use.