declare first round of classes stable
this stabelizes the "stableized" column of the efl: api workboard.
fixes T8208,
fixes T8158,
fixes T8156,
fixes T8025,
fixes T8024,
fixes T7976,
fixes T7946,
fixes T7928,
fixes T7923,
fixes T7905,
fixes T7902,
fixes T7901,
fixes T7900,
fixes T7898,
fixes T7897,
fixes T7895,
fixes T7894,
fixes T7893,
fixes T7891,
fixes T7880,
fixes T7873,
fixes T7869,
fixes T7867,
fixes T7865,
fixes T7862,
fixes T7854,
fixes T7847,
fixes T7881,
fixes T7870,
fixes T9086
Differential Revision: https://phab.enlightenment.org/D10008
2019-09-09 02:23:04 -07:00
|
|
|
class Efl.Ui.Timepicker extends Efl.Ui.Layout_Base
|
2018-04-25 00:43:53 -07:00
|
|
|
{
|
|
|
|
[[Timepicker widget
|
2019-01-18 05:22:23 -08:00
|
|
|
|
|
|
|
This is a widget which allows the user to pick a time using internal spinner.
|
2018-04-25 00:43:53 -07:00
|
|
|
User can use the internal spinner to select hour, minute, AM/PM or user can input
|
|
|
|
value using internal entry.
|
|
|
|
]]
|
|
|
|
methods {
|
|
|
|
@property time {
|
|
|
|
[[The current value of time
|
|
|
|
|
|
|
|
$hour: Hour. The hour value is in terms of 24 hour format from 0 to 23.
|
|
|
|
|
|
|
|
$min: Minute. The minute range is from 0 to 59.
|
|
|
|
]]
|
|
|
|
set {
|
|
|
|
}
|
|
|
|
get{
|
|
|
|
}
|
|
|
|
values {
|
|
|
|
hour: int; [[The hour value from 0 to 23.]]
|
|
|
|
min: int; [[The minute value from 0 to 59.]]
|
|
|
|
}
|
|
|
|
}
|
2019-09-03 22:06:23 -07:00
|
|
|
@property is_24hour {
|
2018-04-25 00:43:53 -07:00
|
|
|
[[Control if the Timepicker displays 24 hour time or 12 hour time including AM/PM button.]]
|
|
|
|
set {
|
|
|
|
}
|
|
|
|
get {
|
|
|
|
}
|
|
|
|
values {
|
2019-09-02 07:24:26 -07:00
|
|
|
is_24hour: bool; [[$true to display the 24 hour time,
|
|
|
|
$false to display 12 hour time including AM/PM label.]]
|
2018-04-25 00:43:53 -07:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
implements {
|
|
|
|
Efl.Object.constructor;
|
|
|
|
Efl.Object.destructor;
|
|
|
|
}
|
|
|
|
events {
|
2019-09-12 01:24:51 -07:00
|
|
|
time,changed: void; [[Called when time is changed]]
|
2018-04-25 00:43:53 -07:00
|
|
|
}
|
|
|
|
}
|