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


  • default - Default direction. Each widget may have a different default.
  • horizontal - Horizontal direction, along the X axis. Usually left-to-right, but can be inverted.
  • vertical - Vertical direction, along the Y axis. Usually downwards but can be inverted.
  • axis_bitmask - This bitmask can be used to isolate the axis value from the rest of bits.
  • inverted - Add this value to make the object invert its default direction along the selected axis.


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

C signature