Table of Contents

Description

Orientation for UI objects and layouts that can have multiple configurations.

Select among horizontal or vertical orientations (or use default to let the object decide). Additionally, inverted can be added to reverse the direction along the selected axis.

Not to be confused with Efl.Gfx.Image_Orientation which is for images and canvases. This enum is used to define how widgets should expand and orient themselves, not to rotate images.

See also Efl.Ui.Layout_Orientable.

Since 1.23

Fields

Signature

enum Efl.Ui.Layout_Orientation {
    default: 0,
    horizontal: 1,
    vertical: 2,
    axis_bitmask: 3,
    inverted: 4
}

C signature

typedef enum {
    EFL_UI_LAYOUT_ORIENTATION_DEFAULT = 0,
    EFL_UI_LAYOUT_ORIENTATION_HORIZONTAL = 1,
    EFL_UI_LAYOUT_ORIENTATION_VERTICAL = 2,
    EFL_UI_LAYOUT_ORIENTATION_AXIS_BITMASK = 3,
    EFL_UI_LAYOUT_ORIENTATION_INVERTED = 4
} Efl_Ui_Layout_Orientation;