elementary: add an Efl.Ui.Model.State in charge of visibility, selection and enable state.

This commit is contained in:
Cedric Bail 2017-12-12 17:49:10 -08:00 committed by Cedric BAIL
parent 4a54ae0b0a
commit 46ac187bd8
2 changed files with 17 additions and 0 deletions

View File

@ -119,6 +119,7 @@ elm_public_eolian_files = \
lib/elementary/efl_page_transition_scroll.eo \
lib/elementary/efl_page_indicator.eo \
lib/elementary/efl_page_indicator_icon.eo \
lib/elementary/efl_ui_model_state.eo \
$(NULL)
# More public files -- FIXME

View File

@ -0,0 +1,16 @@
class Efl.Ui.Model_State (Efl.Model_Composite_Boolean)
{
[[Efl model handling visibility, enable and selected state]]
implements {
Efl.Object.constructor;
Efl.Model.property { set; }
}
events {
enable;
disable;
show;
hide;
selected;
unselected;
}
}