Description

Values

  • mode - The zoom mode.

Getter

Get the zoom mode

This gets the current zoom mode of the zoomable object.

Setter

Set the zoom mode

This sets the zoom mode to manual or one of several automatic levels. Manual (EFL_UI_ZOOM_MODE_MANUAL) means that zoom is set manually by Efl.Ui.Zoom.zoom.set and will stay at that level until changed by code or until zoom mode is changed. This is the default mode. The Automatic modes will allow the zoomable object to automatically adjust zoom mode based on properties.

#EFL_UI_ZOOM_MODE_AUTO_FIT) will adjust zoom so the photo fits EXACTLY inside the scroll frame with no pixels outside this region. #EFL_UI_ZOOM_MODE_AUTO_FILL will be similar but ensure no pixels within the frame are left unfilled.

Signature

@property zoom_mode @pure_virtual {
    get {
        values {
            mode: Efl.Ui.Zoom.Mode;
        }
    }
    set {
        values {
            mode: Efl.Ui.Zoom.Mode;
        }
    }
}

C signature

Efl_Ui_Zoom_Mode efl_ui_zoom_mode_get(const Eo *obj);
void efl_ui_zoom_mode_set(Eo *obj, Efl_Ui_Zoom_Mode mode);

Implemented by

  • Efl.Ui.Zoom.zoom_mode