diff options
Diffstat (limited to 'src/lib/elm_nstate.eo')
-rw-r--r-- | src/lib/elm_nstate.eo | 47 |
1 files changed, 47 insertions, 0 deletions
diff --git a/src/lib/elm_nstate.eo b/src/lib/elm_nstate.eo new file mode 100644 index 000000000..6ff0f89a1 --- /dev/null +++ b/src/lib/elm_nstate.eo @@ -0,0 +1,47 @@ +class Elm.Nstate(Elm.Button) +{ + eo_prefix: efl_ui_nstate; + legacy_prefix: null; + data: Elm_Nstate_Data; + methods { + activate @protected { + } + @property count { + set { + [[Set the maximum number of states. + ]] + } + get { + [[Get the max number of states. + ]] + } + values { + nstate: int; [[The number of states.]] + } + } + @property value { + set { + [[Set the particular state given in (0...nstate}. + ]] + } + get { + [[Get the state value. + ]] + } + values { + state: int; [[The state.]] + } + } + } + implements { + class.constructor; + Eo.Base.constructor; + Evas.Object_Smart.add; + Evas.Object_Smart.del; + Elm.Widget.theme_apply; + Elm.Widget.event; + } + events { + state,changed; + } +} |