2019-01-18 05:22:23 -08:00
|
|
|
class Efl.Ui.Timepicker extends Efl.Ui.Layout
|
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.]]
|
|
|
|
}
|
|
|
|
}
|
|
|
|
@property ampm {
|
|
|
|
[[Control if the Timepicker displays 24 hour time or 12 hour time including AM/PM button.]]
|
|
|
|
set {
|
|
|
|
}
|
|
|
|
get {
|
|
|
|
}
|
|
|
|
values {
|
|
|
|
is_24hour: bool; [[$true to display the 24 hour time, $false to display 12 hour time including AM/PM button.]]
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
implements {
|
|
|
|
Efl.Object.constructor;
|
|
|
|
Efl.Object.destructor;
|
|
|
|
}
|
|
|
|
events {
|
efl: Add missing event types
Summary:
All events must have a type now, otherwise bindings don't know how to handle
the event_info field.
Most of the missing event types were actually "void" (no event_info present).
Some struct definitions had to be moved to eo instead of h files, so they
are available to bindings. Some have not, and are marked with FIXME.
Some namespaces have been fixed (like Efl_Event_Cb -> Efl.Event_Cb).
In general, there are hundreds of changed files, but mostly to add a type which
was not present before, so there's no harm done.
Also, A lot of FIXMEs have been added which should be, like, fixed.
For example, some events can send different types of event_info, which is
very inconvenient (and error prone).
Test Plan: make with c# bindings works, make check and make examples work too.
Reviewers: cedric, q66, lauromoura
Subscribers: zmike
Tags: #efl
Differential Revision: https://phab.enlightenment.org/D6169
2018-05-11 08:20:40 -07:00
|
|
|
changed: void; [[Called when date is changed]]
|
2018-04-25 00:43:53 -07:00
|
|
|
}
|
|
|
|
}
|