Table of Contents

Efl.Ui.Collection_View.focus_state_apply

Description

Apply a new focus state on the widget.

This method is called internally by Efl.Ui.Widget. Override it to change how a widget interacts with its focus manager. If a widget desires to change the applied configuration, it has to modify configured_state in addition to any internal changes.

The default implementation (when this method is not overridden) applies configured_state using the manager contained inside.

Since 1.22

Overridden from Efl.Ui.Widget.focus_state_apply.

Signature

focus_state_apply @protected {
    params {
        @in current_state: Efl.Ui.Widget_Focus_State;
        @inout configured_state: Efl.Ui.Widget_Focus_State;
        @in redirect: Efl.Ui.Widget;
    }
    return: bool;
}

C signature

Eina_Bool efl_ui_widget_focus_state_apply(Eo *obj, Efl_Ui_Widget_Focus_State current_state, Efl_Ui_Widget_Focus_State configured_state, Efl_Ui_Widget *redirect);

Parameters

Implemented by