2017-05-21 20:48:12 -07:00
|
|
|
class Efl.Ui.Nstate(Efl.Ui.Button)
|
elm_nstate: introduce nstate widget and inherit check from it
Test Plan:
elementary_test -to "nstate"
@feature
Reviewers: yashu21985, tasn, Hermet, seoz, smohanty, felipealmeida, JackDanielZ, jypark, woohyun, herdsman, raster, cedric, jpeg
Subscribers: saurabhbunty, seoz
Differential Revision: https://phab.enlightenment.org/D3786
2016-04-07 02:25:59 -07:00
|
|
|
{
|
2016-11-17 03:52:44 -08:00
|
|
|
[[Efl UI nstate class]]
|
elm_nstate: introduce nstate widget and inherit check from it
Test Plan:
elementary_test -to "nstate"
@feature
Reviewers: yashu21985, tasn, Hermet, seoz, smohanty, felipealmeida, JackDanielZ, jypark, woohyun, herdsman, raster, cedric, jpeg
Subscribers: saurabhbunty, seoz
Differential Revision: https://phab.enlightenment.org/D3786
2016-04-07 02:25:59 -07:00
|
|
|
methods {
|
|
|
|
activate @protected {
|
2016-11-17 03:52:44 -08:00
|
|
|
[[Activate widget]]
|
elm_nstate: introduce nstate widget and inherit check from it
Test Plan:
elementary_test -to "nstate"
@feature
Reviewers: yashu21985, tasn, Hermet, seoz, smohanty, felipealmeida, JackDanielZ, jypark, woohyun, herdsman, raster, cedric, jpeg
Subscribers: saurabhbunty, seoz
Differential Revision: https://phab.enlightenment.org/D3786
2016-04-07 02:25:59 -07:00
|
|
|
}
|
|
|
|
@property count {
|
2016-11-17 03:52:44 -08:00
|
|
|
[[Maximum number of states]]
|
elm_nstate: introduce nstate widget and inherit check from it
Test Plan:
elementary_test -to "nstate"
@feature
Reviewers: yashu21985, tasn, Hermet, seoz, smohanty, felipealmeida, JackDanielZ, jypark, woohyun, herdsman, raster, cedric, jpeg
Subscribers: saurabhbunty, seoz
Differential Revision: https://phab.enlightenment.org/D3786
2016-04-07 02:25:59 -07:00
|
|
|
set {
|
|
|
|
}
|
|
|
|
get {
|
|
|
|
}
|
|
|
|
values {
|
|
|
|
nstate: int; [[The number of states.]]
|
|
|
|
}
|
|
|
|
}
|
|
|
|
@property value {
|
|
|
|
set {
|
2016-11-17 03:52:44 -08:00
|
|
|
[[Set the particular state given in (0...nstate}.]]
|
elm_nstate: introduce nstate widget and inherit check from it
Test Plan:
elementary_test -to "nstate"
@feature
Reviewers: yashu21985, tasn, Hermet, seoz, smohanty, felipealmeida, JackDanielZ, jypark, woohyun, herdsman, raster, cedric, jpeg
Subscribers: saurabhbunty, seoz
Differential Revision: https://phab.enlightenment.org/D3786
2016-04-07 02:25:59 -07:00
|
|
|
}
|
|
|
|
get {
|
2016-11-17 03:52:44 -08:00
|
|
|
[[Get the state value.]]
|
elm_nstate: introduce nstate widget and inherit check from it
Test Plan:
elementary_test -to "nstate"
@feature
Reviewers: yashu21985, tasn, Hermet, seoz, smohanty, felipealmeida, JackDanielZ, jypark, woohyun, herdsman, raster, cedric, jpeg
Subscribers: saurabhbunty, seoz
Differential Revision: https://phab.enlightenment.org/D3786
2016-04-07 02:25:59 -07:00
|
|
|
}
|
|
|
|
values {
|
|
|
|
state: int; [[The state.]]
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
implements {
|
|
|
|
class.constructor;
|
2016-08-10 07:23:04 -07:00
|
|
|
Efl.Object.constructor;
|
elm_nstate: introduce nstate widget and inherit check from it
Test Plan:
elementary_test -to "nstate"
@feature
Reviewers: yashu21985, tasn, Hermet, seoz, smohanty, felipealmeida, JackDanielZ, jypark, woohyun, herdsman, raster, cedric, jpeg
Subscribers: saurabhbunty, seoz
Differential Revision: https://phab.enlightenment.org/D3786
2016-04-07 02:25:59 -07:00
|
|
|
Elm.Widget.theme_apply;
|
2017-01-01 23:48:17 -08:00
|
|
|
Elm.Widget.widget_event;
|
elm_nstate: introduce nstate widget and inherit check from it
Test Plan:
elementary_test -to "nstate"
@feature
Reviewers: yashu21985, tasn, Hermet, seoz, smohanty, felipealmeida, JackDanielZ, jypark, woohyun, herdsman, raster, cedric, jpeg
Subscribers: saurabhbunty, seoz
Differential Revision: https://phab.enlightenment.org/D3786
2016-04-07 02:25:59 -07:00
|
|
|
}
|
|
|
|
events {
|
2017-12-11 22:55:43 -08:00
|
|
|
changed; [[Called when the value changed.]]
|
elm_nstate: introduce nstate widget and inherit check from it
Test Plan:
elementary_test -to "nstate"
@feature
Reviewers: yashu21985, tasn, Hermet, seoz, smohanty, felipealmeida, JackDanielZ, jypark, woohyun, herdsman, raster, cedric, jpeg
Subscribers: saurabhbunty, seoz
Differential Revision: https://phab.enlightenment.org/D3786
2016-04-07 02:25:59 -07:00
|
|
|
}
|
|
|
|
}
|