# Class GTK1.Misc

Inheritance graph

Description

  The GTK1.Misc 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.

  `GTK1.Vbox(0,0)->add(GTK1.Label("Label"))->set_usize(100,20)`

  `GTK1.Vbox(0,0)->add(GTK1.Label("Label")->set_alignment(1.0,0.0))->set_usize(100,20)`

  `GTK1.Vbox(0,0)->add(GTK1.Label("Label")->set_alignment(0.0,0.0))->set_usize(100,20)`

Inherit Widget

  inherit GTK1.Widget : Widget