class ALIGNMENT

Features exported to ANY

This class is used to describe widget position inside area choosen by the container's layout. x is in range 0.0 to 1.0 from left to right (0.5 is the middle) y is in range 0.0 to 1.0 from top to bottom (0.5 is the middle) Alignment is useful only if x_expand_allowed or y_expand_allowed is True and the space given to the object is bigger than it's standard size.

Direct parents

non-conformant parents

ANY

Summary

creation features

exported features

Details

default_create

Default creation method. It is used when no creation method is specified if allowed. Note it may be renamed.

make (x_pos: REAL, y_pos: REAL)
x: REAL
y: REAL
make (x_pos: REAL, y_pos: REAL)
left
right
top
bottom
horizontal_center
vertical_center

Class invariant