Efl.Ui.Scrollable.gravity

Description

Control scrolling gravity on the scrollable.

The gravity defines how the scroller will adjust its view when the size of the scroller contents increases.

The scroller will adjust the view to glue itself as follows: x=0.0 to stay where it is relative to the left edge of the content. x=1.0 to stay where it is relative to the right edge of the content. y=0.0 to stay where it is relative to the top edge of the content. y=1.0 to stay where it is relative to the bottom edge of the content.

Since 1.23

Values

  • x - Horizontal scrolling gravity.
  • y - Vertical scrolling gravity.

Signature

@property gravity @pure_virtual {
    get {}
    set {}
    values {
        x: double (0.000000);
        y: double (0.000000);
    }
}

C signature

void efl_ui_scrollable_gravity_get(const Eo *obj, double *x, double *y);
void efl_ui_scrollable_gravity_set(Eo *obj, double x, double y);

Implemented by