summaryrefslogtreecommitdiff
path: root/src/lib/elementary/elm_menu_item.eo
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/elementary/elm_menu_item.eo')
-rw-r--r--src/lib/elementary/elm_menu_item.eo121
1 files changed, 0 insertions, 121 deletions
diff --git a/src/lib/elementary/elm_menu_item.eo b/src/lib/elementary/elm_menu_item.eo
deleted file mode 100644
index 8bc14ed..0000000
--- a/src/lib/elementary/elm_menu_item.eo
+++ /dev/null
@@ -1,121 +0,0 @@
1class Elm.Menu.Item extends Elm.Widget.Item implements Efl.Access.Selection, Efl.Ui.Legacy
2{
3 [[Elementary menu item class]]
4 legacy_prefix: elm_menu_item;
5 eo_prefix: elm_obj_menu_item;
6 methods {
7 @property icon_name {
8 get {
9 [[Get the string representation from the icon of a menu item
10
11 Once this icon is set, any previously set icon will be deleted.
12 To hide icon set it to "".
13 ]]
14 }
15 set {
16 [[Set the icon of a menu item to the standard icon with the
17 given name.
18
19 Once this icon is set, any previously set icon will be deleted.
20 To hide icon set it to "".
21 ]]
22 }
23 values {
24 icon: string; [[The name of icon object.]]
25 }
26 }
27 @property prev {
28 get {
29 [[Get the item before this one in the widget's list of items.
30
31 See also @.next.
32 ]]
33 }
34 values {
35 item: Elm.Widget.Item; [[The item before the object in its parent's
36 list. If there is no previous item or in case
37 of error, $null is returned.]]
38 }
39 }
40 @property next {
41 get {
42 [[Get the item after this one in the widget's list of items.
43
44 See also @.prev.
45 ]]
46 }
47 values {
48 item: Elm.Widget.Item; [[The item after the object in its parent's
49 list. If there is no next item or in case
50 of error, $null is returned.]]
51 }
52 }
53 @property selected {
54 [[Indicates whether this item is currently selected.]]
55 get {
56 [[Get the selected state of this item.]]
57 }
58 set {
59 [[Set the selected state of $item.
60
61 This sets the selected state of the given item $it.
62 $true for selected, $false for not selected.
63
64 If a new item is selected the previously selected will
65 be unselected. Previously selected item can be retrieved
66 with @Elm.Menu.selected_item.get.
67
68 Selected items will be highlighted.
69 ]]
70 }
71 values {
72 selected: bool; [[The selection state.]]
73 }
74 }
75 index_get @const {
76 [[Get the item index]]
77 return: uint; [[Item index]]
78 }
79 subitems_clear {
80 [[Remove all sub-items (children) of the given item
81
82 This removes all items that are children (and their descendants)
83 of the given item $it.
84
85 @since 1.8
86 ]]
87 }
88 subitems_get @const {
89 [[Returns a list of $item's subitems.]]
90 return: const(list<Elm.Widget.Item>); [[A list of $item's subitems]]
91 }
92 is_separator @const {
93 [[Returns whether $item is a separator.]]
94 return: bool; [[$true if the item is a separator.]]
95 }
96 object_get @const {
97 [[Get the real Evas(Edje) object created to implement the view of
98 a given menu item.
99
100 Warning: Don't manipulate this object!
101 ]]
102 return: Efl.Canvas.Object; [[The base Edje object containing the
103 swallowed content associated with the item.]]
104 }
105 }
106 implements {
107 Efl.Object.constructor;
108 Efl.Object.destructor;
109 Efl.Object.parent { get; }
110 Elm.Widget.Item.disable;
111 Elm.Widget.Item.signal_emit;
112 Elm.Widget.Item.part_text { get; set; }
113 Elm.Widget.Item.part_content { get; set; }
114 Efl.Access.Object.access_children { get; }
115 Efl.Access.Object.role { get; }
116 Efl.Access.Object.i18n_name { get; }
117 Efl.Access.Object.state_set { get; }
118 Efl.Access.Selection.selected_children_count { get; }
119 Efl.Access.Selection.selected_child { get; }
120 }
121}