Object Hierarchy:

Object hierarchy for Misc


[ CCode ( type_id = "gtk_misc_get_type ()" ) ]
[ Version ( deprecated = true , deprecated_since = "3.14" ) ]
public abstract class Misc : Widget, Implementor, Buildable

Warning: Misc is deprecated since 3.14.

The 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 widget's position.

Note that the desired effect can in most cases be achieved by using the halign, valign and margin properties on the child widget, so GtkMisc should not be used in new code. To reflect this fact, all Misc API has been deprecated.

All known sub-classes:

Namespace: Gtk
Package: gtk+-3.0



Creation methods:


Inherited Members:

All known members inherited from class Gtk.Widget
All known members inherited from interface Atk.Implementor