2018-04-06 09:15:31 -07:00
|
|
|
class Efl.Ui.Spin (Efl.Ui.Layout.Object, Efl.Ui.Range, Efl.Ui.Format,
|
2017-11-20 02:12:49 -08:00
|
|
|
Efl.Access.Value, Efl.Access.Widget.Action)
|
|
|
|
{
|
|
|
|
[[A Spin.
|
|
|
|
|
|
|
|
This is a widget which allows the user to increase or decrease numeric values
|
2018-01-04 04:16:23 -08:00
|
|
|
using user interactions. It's a basic type of widget for choosing and displaying values.
|
2017-11-20 02:12:49 -08:00
|
|
|
|
|
|
|
@since 1.21
|
|
|
|
]]
|
|
|
|
implements {
|
|
|
|
Efl.Object.constructor;
|
|
|
|
Efl.Object.destructor;
|
2018-01-07 20:55:35 -08:00
|
|
|
Efl.Ui.Widget.widget_event;
|
2017-11-20 02:12:49 -08:00
|
|
|
Efl.Ui.Range.range_min_max { get; set; }
|
|
|
|
Efl.Ui.Range.range_step { get; set; }
|
|
|
|
Efl.Ui.Range.range_value { get; set; }
|
|
|
|
Efl.Ui.Format.format_cb { set; }
|
|
|
|
}
|
|
|
|
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 spin changed]]
|
|
|
|
min,reached: void; [[Called when spin value reached min]]
|
|
|
|
max,reached: void; [[Called when spin value reached max]]
|
2017-11-20 02:12:49 -08:00
|
|
|
}
|
|
|
|
}
|