gtk-sharp 2.6.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. A 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. Gtk.Widget Method System.Void Sets the alignment of the widget. The horizontal alignment, from 0 (left) to 1 (right). The vertical alignment, from 0 (top) to 1 (bottom). To be added. Method System.Void Sets the amount of space to add around the widget. 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. To be added. Constructor Internal constructor Pointer to the C object. This is an internal constructor, and should not be used by user code. Property System.Single The vertical alignment The vertical alignment GLib.Property(Name="yalign") Property System.Single The horizontal alignment The horizontal alignment GLib.Property(Name="xalign") Property System.Int32 The 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. GLib.Property(Name="ypad") Property System.Int32 The 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. GLib.Property(Name="xpad") Method System.Void Gets the padding in the X and Y directions of the widget. See ). Location to store padding in the X direction, or . Location to store padding in the Y direction, or . Method System.Void Gets the X and Y alignment of the widget within its allocation. See . Location to store X alignment of misc, or . Location to store Y alignment of misc, or . Property GLib.GType GType Property. a Returns the native value for . Constructor Protected Constructor. a Chain to this constructor if you have manually registered a native value for your subclass. System.Obsolete(Message=null, IsError=False) Constructor Protected constructor. Protected constructor.