AspectFrame


Object Hierarchy:

Gtk.AspectFrame Gtk.AspectFrame Gtk.AspectFrame Gtk.Widget Gtk.Widget Gtk.Widget->Gtk.AspectFrame GLib.InitiallyUnowned GLib.InitiallyUnowned GLib.InitiallyUnowned->Gtk.Widget GLib.Object GLib.Object GLib.Object->GLib.InitiallyUnowned Gtk.Accessible Gtk.Accessible Gtk.Accessible->Gtk.AspectFrame Gtk.Accessible->Gtk.Widget Gtk.Buildable Gtk.Buildable Gtk.Buildable->Gtk.AspectFrame Gtk.Buildable->Gtk.Widget Gtk.ConstraintTarget Gtk.ConstraintTarget Gtk.ConstraintTarget->Gtk.AspectFrame Gtk.ConstraintTarget->Gtk.Widget

Description:

[ CCode ( type_id = "gtk_aspect_frame_get_type ()" ) ]
public class AspectFrame : Widget, Accessible, Buildable, ConstraintTarget

`GtkAspectFrame` preserves the aspect ratio of its child.

The frame can respect the aspect ratio of the child widget, or use its own aspect ratio.

CSS nodes

`GtkAspectFrame` uses a CSS node with name `frame`.


Namespace: Gtk
Package: gtk4

Content:

Properties:

Creation methods:

Methods:

Inherited Members:

All known members inherited from class Gtk.Widget
All known members inherited from class GLib.Object



2022 vala-language.org