Misc


Object Hierarchy:

Gtk.Misc Gtk.Misc Gtk.Misc Gtk.Widget Gtk.Widget Gtk.Widget->Gtk.Misc GLib.InitiallyUnowned GLib.InitiallyUnowned GLib.InitiallyUnowned->Gtk.Widget GLib.Object GLib.Object GLib.Object->GLib.InitiallyUnowned Atk.Implementor Atk.Implementor Atk.Implementor->Gtk.Misc Atk.Implementor->Gtk.Widget Gtk.Buildable Gtk.Buildable Gtk.Buildable->Gtk.Misc Gtk.Buildable->Gtk.Widget

Description:

[ 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

Content:

Properties:

Creation methods:

Methods:

Inherited Members:

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



2022 vala-language.org