Description

Indicates whether this item is currently selected.

Values

  • selected - The selection state.

Getter

Get the selected state of this item.

Setter

Set the selected state of item.

This sets the selected state of the given item it. true for selected, false for not selected.

If a new item is selected the previously selected will be unselected. Previously selected item can be retrieved with Efl.Ui.Menu.selected_item.get.

Selected items will be highlighted.

Signature

@property selected @pure_virtual {
    get {
        values {
            selected: bool;
        }
    }
    set {
        values {
            selected: bool;
        }
    }
}

C signature

Eina_Bool efl_ui_item_selected_get(const Eo *obj);
void efl_ui_item_selected_set(Eo *obj, Eina_Bool selected);

Implemented by

  • Efl.Ui.Item.selected