gtk-sharp0.0.0.0neutralGtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details.A container that controls the alignment and size of its child.An Alignment widget controls the alignment and size of its child widget. It has four settings: , , , and .The scale settings are used to specify how much the child widget should expand to fill the space allocated to the Alignment. The values can range from 0 (meaning the child doesn't expand at all) to 1 (meaning the child expands to fill all of the available space).The alignment settings are used to position the child widget within the available area. The values range from 0 (top or left) to 1 (bottom or right). If the scale settings are both set to 1, (making the child expand), the alignment settings have no effect.To add a child to an Alignment, use the method from the class.Gtk.BinAtk.ImplementorGLib.IWrapperGLib.IWrapperSystem.IDisposableMethodSystem.VoidAdjusts all the alignment and scale properties.
The horizontal alignment of the child widget, from 0 (left) to 1 (right).
The vertical alignment of the child widget, from 0 (top) to 1 (bottom).
The amount that the child widget expands horizontally to fill up unused space, from 0 to 1.
The amount that the child widget expands vertically to fill up unused space, from 0 to 1.
For the scale parameters, a value of 0 indicates that the child widget should never expand. A value of 1 indicates that the child widget will expand to fill all of the space allocated for the Alignment.MethodSystem.VoidDisposes the resources associated with the object.ConstructorInternal constructor
Pointer to the C object.
An instance of Alignment, wrapping the C object.This is an internal constructor, and should not be used by user code.ConstructorCreates a new Alignment with the specified alignment and spacing.
The horizontal alignment of the child widget, from 0 (left) to 1 (right).
The vertical alignment of the child widget, from 0 (top) to 1 (bottom).
The amount that the child widget expands horizontally to fill up unused space, from 0 to 1.
The amount that the child widget expands vertically to fill up unused space, from 0 to 1.
A new Alignment.PropertySystem.SingleManage the vertical alignment of the child widget.
A new vertical alignment for the child widget.
The child widget's current vertical alignment.This property is a value between 0 and 1 where 0 indicates alignment at the top of the container, and 1 indicates alignment at the bottom of the container.PropertySystem.SingleManage the horizontal alignment of the child widget.
A new horizontal alignment for the child widget.
The child widget's current horizontal alignment.This property is a value between 0 and 1, where 0 indicates no child expansion, and 1 indicates the child expands to fill the Alignment's allocated horizontal size.PropertySystem.SingleManage the horizontal expansion of the child widget.
The proportion that the child widget should expand horizontally.
The current horizontal expansion of the child widget.This property is a value between 0 and 1, where 0 indicates no child expansion, and 1 indicates the child expands to fill the Alignment's allocated horizontal size.PropertySystem.SingleManage the vertical expansion of the child widget.
The proportion that the child widget should expand vertically.
The current vertical expansion of the child widget.This property is a value between 0 and 1, where 0 indicates no child expansion, and 1 indicates the child expands to fill the Alignment's allocated vertical size.PropertyGLib.GTypeGType Property.a Returns the native value for .ConstructorProtected Constructor.
a a Chain to this constructor if you have manually registered a native value for your subclass.PropertySystem.UInt32The padding to insert at the left of the child widget.a PropertySystem.UInt32The padding to insert at the bottom of the child widget.a PropertySystem.UInt32The padding to insert at the top of the child widget.a PropertySystem.UInt32The padding to insert at the right of the child widget.a MethodSystem.Void
Gets the padding on the different sides of the widget.
a
a
a
a This is a convenience method.
See also .MethodSystem.Void
Sets the padding on the different sides of the widget.
a
a
a
a
The padding adds blank space to the vertical or horizontal sides
of the widget. For instance, this can be used to indent the child
widget towards the right by adding padding on the left.
This is a convenience method; the properties can also
be set directly.