summaryrefslogtreecommitdiff
path: root/src/lib/elementary/elm_code_widget.eo
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/elementary/elm_code_widget.eo')
-rw-r--r--src/lib/elementary/elm_code_widget.eo24
1 files changed, 17 insertions, 7 deletions
diff --git a/src/lib/elementary/elm_code_widget.eo b/src/lib/elementary/elm_code_widget.eo
index 6e395df..c43adfd 100644
--- a/src/lib/elementary/elm_code_widget.eo
+++ b/src/lib/elementary/elm_code_widget.eo
@@ -1,14 +1,24 @@
1import elm_interface_scrollable; 1/* FIXME: this widget should just implement a scroller */
2enum Elm.Code_Widget_Scroller_Policy
3{
4 [[Type that controls when scrollbars should appear.
5
6 See also @Elm.Interface_Scrollable.policy.set.
7 ]]
8 auto = 0, [[Show scrollbars as needed]]
9 on, [[Always show scrollbars]]
10 off, [[Never show scrollbars]]
11 last [[Sentinel value to indicate last enum field during iteration]]
12}
2 13
3/* FIXME: Those types make elm_code unusable from pure EO */ 14/* FIXME: Those types make elm_code unusable from pure EO */
4struct @extern Elm.Code; [[Elementary code main data structure]] /* The main interface currently defined in code */ 15struct @extern Elm.Code; [[Elementary code main data structure]] /* The main interface currently defined in code */
5struct @extern Elm.Code_Line; [[Elementary code line data structure]] /* Parts of the interface currently defined in code */ 16struct @extern Elm.Code_Line; [[Elementary code line data structure]] /* Parts of the interface currently defined in code */
6 17
7class Elm.Code_Widget extends Efl.Ui.Layout 18class Elm.Code_Widget extends Efl.Ui.Layout_Base
8{ 19{
9 [[Elementary code widget]] 20 [[Elementary code widget]]
10 eo_prefix: elm_obj_code_widget; 21 eo_prefix: efl_ui_code_widget;
11 legacy_prefix: elm_code_widget;
12 methods { 22 methods {
13 @property code { 23 @property code {
14 set { 24 set {
@@ -70,8 +80,8 @@ class Elm.Code_Widget extends Efl.Ui.Layout
70 [[Get the widget's policy for scrollbar visibility.]] 80 [[Get the widget's policy for scrollbar visibility.]]
71 } 81 }
72 values { 82 values {
73 policy_h: Elm.Scroller.Policy; [[The horizontal scrollbar visibility policy]] 83 policy_h: Elm.Code_Widget_Scroller_Policy; [[The horizontal scrollbar visibility policy]]
74 policy_v: Elm.Scroller.Policy; [[The vertical scrollbar visibility policy]] 84 policy_v: Elm.Code_Widget_Scroller_Policy; [[The vertical scrollbar visibility policy]]
75 } 85 }
76 } 86 }
77 @property tabstop { 87 @property tabstop {
@@ -312,7 +322,7 @@ class Elm.Code_Widget extends Efl.Ui.Layout
312 class.constructor; 322 class.constructor;
313 Efl.Object.constructor; 323 Efl.Object.constructor;
314 Efl.Object.finalize; 324 Efl.Object.finalize;
315 Efl.Ui.Widget.widget_event; 325 Efl.Ui.Widget.widget_input_event_handler;
316 Efl.Ui.Widget.theme_apply; 326 Efl.Ui.Widget.theme_apply;
317 } 327 }
318 constructors { 328 constructors {