2018-04-18 10:03:11 -07:00
|
|
|
import elm_general;
|
2016-04-19 08:36:54 -07:00
|
|
|
|
2016-08-10 07:23:04 -07:00
|
|
|
class Elm.View.List (Efl.Object)
|
2015-07-01 15:27:30 -07:00
|
|
|
{
|
2016-11-24 06:13:04 -08:00
|
|
|
[[Elementary view list class]]
|
2015-07-01 15:27:30 -07:00
|
|
|
methods {
|
|
|
|
genlist_set {
|
2015-07-31 06:50:24 -07:00
|
|
|
[[Constructor wrapper
|
|
|
|
|
|
|
|
@since 1.11
|
|
|
|
]]
|
2015-07-01 15:27:30 -07:00
|
|
|
params {
|
2016-06-20 21:26:15 -07:00
|
|
|
@in genlist: Efl.Canvas.Object; [[Genlist object]]
|
2016-01-21 13:37:05 -08:00
|
|
|
@in item_type: Elm.Genlist.Item.Type; [[Item type]]
|
2016-05-31 08:02:26 -07:00
|
|
|
@in item_style: string; [[The current item style name. $null would be default.]]
|
2015-07-01 15:27:30 -07:00
|
|
|
}
|
|
|
|
}
|
|
|
|
evas_object_get {
|
2015-07-31 06:50:24 -07:00
|
|
|
[[Return evas object
|
|
|
|
|
|
|
|
@since 1.11
|
|
|
|
]]
|
2015-07-01 15:27:30 -07:00
|
|
|
params {
|
2016-06-20 21:26:15 -07:00
|
|
|
@out widget: Efl.Canvas.Object; [[Returned widget]]
|
2015-07-01 15:27:30 -07:00
|
|
|
}
|
|
|
|
}
|
|
|
|
property_connect {
|
2015-07-31 06:50:24 -07:00
|
|
|
[[Connect property
|
|
|
|
|
|
|
|
@since 1.11
|
|
|
|
]]
|
2015-07-01 15:27:30 -07:00
|
|
|
params {
|
2016-05-31 08:02:26 -07:00
|
|
|
@in property: string; [[Property name]]
|
|
|
|
@in part: string; [[Edje's theme part]]
|
2015-07-01 15:27:30 -07:00
|
|
|
}
|
|
|
|
}
|
2018-02-02 14:08:24 -08:00
|
|
|
@property model {
|
|
|
|
set {
|
|
|
|
[[Set model
|
2015-07-31 06:50:24 -07:00
|
|
|
|
2018-02-02 14:08:24 -08:00
|
|
|
@since 1.11
|
|
|
|
]]
|
2015-07-01 15:27:30 -07:00
|
|
|
}
|
2018-02-02 14:08:24 -08:00
|
|
|
get {
|
2015-07-31 06:50:24 -07:00
|
|
|
[[Get model
|
|
|
|
|
|
|
|
@since 1.11
|
|
|
|
]]
|
2018-02-02 14:08:24 -08:00
|
|
|
}
|
|
|
|
values {
|
|
|
|
model: Efl.Model; [[Efl.Model to set]]
|
2015-07-01 15:27:30 -07:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
/* For some reason the following comment after the event doesn't work: Event dispatch when a model is selected */
|
|
|
|
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
|
|
|
model,selected: Efl.Object; [[Called when model was selected]]
|
2015-07-01 15:27:30 -07:00
|
|
|
}
|
|
|
|
implements {
|
2016-08-10 07:23:04 -07:00
|
|
|
Efl.Object.destructor;
|
2015-07-01 15:27:30 -07:00
|
|
|
}
|
|
|
|
constructors {
|
|
|
|
.genlist_set;
|
|
|
|
}
|
|
|
|
}
|