Description

Control whether the spin should circulate value when it reaches its minimum or maximum value.

Disabled by default. If disabled, when the user tries to increment the value but displayed value plus step value is bigger than maximum value, the new value will be the maximum value. The same happens when the user tries to decrement it but the value less step is less than minimum value. In this case, the new displayed value will be the minimum value.

If enabled, when the user tries to increment the value but displayed value plus step value is bigger than maximum value, the new value will become the minimum value. When the the user tries to decrement it, if the value minus step is less than minimum value, the new displayed value will be the maximum value.

E.g.: min = 10 max = 50 step = 20 displayed = 20

When the user decrements the value (using left or bottom arrow), it will display $50.

Since 1.21

Values

  • circulate - true to enable circulate or false to disable it.

Signature

@property circulate {
    get {
        values {
            circulate: bool (false);
        }
    }
    set {
        values {
            circulate: bool (false);
        }
    }
}

C signature

Eina_Bool efl_ui_spin_button_circulate_get(const Eo *obj);
void efl_ui_spin_button_circulate_set(Eo *obj, Eina_Bool circulate);

Implemented by

  • Efl.Ui.Spin_Button.circulate