gtk-sharpGtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details.Gtk.WidgetA base class for widgets with alignments and padding.
The GtkMisc widget is an abstract widget which is not useful itself, but is used to derive subclasses which have alignment and padding attributes.
The horizontal and vertical padding attributes allows extra space to be added around the widget.
The horizontal and vertical alignment attributes enable the widget to be positioned within its allocated area. Note that if the widget is added to a container in such a way that it expands automatically to fill its allocated area, the alignment settings will not alter the widgets position.
ConstructorProtected constructor.Protected constructor.Constructor
Pointer to the C object.
Internal constructorThis is an internal constructor, and should not be used by user code.MethodSystem.Void
Location to store X alignment of misc, or .
Location to store Y alignment of misc, or .
Gets the X and Y alignment of the widget within its allocation. See .MethodSystem.Void
Location to store padding in the X direction, or .
Location to store padding in the Y direction, or .
Gets the padding in the X and Y directions of the widget. See ).PropertyGLib.GTypeGType Property.a Returns the native value for .MethodSystem.Void
The horizontal alignment, from 0 (left) to 1 (right).
The vertical alignment, from 0 (top) to 1 (bottom).
Sets the alignment of the widget.To be added.MethodSystem.Void
The amount of space to add on the left and right of the widget, in pixels.
The amount of space to add on the top and bottom of the widget, in pixels.
Sets the amount of space to add around the widget.To be added.PropertyGLib.Property("xalign")System.SingleThe horizontal alignmentThe horizontal alignmentPropertyGLib.Property("xpad")System.Int32The amount of space to add on the top and bottom of the widget, in pixels.The amount of space to add on the top and bottom of the widget, in pixels.PropertyGLib.Property("yalign")System.SingleThe vertical alignmentThe vertical alignmentPropertyGLib.Property("ypad")System.Int32The amount of space to add on the left and right of the widget, in pixels.The amount of space to add on the left and right of the widget, in pixels.