efl/src/lib/elementary/efl_ui_list.eo

114 lines
3.5 KiB
Plaintext

import elm_general;
struct Efl.Ui.List.Item_Event
{
layout: Efl.Ui.Layout;
child: Efl.Model;
index: int;
}
class Efl.Ui.List (Efl.Ui.Layout, Efl.Ui.View, Efl.Ui.Scrollable.Interactive, Efl.Ui.Scrollbar,
Efl.Access.Widget.Action, Efl.Access.Selection,
Efl.Ui.Clickable, Efl.Ui.Selectable, Efl.Ui.List.Model)
{
methods {
@property relayout {
values {
object: Efl.Ui.List.Relayout;
}
}
@property homogeneous {
get {
[[Get whether the homogeneous mode is enabled.]]
}
set {
[[Enable/disable homogeneous mode.]]
}
values {
homogeneous: bool; [[Assume the items within the genlist are of
the same height and width. Default is $false.]]
}
}
@property select_mode {
[[Listview select mode.]]
get {}
set {}
values {
mode: Elm.Object.Select_Mode(Elm.Object.Select_Mode.max); [[The select mode.]]
}
}
@property default_style {
values {
style: stringshare;
}
}
@property layout_factory {
[[Listview layout factory set.]]
set {}
values {
factory: Efl.Ui.Factory; [[The factory.]]
}
}
}
events {
item,realized : Efl.Ui.List.Item_Event;
item,unrealized : Efl.Ui.List.Item_Event;
item,focused : Efl.Ui.List.Item_Event;
item,unfocused : Efl.Ui.List.Item_Event;
item,highlighted : Efl.Ui.List.Item_Event;
item,unhighlighted : Efl.Ui.List.Item_Event;
item,selected : Efl.Ui.List.Item_Event;
item,unselected : Efl.Ui.List.Item_Event;
}
implements {
Efl.Object.constructor;
Efl.Object.finalize;
Efl.Object.destructor;
Efl.Gfx.position { set; }
Efl.Gfx.size { set; }
// Smart obj
Efl.Canvas.Group.group_member_add;
Efl.Canvas.Group.group_calculate;
Efl.Ui.List.Model.load_range { set;}
Efl.Ui.List.Model.realize;
Efl.Ui.List.Model.unrealize;
Efl.Ui.List.Model.size { get; }
Efl.Ui.List.Model.min_size { get; set; }
// Widget
// Elm.Widget.focus_next_manager_is;
// Elm.Widget.focus_direction_manager_is;
// Elm.Widget.focus_register;
// Elm.Widget.focus_next;
// Elm.Widget.on_focus_update;
// Elm.Widget.activate;
// Elm.Widget.focused_item { get; }
// Elm.Widget.focused_object { get; }
Efl.Ui.Widget.focus_manager_create;
Efl.Ui.Widget.widget_event;
// Efl.Ui.Focus.Manager.focus {set; }
//Efl.Ui.Layout.sizing_eval;
Efl.Ui.View.model { get; set; }
Efl.Ui.Scrollable.Interactive.viewport_geometry { get; }
Efl.Ui.Scrollable.Interactive.content_pos { get; set; }
Efl.Ui.Scrollable.Interactive.content_size { get; }
// Efl.Ui.Scrollable.Interactive.scroll;
Efl.Layout.Signal.signal_callback_add;
Efl.Layout.Signal.signal_callback_del;
// Elm.Interface.Atspi_Accessible.children { get; }
// Elm.Interface.Atspi_Widget.Action.elm_actions { get; }
// Efl.Access.Widget.Action.elm_actions { get; }
Efl.Access.Selection.selected_children_count { get; }
Efl.Access.Selection.selected_child { get; }
Efl.Access.Selection.selected_child_deselect;
Efl.Access.Selection.child_select;
Efl.Access.Selection.child_deselect;
Efl.Access.Selection.is_child_selected;
Efl.Access.Selection.all_children_select;
Efl.Access.Selection.clear;
}
}