2019-02-28 07:23:11 -08:00
|
|
|
class @beta Efl.Ui.Datepicker extends Efl.Ui.Layout_Base
|
2018-04-25 00:43:53 -07:00
|
|
|
{
|
|
|
|
[[Datepicker widget
|
|
|
|
|
|
|
|
This is a widget which allows the user to pick a date using internal spinner.
|
|
|
|
User can use the internal spinner to select year, month, day or user can input
|
|
|
|
value using internal entry.
|
|
|
|
]]
|
|
|
|
methods {
|
|
|
|
@property min {
|
|
|
|
[[The lower boundary of date.
|
|
|
|
|
|
|
|
$year: Year. The year range is from 1900 to 2137.
|
|
|
|
|
|
|
|
$month: Month. The month range is from 1 to 12.
|
|
|
|
|
|
|
|
$day: Day. The day range is from 1 to 31 according to $month.
|
|
|
|
]]
|
|
|
|
set {
|
|
|
|
}
|
|
|
|
get{
|
|
|
|
}
|
|
|
|
values {
|
|
|
|
year: int; [[The year value.]]
|
|
|
|
month: int; [[The month value from 1 to 12.]]
|
|
|
|
day: int; [[The day value from 1 to 31.]]
|
|
|
|
}
|
|
|
|
}
|
|
|
|
@property max {
|
|
|
|
[[The upper boundary of date.
|
|
|
|
|
|
|
|
$year: Year. The year range is from 1900 to 2137.
|
|
|
|
|
|
|
|
$month: Month. The month range is from 1 to 12.
|
|
|
|
|
|
|
|
$day: Day. The day range is from 1 to 31 according to $month.
|
|
|
|
]]
|
|
|
|
set {
|
|
|
|
}
|
|
|
|
get {
|
|
|
|
}
|
|
|
|
values {
|
|
|
|
year: int; [[The year value.]]
|
|
|
|
month: int; [[The month value from 1 to 12.]]
|
|
|
|
day: int; [[The day value from 1 to 31.]]
|
|
|
|
}
|
|
|
|
}
|
|
|
|
@property date {
|
|
|
|
[[The current value of date.
|
|
|
|
|
|
|
|
$year: Year. The year range is from 1900 to 2137.
|
|
|
|
|
|
|
|
$month: Month. The month range is from 0 to 11.
|
|
|
|
|
|
|
|
$day: Day. The day range is from 1 to 31 according to $month.
|
|
|
|
]]
|
|
|
|
set {
|
|
|
|
}
|
|
|
|
get{
|
|
|
|
}
|
|
|
|
values {
|
|
|
|
year: int; [[The year value.]]
|
|
|
|
month: int; [[The month value from 1 to 12.]]
|
|
|
|
day: int; [[The day value from 1 to 31.]]
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
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 value is changed]]
|
2018-04-25 00:43:53 -07:00
|
|
|
}
|
|
|
|
}
|