GtkAlignment

GtkAlignment

A container that controls the alignment and scale of its child.

Object Hierarchy

GtkObject
`-- GtkWidget
       `-- GtkContainer
              `-- GtkBin
                     `-- GtkAlignment

Direct subclasses

None.

Description

GtkAlignment is a container class that controls the alignment and scale of its child widget, relative to its own dimensions.

Where the child widget has sizing responsibilites to a child or children of its own, these are fulfilled as a priority. For example, a GtkButton with a label will never be scaled down to the minimal size that the same widget with no label can; the label is the button's child, and the button must honour its size request.

See also: GtkAspectFrame, GtkContainer, set_uposition() , set_usize() .

Constructor

GtkAlignment (double xalign, double yalign, double xscale, double yscale);
-- Creates a container that determines its child's alignment and scale.

Methods

set()
  Sets new parameter values for an existing GtkAlignment.

© Copyright 2003-2023 www.php-editors.com. The ultimate PHP Editor and PHP IDE site.