Description

Virtual function handling canvas orientation changes.

This method will be called recursively from the top widget (the window) to all the children objects whenever the window rotation is changed. The given rotation will be one of 0, 90, 180, 270 or the special value -1 if Efl.Ui.Widget.orientation_mode_disabled is true.

If Efl.Ui.Widget.orientation_mode_disabled is false, the default implementation will emit the signal "elm,state,orient,R" will be emitted (where R is the rotation angle in degrees).

This function may be called even if the orientation has not actually changed, like when a widget needs to be reconfigured.

See also Efl.Orientation.orientation.set.

Signature

on_orientation_update @protected {
    params {
        @in rotation: int;
    }
}

C signature

void efl_ui_widget_on_orientation_update(Eo *obj, int rotation);

Parameters

Implemented by

  • Efl.Ui.Widget.on_orientation_update