1 #pragma warning disable CS1591
3 using System.Runtime.InteropServices;
4 using System.Collections.Generic;
6 using System.Threading;
7 using System.ComponentModel;
12 [Efl.Ui.IScrollableInteractiveConcrete.NativeMethods]
13 public interface IScrollableInteractive :
15 Efl.Eo.IWrapper, IDisposable
17 /// <summary>The content position</summary>
18 /// <returns>The position is virtual value, (0, 0) starting at the top-left.</returns>
19 Eina.Position2D GetContentPos();
20 /// <summary>The content position</summary>
21 /// <param name="pos">The position is virtual value, (0, 0) starting at the top-left.</param>
22 void SetContentPos(Eina.Position2D pos);
23 /// <summary>The content size</summary>
24 /// <returns>The content size in pixels.</returns>
25 Eina.Size2D GetContentSize();
26 /// <summary>The viewport geometry</summary>
27 /// <returns>It is absolute geometry.</returns>
28 Eina.Rect GetViewportGeometry();
29 /// <summary>Bouncing behavior
30 /// When scrolling, the scroller may "bounce" when reaching the edge of the content object. This is a visual way to indicate the end has been reached. This is enabled by default for both axes. This API will determine if it's enabled for the given axis with the boolean parameters for each one.</summary>
31 /// <param name="horiz">Horizontal bounce policy.</param>
32 /// <param name="vert">Vertical bounce policy.</param>
33 void GetBounceEnabled(out bool horiz, out bool vert);
34 /// <summary>Bouncing behavior
35 /// When scrolling, the scroller may "bounce" when reaching the edge of the content object. This is a visual way to indicate the end has been reached. This is enabled by default for both axes. This API will determine if it's enabled for the given axis with the boolean parameters for each one.</summary>
36 /// <param name="horiz">Horizontal bounce policy.</param>
37 /// <param name="vert">Vertical bounce policy.</param>
38 void SetBounceEnabled(bool horiz, bool vert);
39 /// <summary>Freeze property This function will freeze scrolling movement (by input of a user). Unlike efl_ui_scrollable_movement_block_set, this function freezes bidirectionally. If you want to freeze in only one direction, See <see cref="Efl.Ui.IScrollableInteractive.SetMovementBlock"/>.</summary>
40 /// <returns><c>true</c> if freeze, <c>false</c> otherwise</returns>
41 bool GetScrollFreeze();
42 /// <summary>Freeze property This function will freeze scrolling movement (by input of a user). Unlike efl_ui_scrollable_movement_block_set, this function freezes bidirectionally. If you want to freeze in only one direction, See <see cref="Efl.Ui.IScrollableInteractive.SetMovementBlock"/>.</summary>
43 /// <param name="freeze"><c>true</c> if freeze, <c>false</c> otherwise</param>
44 void SetScrollFreeze(bool freeze);
45 /// <summary>Hold property When hold turns on, it only scrolls by holding action.</summary>
46 /// <returns><c>true</c> if hold, <c>false</c> otherwise</returns>
48 /// <summary>Hold property When hold turns on, it only scrolls by holding action.</summary>
49 /// <param name="hold"><c>true</c> if hold, <c>false</c> otherwise</param>
50 void SetScrollHold(bool hold);
51 /// <summary>Controls an infinite loop for a scroller.</summary>
52 /// <param name="loop_h">The scrolling horizontal loop</param>
53 /// <param name="loop_v">The Scrolling vertical loop</param>
54 void GetLooping(out bool loop_h, out bool loop_v);
55 /// <summary>Controls an infinite loop for a scroller.</summary>
56 /// <param name="loop_h">The scrolling horizontal loop</param>
57 /// <param name="loop_v">The Scrolling vertical loop</param>
58 void SetLooping(bool loop_h, bool loop_v);
59 /// <summary>Blocking of scrolling (per axis)
60 /// This function will block scrolling movement (by input of a user) in a given direction. You can disable movements in the X axis, the Y axis or both. The default value is <c>none</c>, where movements are allowed in both directions.</summary>
61 /// <returns>Which axis (or axes) to block</returns>
62 Efl.Ui.ScrollBlock GetMovementBlock();
63 /// <summary>Blocking of scrolling (per axis)
64 /// This function will block scrolling movement (by input of a user) in a given direction. You can disable movements in the X axis, the Y axis or both. The default value is <c>none</c>, where movements are allowed in both directions.</summary>
65 /// <param name="block">Which axis (or axes) to block</param>
66 void SetMovementBlock(Efl.Ui.ScrollBlock block);
67 /// <summary>Control scrolling gravity on the scrollable
68 /// The gravity defines how the scroller will adjust its view when the size of the scroller contents increases.
70 /// The scroller will adjust the view to glue itself as follows.
72 /// x=0.0, for staying where it is relative to the left edge of the content x=1.0, for staying where it is relative to the right edge of the content y=0.0, for staying where it is relative to the top edge of the content y=1.0, for staying where it is relative to the bottom edge of the content
74 /// Default values for x and y are 0.0</summary>
75 /// <param name="x">Horizontal scrolling gravity</param>
76 /// <param name="y">Vertical scrolling gravity</param>
77 void GetGravity(out double x, out double y);
78 /// <summary>Control scrolling gravity on the scrollable
79 /// The gravity defines how the scroller will adjust its view when the size of the scroller contents increases.
81 /// The scroller will adjust the view to glue itself as follows.
83 /// x=0.0, for staying where it is relative to the left edge of the content x=1.0, for staying where it is relative to the right edge of the content y=0.0, for staying where it is relative to the top edge of the content y=1.0, for staying where it is relative to the bottom edge of the content
85 /// Default values for x and y are 0.0</summary>
86 /// <param name="x">Horizontal scrolling gravity</param>
87 /// <param name="y">Vertical scrolling gravity</param>
88 void SetGravity(double x, double y);
89 /// <summary>Prevent the scrollable from being smaller than the minimum size of the content.
90 /// By default the scroller will be as small as its design allows, irrespective of its content. This will make the scroller minimum size the right size horizontally and/or vertically to perfectly fit its content in that direction.</summary>
91 /// <param name="w">Whether to limit the minimum horizontal size</param>
92 /// <param name="h">Whether to limit the minimum vertical size</param>
93 void SetMatchContent(bool w, bool h);
94 /// <summary>Control the step size
95 /// Use this call to set step size. This value is used when scroller scroll by arrow key event.</summary>
96 /// <returns>The step size in pixels</returns>
97 Eina.Position2D GetStepSize();
98 /// <summary>Control the step size
99 /// Use this call to set step size. This value is used when scroller scroll by arrow key event.</summary>
100 /// <param name="step">The step size in pixels</param>
101 void SetStepSize(Eina.Position2D step);
102 /// <summary>Show a specific virtual region within the scroller content object.
103 /// This will ensure all (or part if it does not fit) of the designated region in the virtual content object (0, 0 starting at the top-left of the virtual content object) is shown within the scroller. This allows the scroller to "smoothly slide" to this location (if configuration in general calls for transitions). It may not jump immediately to the new location and make take a while and show other content along the way.</summary>
104 /// <param name="rect">The position where to scroll. and The size user want to see</param>
105 /// <param name="animation">Whether to scroll with animation or not</param>
106 void Scroll(Eina.Rect rect, bool animation);
107 /// <summary>The content position</summary>
108 /// <value>The position is virtual value, (0, 0) starting at the top-left.</value>
109 Eina.Position2D ContentPos {
113 /// <summary>The content size</summary>
114 /// <value>The content size in pixels.</value>
115 Eina.Size2D ContentSize {
118 /// <summary>The viewport geometry</summary>
119 /// <value>It is absolute geometry.</value>
120 Eina.Rect ViewportGeometry {
123 /// <summary>Freeze property This function will freeze scrolling movement (by input of a user). Unlike efl_ui_scrollable_movement_block_set, this function freezes bidirectionally. If you want to freeze in only one direction, See <see cref="Efl.Ui.IScrollableInteractive.SetMovementBlock"/>.</summary>
124 /// <value><c>true</c> if freeze, <c>false</c> otherwise</value>
129 /// <summary>Hold property When hold turns on, it only scrolls by holding action.</summary>
130 /// <value><c>true</c> if hold, <c>false</c> otherwise</value>
135 /// <summary>Blocking of scrolling (per axis)
136 /// This function will block scrolling movement (by input of a user) in a given direction. You can disable movements in the X axis, the Y axis or both. The default value is <c>none</c>, where movements are allowed in both directions.</summary>
137 /// <value>Which axis (or axes) to block</value>
138 Efl.Ui.ScrollBlock MovementBlock {
142 /// <summary>Control the step size
143 /// Use this call to set step size. This value is used when scroller scroll by arrow key event.</summary>
144 /// <value>The step size in pixels</value>
145 Eina.Position2D StepSize {
150 sealed public class IScrollableInteractiveConcrete :
152 , IScrollableInteractive
155 ///<summary>Pointer to the native class description.</summary>
156 public override System.IntPtr NativeClass
160 if (((object)this).GetType() == typeof(IScrollableInteractiveConcrete))
162 return GetEflClassStatic();
166 return Efl.Eo.ClassRegister.klassFromType[((object)this).GetType()];
171 [System.Runtime.InteropServices.DllImport("libefl.so.1")] internal static extern System.IntPtr
172 efl_ui_scrollable_interactive_interface_get();
173 /// <summary>Initializes a new instance of the <see cref="IScrollableInteractive"/> class.
174 /// Internal usage: This is used when interacting with C code and should not be used directly.</summary>
175 private IScrollableInteractiveConcrete(System.IntPtr raw) : base(raw)
179 /// <summary>Called when scroll operation starts</summary>
180 public event EventHandler ScrollStartEvt
186 Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
188 var obj = Efl.Eo.Globals.WrapperSupervisorPtrToManaged(data).Target;
191 EventArgs args = EventArgs.Empty;
194 value?.Invoke(obj, args);
198 Eina.Log.Error(e.ToString());
199 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
204 string key = "_EFL_UI_EVENT_SCROLL_START";
205 AddNativeEventHandler(efl.Libs.Efl, key, callerCb, value);
213 string key = "_EFL_UI_EVENT_SCROLL_START";
214 RemoveNativeEventHandler(efl.Libs.Efl, key, value);
218 ///<summary>Method to raise event ScrollStartEvt.</summary>
219 public void OnScrollStartEvt(EventArgs e)
221 var key = "_EFL_UI_EVENT_SCROLL_START";
222 IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Efl, key);
223 if (desc == IntPtr.Zero)
225 Eina.Log.Error($"Failed to get native event {key}");
229 Efl.Eo.Globals.efl_event_callback_call(this.NativeHandle, desc, IntPtr.Zero);
231 /// <summary>Called when scrolling</summary>
232 public event EventHandler ScrollEvt
238 Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
240 var obj = Efl.Eo.Globals.WrapperSupervisorPtrToManaged(data).Target;
243 EventArgs args = EventArgs.Empty;
246 value?.Invoke(obj, args);
250 Eina.Log.Error(e.ToString());
251 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
256 string key = "_EFL_UI_EVENT_SCROLL";
257 AddNativeEventHandler(efl.Libs.Efl, key, callerCb, value);
265 string key = "_EFL_UI_EVENT_SCROLL";
266 RemoveNativeEventHandler(efl.Libs.Efl, key, value);
270 ///<summary>Method to raise event ScrollEvt.</summary>
271 public void OnScrollEvt(EventArgs e)
273 var key = "_EFL_UI_EVENT_SCROLL";
274 IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Efl, key);
275 if (desc == IntPtr.Zero)
277 Eina.Log.Error($"Failed to get native event {key}");
281 Efl.Eo.Globals.efl_event_callback_call(this.NativeHandle, desc, IntPtr.Zero);
283 /// <summary>Called when scroll operation stops</summary>
284 public event EventHandler ScrollStopEvt
290 Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
292 var obj = Efl.Eo.Globals.WrapperSupervisorPtrToManaged(data).Target;
295 EventArgs args = EventArgs.Empty;
298 value?.Invoke(obj, args);
302 Eina.Log.Error(e.ToString());
303 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
308 string key = "_EFL_UI_EVENT_SCROLL_STOP";
309 AddNativeEventHandler(efl.Libs.Efl, key, callerCb, value);
317 string key = "_EFL_UI_EVENT_SCROLL_STOP";
318 RemoveNativeEventHandler(efl.Libs.Efl, key, value);
322 ///<summary>Method to raise event ScrollStopEvt.</summary>
323 public void OnScrollStopEvt(EventArgs e)
325 var key = "_EFL_UI_EVENT_SCROLL_STOP";
326 IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Efl, key);
327 if (desc == IntPtr.Zero)
329 Eina.Log.Error($"Failed to get native event {key}");
333 Efl.Eo.Globals.efl_event_callback_call(this.NativeHandle, desc, IntPtr.Zero);
335 /// <summary>Called when scrolling upwards</summary>
336 public event EventHandler ScrollUpEvt
342 Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
344 var obj = Efl.Eo.Globals.WrapperSupervisorPtrToManaged(data).Target;
347 EventArgs args = EventArgs.Empty;
350 value?.Invoke(obj, args);
354 Eina.Log.Error(e.ToString());
355 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
360 string key = "_EFL_UI_EVENT_SCROLL_UP";
361 AddNativeEventHandler(efl.Libs.Efl, key, callerCb, value);
369 string key = "_EFL_UI_EVENT_SCROLL_UP";
370 RemoveNativeEventHandler(efl.Libs.Efl, key, value);
374 ///<summary>Method to raise event ScrollUpEvt.</summary>
375 public void OnScrollUpEvt(EventArgs e)
377 var key = "_EFL_UI_EVENT_SCROLL_UP";
378 IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Efl, key);
379 if (desc == IntPtr.Zero)
381 Eina.Log.Error($"Failed to get native event {key}");
385 Efl.Eo.Globals.efl_event_callback_call(this.NativeHandle, desc, IntPtr.Zero);
387 /// <summary>Called when scrolling downwards</summary>
388 public event EventHandler ScrollDownEvt
394 Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
396 var obj = Efl.Eo.Globals.WrapperSupervisorPtrToManaged(data).Target;
399 EventArgs args = EventArgs.Empty;
402 value?.Invoke(obj, args);
406 Eina.Log.Error(e.ToString());
407 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
412 string key = "_EFL_UI_EVENT_SCROLL_DOWN";
413 AddNativeEventHandler(efl.Libs.Efl, key, callerCb, value);
421 string key = "_EFL_UI_EVENT_SCROLL_DOWN";
422 RemoveNativeEventHandler(efl.Libs.Efl, key, value);
426 ///<summary>Method to raise event ScrollDownEvt.</summary>
427 public void OnScrollDownEvt(EventArgs e)
429 var key = "_EFL_UI_EVENT_SCROLL_DOWN";
430 IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Efl, key);
431 if (desc == IntPtr.Zero)
433 Eina.Log.Error($"Failed to get native event {key}");
437 Efl.Eo.Globals.efl_event_callback_call(this.NativeHandle, desc, IntPtr.Zero);
439 /// <summary>Called when scrolling left</summary>
440 public event EventHandler ScrollLeftEvt
446 Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
448 var obj = Efl.Eo.Globals.WrapperSupervisorPtrToManaged(data).Target;
451 EventArgs args = EventArgs.Empty;
454 value?.Invoke(obj, args);
458 Eina.Log.Error(e.ToString());
459 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
464 string key = "_EFL_UI_EVENT_SCROLL_LEFT";
465 AddNativeEventHandler(efl.Libs.Efl, key, callerCb, value);
473 string key = "_EFL_UI_EVENT_SCROLL_LEFT";
474 RemoveNativeEventHandler(efl.Libs.Efl, key, value);
478 ///<summary>Method to raise event ScrollLeftEvt.</summary>
479 public void OnScrollLeftEvt(EventArgs e)
481 var key = "_EFL_UI_EVENT_SCROLL_LEFT";
482 IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Efl, key);
483 if (desc == IntPtr.Zero)
485 Eina.Log.Error($"Failed to get native event {key}");
489 Efl.Eo.Globals.efl_event_callback_call(this.NativeHandle, desc, IntPtr.Zero);
491 /// <summary>Called when scrolling right</summary>
492 public event EventHandler ScrollRightEvt
498 Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
500 var obj = Efl.Eo.Globals.WrapperSupervisorPtrToManaged(data).Target;
503 EventArgs args = EventArgs.Empty;
506 value?.Invoke(obj, args);
510 Eina.Log.Error(e.ToString());
511 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
516 string key = "_EFL_UI_EVENT_SCROLL_RIGHT";
517 AddNativeEventHandler(efl.Libs.Efl, key, callerCb, value);
525 string key = "_EFL_UI_EVENT_SCROLL_RIGHT";
526 RemoveNativeEventHandler(efl.Libs.Efl, key, value);
530 ///<summary>Method to raise event ScrollRightEvt.</summary>
531 public void OnScrollRightEvt(EventArgs e)
533 var key = "_EFL_UI_EVENT_SCROLL_RIGHT";
534 IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Efl, key);
535 if (desc == IntPtr.Zero)
537 Eina.Log.Error($"Failed to get native event {key}");
541 Efl.Eo.Globals.efl_event_callback_call(this.NativeHandle, desc, IntPtr.Zero);
543 /// <summary>Called when hitting the top edge</summary>
544 public event EventHandler EdgeUpEvt
550 Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
552 var obj = Efl.Eo.Globals.WrapperSupervisorPtrToManaged(data).Target;
555 EventArgs args = EventArgs.Empty;
558 value?.Invoke(obj, args);
562 Eina.Log.Error(e.ToString());
563 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
568 string key = "_EFL_UI_EVENT_EDGE_UP";
569 AddNativeEventHandler(efl.Libs.Efl, key, callerCb, value);
577 string key = "_EFL_UI_EVENT_EDGE_UP";
578 RemoveNativeEventHandler(efl.Libs.Efl, key, value);
582 ///<summary>Method to raise event EdgeUpEvt.</summary>
583 public void OnEdgeUpEvt(EventArgs e)
585 var key = "_EFL_UI_EVENT_EDGE_UP";
586 IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Efl, key);
587 if (desc == IntPtr.Zero)
589 Eina.Log.Error($"Failed to get native event {key}");
593 Efl.Eo.Globals.efl_event_callback_call(this.NativeHandle, desc, IntPtr.Zero);
595 /// <summary>Called when hitting the bottom edge</summary>
596 public event EventHandler EdgeDownEvt
602 Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
604 var obj = Efl.Eo.Globals.WrapperSupervisorPtrToManaged(data).Target;
607 EventArgs args = EventArgs.Empty;
610 value?.Invoke(obj, args);
614 Eina.Log.Error(e.ToString());
615 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
620 string key = "_EFL_UI_EVENT_EDGE_DOWN";
621 AddNativeEventHandler(efl.Libs.Efl, key, callerCb, value);
629 string key = "_EFL_UI_EVENT_EDGE_DOWN";
630 RemoveNativeEventHandler(efl.Libs.Efl, key, value);
634 ///<summary>Method to raise event EdgeDownEvt.</summary>
635 public void OnEdgeDownEvt(EventArgs e)
637 var key = "_EFL_UI_EVENT_EDGE_DOWN";
638 IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Efl, key);
639 if (desc == IntPtr.Zero)
641 Eina.Log.Error($"Failed to get native event {key}");
645 Efl.Eo.Globals.efl_event_callback_call(this.NativeHandle, desc, IntPtr.Zero);
647 /// <summary>Called when hitting the left edge</summary>
648 public event EventHandler EdgeLeftEvt
654 Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
656 var obj = Efl.Eo.Globals.WrapperSupervisorPtrToManaged(data).Target;
659 EventArgs args = EventArgs.Empty;
662 value?.Invoke(obj, args);
666 Eina.Log.Error(e.ToString());
667 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
672 string key = "_EFL_UI_EVENT_EDGE_LEFT";
673 AddNativeEventHandler(efl.Libs.Efl, key, callerCb, value);
681 string key = "_EFL_UI_EVENT_EDGE_LEFT";
682 RemoveNativeEventHandler(efl.Libs.Efl, key, value);
686 ///<summary>Method to raise event EdgeLeftEvt.</summary>
687 public void OnEdgeLeftEvt(EventArgs e)
689 var key = "_EFL_UI_EVENT_EDGE_LEFT";
690 IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Efl, key);
691 if (desc == IntPtr.Zero)
693 Eina.Log.Error($"Failed to get native event {key}");
697 Efl.Eo.Globals.efl_event_callback_call(this.NativeHandle, desc, IntPtr.Zero);
699 /// <summary>Called when hitting the right edge</summary>
700 public event EventHandler EdgeRightEvt
706 Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
708 var obj = Efl.Eo.Globals.WrapperSupervisorPtrToManaged(data).Target;
711 EventArgs args = EventArgs.Empty;
714 value?.Invoke(obj, args);
718 Eina.Log.Error(e.ToString());
719 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
724 string key = "_EFL_UI_EVENT_EDGE_RIGHT";
725 AddNativeEventHandler(efl.Libs.Efl, key, callerCb, value);
733 string key = "_EFL_UI_EVENT_EDGE_RIGHT";
734 RemoveNativeEventHandler(efl.Libs.Efl, key, value);
738 ///<summary>Method to raise event EdgeRightEvt.</summary>
739 public void OnEdgeRightEvt(EventArgs e)
741 var key = "_EFL_UI_EVENT_EDGE_RIGHT";
742 IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Efl, key);
743 if (desc == IntPtr.Zero)
745 Eina.Log.Error($"Failed to get native event {key}");
749 Efl.Eo.Globals.efl_event_callback_call(this.NativeHandle, desc, IntPtr.Zero);
751 /// <summary>Called when scroll animation starts</summary>
752 public event EventHandler ScrollAnimStartEvt
758 Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
760 var obj = Efl.Eo.Globals.WrapperSupervisorPtrToManaged(data).Target;
763 EventArgs args = EventArgs.Empty;
766 value?.Invoke(obj, args);
770 Eina.Log.Error(e.ToString());
771 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
776 string key = "_EFL_UI_EVENT_SCROLL_ANIM_START";
777 AddNativeEventHandler(efl.Libs.Efl, key, callerCb, value);
785 string key = "_EFL_UI_EVENT_SCROLL_ANIM_START";
786 RemoveNativeEventHandler(efl.Libs.Efl, key, value);
790 ///<summary>Method to raise event ScrollAnimStartEvt.</summary>
791 public void OnScrollAnimStartEvt(EventArgs e)
793 var key = "_EFL_UI_EVENT_SCROLL_ANIM_START";
794 IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Efl, key);
795 if (desc == IntPtr.Zero)
797 Eina.Log.Error($"Failed to get native event {key}");
801 Efl.Eo.Globals.efl_event_callback_call(this.NativeHandle, desc, IntPtr.Zero);
803 /// <summary>Called when scroll animation stopps</summary>
804 public event EventHandler ScrollAnimStopEvt
810 Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
812 var obj = Efl.Eo.Globals.WrapperSupervisorPtrToManaged(data).Target;
815 EventArgs args = EventArgs.Empty;
818 value?.Invoke(obj, args);
822 Eina.Log.Error(e.ToString());
823 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
828 string key = "_EFL_UI_EVENT_SCROLL_ANIM_STOP";
829 AddNativeEventHandler(efl.Libs.Efl, key, callerCb, value);
837 string key = "_EFL_UI_EVENT_SCROLL_ANIM_STOP";
838 RemoveNativeEventHandler(efl.Libs.Efl, key, value);
842 ///<summary>Method to raise event ScrollAnimStopEvt.</summary>
843 public void OnScrollAnimStopEvt(EventArgs e)
845 var key = "_EFL_UI_EVENT_SCROLL_ANIM_STOP";
846 IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Efl, key);
847 if (desc == IntPtr.Zero)
849 Eina.Log.Error($"Failed to get native event {key}");
853 Efl.Eo.Globals.efl_event_callback_call(this.NativeHandle, desc, IntPtr.Zero);
855 /// <summary>Called when scroll drag starts</summary>
856 public event EventHandler ScrollDragStartEvt
862 Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
864 var obj = Efl.Eo.Globals.WrapperSupervisorPtrToManaged(data).Target;
867 EventArgs args = EventArgs.Empty;
870 value?.Invoke(obj, args);
874 Eina.Log.Error(e.ToString());
875 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
880 string key = "_EFL_UI_EVENT_SCROLL_DRAG_START";
881 AddNativeEventHandler(efl.Libs.Efl, key, callerCb, value);
889 string key = "_EFL_UI_EVENT_SCROLL_DRAG_START";
890 RemoveNativeEventHandler(efl.Libs.Efl, key, value);
894 ///<summary>Method to raise event ScrollDragStartEvt.</summary>
895 public void OnScrollDragStartEvt(EventArgs e)
897 var key = "_EFL_UI_EVENT_SCROLL_DRAG_START";
898 IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Efl, key);
899 if (desc == IntPtr.Zero)
901 Eina.Log.Error($"Failed to get native event {key}");
905 Efl.Eo.Globals.efl_event_callback_call(this.NativeHandle, desc, IntPtr.Zero);
907 /// <summary>Called when scroll drag stops</summary>
908 public event EventHandler ScrollDragStopEvt
914 Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
916 var obj = Efl.Eo.Globals.WrapperSupervisorPtrToManaged(data).Target;
919 EventArgs args = EventArgs.Empty;
922 value?.Invoke(obj, args);
926 Eina.Log.Error(e.ToString());
927 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
932 string key = "_EFL_UI_EVENT_SCROLL_DRAG_STOP";
933 AddNativeEventHandler(efl.Libs.Efl, key, callerCb, value);
941 string key = "_EFL_UI_EVENT_SCROLL_DRAG_STOP";
942 RemoveNativeEventHandler(efl.Libs.Efl, key, value);
946 ///<summary>Method to raise event ScrollDragStopEvt.</summary>
947 public void OnScrollDragStopEvt(EventArgs e)
949 var key = "_EFL_UI_EVENT_SCROLL_DRAG_STOP";
950 IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Efl, key);
951 if (desc == IntPtr.Zero)
953 Eina.Log.Error($"Failed to get native event {key}");
957 Efl.Eo.Globals.efl_event_callback_call(this.NativeHandle, desc, IntPtr.Zero);
959 /// <summary>The content position</summary>
960 /// <returns>The position is virtual value, (0, 0) starting at the top-left.</returns>
961 public Eina.Position2D GetContentPos() {
962 var _ret_var = Efl.Ui.IScrollableInteractiveConcrete.NativeMethods.efl_ui_scrollable_content_pos_get_ptr.Value.Delegate(this.NativeHandle);
963 Eina.Error.RaiseIfUnhandledException();
966 /// <summary>The content position</summary>
967 /// <param name="pos">The position is virtual value, (0, 0) starting at the top-left.</param>
968 public void SetContentPos(Eina.Position2D pos) {
969 Eina.Position2D.NativeStruct _in_pos = pos;
970 Efl.Ui.IScrollableInteractiveConcrete.NativeMethods.efl_ui_scrollable_content_pos_set_ptr.Value.Delegate(this.NativeHandle,_in_pos);
971 Eina.Error.RaiseIfUnhandledException();
973 /// <summary>The content size</summary>
974 /// <returns>The content size in pixels.</returns>
975 public Eina.Size2D GetContentSize() {
976 var _ret_var = Efl.Ui.IScrollableInteractiveConcrete.NativeMethods.efl_ui_scrollable_content_size_get_ptr.Value.Delegate(this.NativeHandle);
977 Eina.Error.RaiseIfUnhandledException();
980 /// <summary>The viewport geometry</summary>
981 /// <returns>It is absolute geometry.</returns>
982 public Eina.Rect GetViewportGeometry() {
983 var _ret_var = Efl.Ui.IScrollableInteractiveConcrete.NativeMethods.efl_ui_scrollable_viewport_geometry_get_ptr.Value.Delegate(this.NativeHandle);
984 Eina.Error.RaiseIfUnhandledException();
987 /// <summary>Bouncing behavior
988 /// When scrolling, the scroller may "bounce" when reaching the edge of the content object. This is a visual way to indicate the end has been reached. This is enabled by default for both axes. This API will determine if it's enabled for the given axis with the boolean parameters for each one.</summary>
989 /// <param name="horiz">Horizontal bounce policy.</param>
990 /// <param name="vert">Vertical bounce policy.</param>
991 public void GetBounceEnabled(out bool horiz, out bool vert) {
992 Efl.Ui.IScrollableInteractiveConcrete.NativeMethods.efl_ui_scrollable_bounce_enabled_get_ptr.Value.Delegate(this.NativeHandle,out horiz, out vert);
993 Eina.Error.RaiseIfUnhandledException();
995 /// <summary>Bouncing behavior
996 /// When scrolling, the scroller may "bounce" when reaching the edge of the content object. This is a visual way to indicate the end has been reached. This is enabled by default for both axes. This API will determine if it's enabled for the given axis with the boolean parameters for each one.</summary>
997 /// <param name="horiz">Horizontal bounce policy.</param>
998 /// <param name="vert">Vertical bounce policy.</param>
999 public void SetBounceEnabled(bool horiz, bool vert) {
1000 Efl.Ui.IScrollableInteractiveConcrete.NativeMethods.efl_ui_scrollable_bounce_enabled_set_ptr.Value.Delegate(this.NativeHandle,horiz, vert);
1001 Eina.Error.RaiseIfUnhandledException();
1003 /// <summary>Freeze property This function will freeze scrolling movement (by input of a user). Unlike efl_ui_scrollable_movement_block_set, this function freezes bidirectionally. If you want to freeze in only one direction, See <see cref="Efl.Ui.IScrollableInteractive.SetMovementBlock"/>.</summary>
1004 /// <returns><c>true</c> if freeze, <c>false</c> otherwise</returns>
1005 public bool GetScrollFreeze() {
1006 var _ret_var = Efl.Ui.IScrollableInteractiveConcrete.NativeMethods.efl_ui_scrollable_scroll_freeze_get_ptr.Value.Delegate(this.NativeHandle);
1007 Eina.Error.RaiseIfUnhandledException();
1010 /// <summary>Freeze property This function will freeze scrolling movement (by input of a user). Unlike efl_ui_scrollable_movement_block_set, this function freezes bidirectionally. If you want to freeze in only one direction, See <see cref="Efl.Ui.IScrollableInteractive.SetMovementBlock"/>.</summary>
1011 /// <param name="freeze"><c>true</c> if freeze, <c>false</c> otherwise</param>
1012 public void SetScrollFreeze(bool freeze) {
1013 Efl.Ui.IScrollableInteractiveConcrete.NativeMethods.efl_ui_scrollable_scroll_freeze_set_ptr.Value.Delegate(this.NativeHandle,freeze);
1014 Eina.Error.RaiseIfUnhandledException();
1016 /// <summary>Hold property When hold turns on, it only scrolls by holding action.</summary>
1017 /// <returns><c>true</c> if hold, <c>false</c> otherwise</returns>
1018 public bool GetScrollHold() {
1019 var _ret_var = Efl.Ui.IScrollableInteractiveConcrete.NativeMethods.efl_ui_scrollable_scroll_hold_get_ptr.Value.Delegate(this.NativeHandle);
1020 Eina.Error.RaiseIfUnhandledException();
1023 /// <summary>Hold property When hold turns on, it only scrolls by holding action.</summary>
1024 /// <param name="hold"><c>true</c> if hold, <c>false</c> otherwise</param>
1025 public void SetScrollHold(bool hold) {
1026 Efl.Ui.IScrollableInteractiveConcrete.NativeMethods.efl_ui_scrollable_scroll_hold_set_ptr.Value.Delegate(this.NativeHandle,hold);
1027 Eina.Error.RaiseIfUnhandledException();
1029 /// <summary>Controls an infinite loop for a scroller.</summary>
1030 /// <param name="loop_h">The scrolling horizontal loop</param>
1031 /// <param name="loop_v">The Scrolling vertical loop</param>
1032 public void GetLooping(out bool loop_h, out bool loop_v) {
1033 Efl.Ui.IScrollableInteractiveConcrete.NativeMethods.efl_ui_scrollable_looping_get_ptr.Value.Delegate(this.NativeHandle,out loop_h, out loop_v);
1034 Eina.Error.RaiseIfUnhandledException();
1036 /// <summary>Controls an infinite loop for a scroller.</summary>
1037 /// <param name="loop_h">The scrolling horizontal loop</param>
1038 /// <param name="loop_v">The Scrolling vertical loop</param>
1039 public void SetLooping(bool loop_h, bool loop_v) {
1040 Efl.Ui.IScrollableInteractiveConcrete.NativeMethods.efl_ui_scrollable_looping_set_ptr.Value.Delegate(this.NativeHandle,loop_h, loop_v);
1041 Eina.Error.RaiseIfUnhandledException();
1043 /// <summary>Blocking of scrolling (per axis)
1044 /// This function will block scrolling movement (by input of a user) in a given direction. You can disable movements in the X axis, the Y axis or both. The default value is <c>none</c>, where movements are allowed in both directions.</summary>
1045 /// <returns>Which axis (or axes) to block</returns>
1046 public Efl.Ui.ScrollBlock GetMovementBlock() {
1047 var _ret_var = Efl.Ui.IScrollableInteractiveConcrete.NativeMethods.efl_ui_scrollable_movement_block_get_ptr.Value.Delegate(this.NativeHandle);
1048 Eina.Error.RaiseIfUnhandledException();
1051 /// <summary>Blocking of scrolling (per axis)
1052 /// This function will block scrolling movement (by input of a user) in a given direction. You can disable movements in the X axis, the Y axis or both. The default value is <c>none</c>, where movements are allowed in both directions.</summary>
1053 /// <param name="block">Which axis (or axes) to block</param>
1054 public void SetMovementBlock(Efl.Ui.ScrollBlock block) {
1055 Efl.Ui.IScrollableInteractiveConcrete.NativeMethods.efl_ui_scrollable_movement_block_set_ptr.Value.Delegate(this.NativeHandle,block);
1056 Eina.Error.RaiseIfUnhandledException();
1058 /// <summary>Control scrolling gravity on the scrollable
1059 /// The gravity defines how the scroller will adjust its view when the size of the scroller contents increases.
1061 /// The scroller will adjust the view to glue itself as follows.
1063 /// x=0.0, for staying where it is relative to the left edge of the content x=1.0, for staying where it is relative to the right edge of the content y=0.0, for staying where it is relative to the top edge of the content y=1.0, for staying where it is relative to the bottom edge of the content
1065 /// Default values for x and y are 0.0</summary>
1066 /// <param name="x">Horizontal scrolling gravity</param>
1067 /// <param name="y">Vertical scrolling gravity</param>
1068 public void GetGravity(out double x, out double y) {
1069 Efl.Ui.IScrollableInteractiveConcrete.NativeMethods.efl_ui_scrollable_gravity_get_ptr.Value.Delegate(this.NativeHandle,out x, out y);
1070 Eina.Error.RaiseIfUnhandledException();
1072 /// <summary>Control scrolling gravity on the scrollable
1073 /// The gravity defines how the scroller will adjust its view when the size of the scroller contents increases.
1075 /// The scroller will adjust the view to glue itself as follows.
1077 /// x=0.0, for staying where it is relative to the left edge of the content x=1.0, for staying where it is relative to the right edge of the content y=0.0, for staying where it is relative to the top edge of the content y=1.0, for staying where it is relative to the bottom edge of the content
1079 /// Default values for x and y are 0.0</summary>
1080 /// <param name="x">Horizontal scrolling gravity</param>
1081 /// <param name="y">Vertical scrolling gravity</param>
1082 public void SetGravity(double x, double y) {
1083 Efl.Ui.IScrollableInteractiveConcrete.NativeMethods.efl_ui_scrollable_gravity_set_ptr.Value.Delegate(this.NativeHandle,x, y);
1084 Eina.Error.RaiseIfUnhandledException();
1086 /// <summary>Prevent the scrollable from being smaller than the minimum size of the content.
1087 /// By default the scroller will be as small as its design allows, irrespective of its content. This will make the scroller minimum size the right size horizontally and/or vertically to perfectly fit its content in that direction.</summary>
1088 /// <param name="w">Whether to limit the minimum horizontal size</param>
1089 /// <param name="h">Whether to limit the minimum vertical size</param>
1090 public void SetMatchContent(bool w, bool h) {
1091 Efl.Ui.IScrollableInteractiveConcrete.NativeMethods.efl_ui_scrollable_match_content_set_ptr.Value.Delegate(this.NativeHandle,w, h);
1092 Eina.Error.RaiseIfUnhandledException();
1094 /// <summary>Control the step size
1095 /// Use this call to set step size. This value is used when scroller scroll by arrow key event.</summary>
1096 /// <returns>The step size in pixels</returns>
1097 public Eina.Position2D GetStepSize() {
1098 var _ret_var = Efl.Ui.IScrollableInteractiveConcrete.NativeMethods.efl_ui_scrollable_step_size_get_ptr.Value.Delegate(this.NativeHandle);
1099 Eina.Error.RaiseIfUnhandledException();
1102 /// <summary>Control the step size
1103 /// Use this call to set step size. This value is used when scroller scroll by arrow key event.</summary>
1104 /// <param name="step">The step size in pixels</param>
1105 public void SetStepSize(Eina.Position2D step) {
1106 Eina.Position2D.NativeStruct _in_step = step;
1107 Efl.Ui.IScrollableInteractiveConcrete.NativeMethods.efl_ui_scrollable_step_size_set_ptr.Value.Delegate(this.NativeHandle,_in_step);
1108 Eina.Error.RaiseIfUnhandledException();
1110 /// <summary>Show a specific virtual region within the scroller content object.
1111 /// This will ensure all (or part if it does not fit) of the designated region in the virtual content object (0, 0 starting at the top-left of the virtual content object) is shown within the scroller. This allows the scroller to "smoothly slide" to this location (if configuration in general calls for transitions). It may not jump immediately to the new location and make take a while and show other content along the way.</summary>
1112 /// <param name="rect">The position where to scroll. and The size user want to see</param>
1113 /// <param name="animation">Whether to scroll with animation or not</param>
1114 public void Scroll(Eina.Rect rect, bool animation) {
1115 Eina.Rect.NativeStruct _in_rect = rect;
1116 Efl.Ui.IScrollableInteractiveConcrete.NativeMethods.efl_ui_scrollable_scroll_ptr.Value.Delegate(this.NativeHandle,_in_rect, animation);
1117 Eina.Error.RaiseIfUnhandledException();
1119 /// <summary>The content position</summary>
1120 /// <value>The position is virtual value, (0, 0) starting at the top-left.</value>
1121 public Eina.Position2D ContentPos {
1122 get { return GetContentPos(); }
1123 set { SetContentPos(value); }
1125 /// <summary>The content size</summary>
1126 /// <value>The content size in pixels.</value>
1127 public Eina.Size2D ContentSize {
1128 get { return GetContentSize(); }
1130 /// <summary>The viewport geometry</summary>
1131 /// <value>It is absolute geometry.</value>
1132 public Eina.Rect ViewportGeometry {
1133 get { return GetViewportGeometry(); }
1135 /// <summary>Freeze property This function will freeze scrolling movement (by input of a user). Unlike efl_ui_scrollable_movement_block_set, this function freezes bidirectionally. If you want to freeze in only one direction, See <see cref="Efl.Ui.IScrollableInteractive.SetMovementBlock"/>.</summary>
1136 /// <value><c>true</c> if freeze, <c>false</c> otherwise</value>
1137 public bool ScrollFreeze {
1138 get { return GetScrollFreeze(); }
1139 set { SetScrollFreeze(value); }
1141 /// <summary>Hold property When hold turns on, it only scrolls by holding action.</summary>
1142 /// <value><c>true</c> if hold, <c>false</c> otherwise</value>
1143 public bool ScrollHold {
1144 get { return GetScrollHold(); }
1145 set { SetScrollHold(value); }
1147 /// <summary>Blocking of scrolling (per axis)
1148 /// This function will block scrolling movement (by input of a user) in a given direction. You can disable movements in the X axis, the Y axis or both. The default value is <c>none</c>, where movements are allowed in both directions.</summary>
1149 /// <value>Which axis (or axes) to block</value>
1150 public Efl.Ui.ScrollBlock MovementBlock {
1151 get { return GetMovementBlock(); }
1152 set { SetMovementBlock(value); }
1154 /// <summary>Control the step size
1155 /// Use this call to set step size. This value is used when scroller scroll by arrow key event.</summary>
1156 /// <value>The step size in pixels</value>
1157 public Eina.Position2D StepSize {
1158 get { return GetStepSize(); }
1159 set { SetStepSize(value); }
1161 private static IntPtr GetEflClassStatic()
1163 return Efl.Ui.IScrollableInteractiveConcrete.efl_ui_scrollable_interactive_interface_get();
1165 /// <summary>Wrapper for native methods and virtual method delegates.
1166 /// For internal use by generated code only.</summary>
1167 public class NativeMethods : Efl.Eo.NativeClass
1169 private static Efl.Eo.NativeModule Module = new Efl.Eo.NativeModule( efl.Libs.Efl);
1170 /// <summary>Gets the list of Eo operations to override.</summary>
1171 /// <returns>The list of Eo operations to be overload.</returns>
1172 public override System.Collections.Generic.List<Efl_Op_Description> GetEoOps(System.Type type)
1174 var descs = new System.Collections.Generic.List<Efl_Op_Description>();
1175 var methods = Efl.Eo.Globals.GetUserMethods(type);
1177 if (efl_ui_scrollable_content_pos_get_static_delegate == null)
1179 efl_ui_scrollable_content_pos_get_static_delegate = new efl_ui_scrollable_content_pos_get_delegate(content_pos_get);
1182 if (methods.FirstOrDefault(m => m.Name == "GetContentPos") != null)
1184 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_scrollable_content_pos_get"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_scrollable_content_pos_get_static_delegate) });
1187 if (efl_ui_scrollable_content_pos_set_static_delegate == null)
1189 efl_ui_scrollable_content_pos_set_static_delegate = new efl_ui_scrollable_content_pos_set_delegate(content_pos_set);
1192 if (methods.FirstOrDefault(m => m.Name == "SetContentPos") != null)
1194 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_scrollable_content_pos_set"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_scrollable_content_pos_set_static_delegate) });
1197 if (efl_ui_scrollable_content_size_get_static_delegate == null)
1199 efl_ui_scrollable_content_size_get_static_delegate = new efl_ui_scrollable_content_size_get_delegate(content_size_get);
1202 if (methods.FirstOrDefault(m => m.Name == "GetContentSize") != null)
1204 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_scrollable_content_size_get"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_scrollable_content_size_get_static_delegate) });
1207 if (efl_ui_scrollable_viewport_geometry_get_static_delegate == null)
1209 efl_ui_scrollable_viewport_geometry_get_static_delegate = new efl_ui_scrollable_viewport_geometry_get_delegate(viewport_geometry_get);
1212 if (methods.FirstOrDefault(m => m.Name == "GetViewportGeometry") != null)
1214 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_scrollable_viewport_geometry_get"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_scrollable_viewport_geometry_get_static_delegate) });
1217 if (efl_ui_scrollable_bounce_enabled_get_static_delegate == null)
1219 efl_ui_scrollable_bounce_enabled_get_static_delegate = new efl_ui_scrollable_bounce_enabled_get_delegate(bounce_enabled_get);
1222 if (methods.FirstOrDefault(m => m.Name == "GetBounceEnabled") != null)
1224 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_scrollable_bounce_enabled_get"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_scrollable_bounce_enabled_get_static_delegate) });
1227 if (efl_ui_scrollable_bounce_enabled_set_static_delegate == null)
1229 efl_ui_scrollable_bounce_enabled_set_static_delegate = new efl_ui_scrollable_bounce_enabled_set_delegate(bounce_enabled_set);
1232 if (methods.FirstOrDefault(m => m.Name == "SetBounceEnabled") != null)
1234 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_scrollable_bounce_enabled_set"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_scrollable_bounce_enabled_set_static_delegate) });
1237 if (efl_ui_scrollable_scroll_freeze_get_static_delegate == null)
1239 efl_ui_scrollable_scroll_freeze_get_static_delegate = new efl_ui_scrollable_scroll_freeze_get_delegate(scroll_freeze_get);
1242 if (methods.FirstOrDefault(m => m.Name == "GetScrollFreeze") != null)
1244 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_scrollable_scroll_freeze_get"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_scrollable_scroll_freeze_get_static_delegate) });
1247 if (efl_ui_scrollable_scroll_freeze_set_static_delegate == null)
1249 efl_ui_scrollable_scroll_freeze_set_static_delegate = new efl_ui_scrollable_scroll_freeze_set_delegate(scroll_freeze_set);
1252 if (methods.FirstOrDefault(m => m.Name == "SetScrollFreeze") != null)
1254 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_scrollable_scroll_freeze_set"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_scrollable_scroll_freeze_set_static_delegate) });
1257 if (efl_ui_scrollable_scroll_hold_get_static_delegate == null)
1259 efl_ui_scrollable_scroll_hold_get_static_delegate = new efl_ui_scrollable_scroll_hold_get_delegate(scroll_hold_get);
1262 if (methods.FirstOrDefault(m => m.Name == "GetScrollHold") != null)
1264 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_scrollable_scroll_hold_get"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_scrollable_scroll_hold_get_static_delegate) });
1267 if (efl_ui_scrollable_scroll_hold_set_static_delegate == null)
1269 efl_ui_scrollable_scroll_hold_set_static_delegate = new efl_ui_scrollable_scroll_hold_set_delegate(scroll_hold_set);
1272 if (methods.FirstOrDefault(m => m.Name == "SetScrollHold") != null)
1274 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_scrollable_scroll_hold_set"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_scrollable_scroll_hold_set_static_delegate) });
1277 if (efl_ui_scrollable_looping_get_static_delegate == null)
1279 efl_ui_scrollable_looping_get_static_delegate = new efl_ui_scrollable_looping_get_delegate(looping_get);
1282 if (methods.FirstOrDefault(m => m.Name == "GetLooping") != null)
1284 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_scrollable_looping_get"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_scrollable_looping_get_static_delegate) });
1287 if (efl_ui_scrollable_looping_set_static_delegate == null)
1289 efl_ui_scrollable_looping_set_static_delegate = new efl_ui_scrollable_looping_set_delegate(looping_set);
1292 if (methods.FirstOrDefault(m => m.Name == "SetLooping") != null)
1294 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_scrollable_looping_set"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_scrollable_looping_set_static_delegate) });
1297 if (efl_ui_scrollable_movement_block_get_static_delegate == null)
1299 efl_ui_scrollable_movement_block_get_static_delegate = new efl_ui_scrollable_movement_block_get_delegate(movement_block_get);
1302 if (methods.FirstOrDefault(m => m.Name == "GetMovementBlock") != null)
1304 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_scrollable_movement_block_get"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_scrollable_movement_block_get_static_delegate) });
1307 if (efl_ui_scrollable_movement_block_set_static_delegate == null)
1309 efl_ui_scrollable_movement_block_set_static_delegate = new efl_ui_scrollable_movement_block_set_delegate(movement_block_set);
1312 if (methods.FirstOrDefault(m => m.Name == "SetMovementBlock") != null)
1314 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_scrollable_movement_block_set"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_scrollable_movement_block_set_static_delegate) });
1317 if (efl_ui_scrollable_gravity_get_static_delegate == null)
1319 efl_ui_scrollable_gravity_get_static_delegate = new efl_ui_scrollable_gravity_get_delegate(gravity_get);
1322 if (methods.FirstOrDefault(m => m.Name == "GetGravity") != null)
1324 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_scrollable_gravity_get"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_scrollable_gravity_get_static_delegate) });
1327 if (efl_ui_scrollable_gravity_set_static_delegate == null)
1329 efl_ui_scrollable_gravity_set_static_delegate = new efl_ui_scrollable_gravity_set_delegate(gravity_set);
1332 if (methods.FirstOrDefault(m => m.Name == "SetGravity") != null)
1334 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_scrollable_gravity_set"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_scrollable_gravity_set_static_delegate) });
1337 if (efl_ui_scrollable_match_content_set_static_delegate == null)
1339 efl_ui_scrollable_match_content_set_static_delegate = new efl_ui_scrollable_match_content_set_delegate(match_content_set);
1342 if (methods.FirstOrDefault(m => m.Name == "SetMatchContent") != null)
1344 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_scrollable_match_content_set"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_scrollable_match_content_set_static_delegate) });
1347 if (efl_ui_scrollable_step_size_get_static_delegate == null)
1349 efl_ui_scrollable_step_size_get_static_delegate = new efl_ui_scrollable_step_size_get_delegate(step_size_get);
1352 if (methods.FirstOrDefault(m => m.Name == "GetStepSize") != null)
1354 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_scrollable_step_size_get"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_scrollable_step_size_get_static_delegate) });
1357 if (efl_ui_scrollable_step_size_set_static_delegate == null)
1359 efl_ui_scrollable_step_size_set_static_delegate = new efl_ui_scrollable_step_size_set_delegate(step_size_set);
1362 if (methods.FirstOrDefault(m => m.Name == "SetStepSize") != null)
1364 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_scrollable_step_size_set"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_scrollable_step_size_set_static_delegate) });
1367 if (efl_ui_scrollable_scroll_static_delegate == null)
1369 efl_ui_scrollable_scroll_static_delegate = new efl_ui_scrollable_scroll_delegate(scroll);
1372 if (methods.FirstOrDefault(m => m.Name == "Scroll") != null)
1374 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_scrollable_scroll"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_scrollable_scroll_static_delegate) });
1379 /// <summary>Returns the Eo class for the native methods of this class.</summary>
1380 /// <returns>The native class pointer.</returns>
1381 public override IntPtr GetEflClass()
1383 return Efl.Ui.IScrollableInteractiveConcrete.efl_ui_scrollable_interactive_interface_get();
1386 #pragma warning disable CA1707, CS1591, SA1300, SA1600
1389 private delegate Eina.Position2D.NativeStruct efl_ui_scrollable_content_pos_get_delegate(System.IntPtr obj, System.IntPtr pd);
1392 public delegate Eina.Position2D.NativeStruct efl_ui_scrollable_content_pos_get_api_delegate(System.IntPtr obj);
1394 public static Efl.Eo.FunctionWrapper<efl_ui_scrollable_content_pos_get_api_delegate> efl_ui_scrollable_content_pos_get_ptr = new Efl.Eo.FunctionWrapper<efl_ui_scrollable_content_pos_get_api_delegate>(Module, "efl_ui_scrollable_content_pos_get");
1396 private static Eina.Position2D.NativeStruct content_pos_get(System.IntPtr obj, System.IntPtr pd)
1398 Eina.Log.Debug("function efl_ui_scrollable_content_pos_get was called");
1399 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
1402 Eina.Position2D _ret_var = default(Eina.Position2D);
1405 _ret_var = ((IScrollableInteractive)ws.Target).GetContentPos();
1409 Eina.Log.Warning($"Callback error: {e.ToString()}");
1410 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
1418 return efl_ui_scrollable_content_pos_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
1422 private static efl_ui_scrollable_content_pos_get_delegate efl_ui_scrollable_content_pos_get_static_delegate;
1425 private delegate void efl_ui_scrollable_content_pos_set_delegate(System.IntPtr obj, System.IntPtr pd, Eina.Position2D.NativeStruct pos);
1428 public delegate void efl_ui_scrollable_content_pos_set_api_delegate(System.IntPtr obj, Eina.Position2D.NativeStruct pos);
1430 public static Efl.Eo.FunctionWrapper<efl_ui_scrollable_content_pos_set_api_delegate> efl_ui_scrollable_content_pos_set_ptr = new Efl.Eo.FunctionWrapper<efl_ui_scrollable_content_pos_set_api_delegate>(Module, "efl_ui_scrollable_content_pos_set");
1432 private static void content_pos_set(System.IntPtr obj, System.IntPtr pd, Eina.Position2D.NativeStruct pos)
1434 Eina.Log.Debug("function efl_ui_scrollable_content_pos_set was called");
1435 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
1438 Eina.Position2D _in_pos = pos;
1442 ((IScrollableInteractive)ws.Target).SetContentPos(_in_pos);
1446 Eina.Log.Warning($"Callback error: {e.ToString()}");
1447 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
1454 efl_ui_scrollable_content_pos_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), pos);
1458 private static efl_ui_scrollable_content_pos_set_delegate efl_ui_scrollable_content_pos_set_static_delegate;
1461 private delegate Eina.Size2D.NativeStruct efl_ui_scrollable_content_size_get_delegate(System.IntPtr obj, System.IntPtr pd);
1464 public delegate Eina.Size2D.NativeStruct efl_ui_scrollable_content_size_get_api_delegate(System.IntPtr obj);
1466 public static Efl.Eo.FunctionWrapper<efl_ui_scrollable_content_size_get_api_delegate> efl_ui_scrollable_content_size_get_ptr = new Efl.Eo.FunctionWrapper<efl_ui_scrollable_content_size_get_api_delegate>(Module, "efl_ui_scrollable_content_size_get");
1468 private static Eina.Size2D.NativeStruct content_size_get(System.IntPtr obj, System.IntPtr pd)
1470 Eina.Log.Debug("function efl_ui_scrollable_content_size_get was called");
1471 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
1474 Eina.Size2D _ret_var = default(Eina.Size2D);
1477 _ret_var = ((IScrollableInteractive)ws.Target).GetContentSize();
1481 Eina.Log.Warning($"Callback error: {e.ToString()}");
1482 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
1490 return efl_ui_scrollable_content_size_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
1494 private static efl_ui_scrollable_content_size_get_delegate efl_ui_scrollable_content_size_get_static_delegate;
1497 private delegate Eina.Rect.NativeStruct efl_ui_scrollable_viewport_geometry_get_delegate(System.IntPtr obj, System.IntPtr pd);
1500 public delegate Eina.Rect.NativeStruct efl_ui_scrollable_viewport_geometry_get_api_delegate(System.IntPtr obj);
1502 public static Efl.Eo.FunctionWrapper<efl_ui_scrollable_viewport_geometry_get_api_delegate> efl_ui_scrollable_viewport_geometry_get_ptr = new Efl.Eo.FunctionWrapper<efl_ui_scrollable_viewport_geometry_get_api_delegate>(Module, "efl_ui_scrollable_viewport_geometry_get");
1504 private static Eina.Rect.NativeStruct viewport_geometry_get(System.IntPtr obj, System.IntPtr pd)
1506 Eina.Log.Debug("function efl_ui_scrollable_viewport_geometry_get was called");
1507 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
1510 Eina.Rect _ret_var = default(Eina.Rect);
1513 _ret_var = ((IScrollableInteractive)ws.Target).GetViewportGeometry();
1517 Eina.Log.Warning($"Callback error: {e.ToString()}");
1518 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
1526 return efl_ui_scrollable_viewport_geometry_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
1530 private static efl_ui_scrollable_viewport_geometry_get_delegate efl_ui_scrollable_viewport_geometry_get_static_delegate;
1533 private delegate void efl_ui_scrollable_bounce_enabled_get_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.U1)] out bool horiz, [MarshalAs(UnmanagedType.U1)] out bool vert);
1536 public delegate void efl_ui_scrollable_bounce_enabled_get_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.U1)] out bool horiz, [MarshalAs(UnmanagedType.U1)] out bool vert);
1538 public static Efl.Eo.FunctionWrapper<efl_ui_scrollable_bounce_enabled_get_api_delegate> efl_ui_scrollable_bounce_enabled_get_ptr = new Efl.Eo.FunctionWrapper<efl_ui_scrollable_bounce_enabled_get_api_delegate>(Module, "efl_ui_scrollable_bounce_enabled_get");
1540 private static void bounce_enabled_get(System.IntPtr obj, System.IntPtr pd, out bool horiz, out bool vert)
1542 Eina.Log.Debug("function efl_ui_scrollable_bounce_enabled_get was called");
1543 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
1546 horiz = default(bool); vert = default(bool);
1549 ((IScrollableInteractive)ws.Target).GetBounceEnabled(out horiz, out vert);
1553 Eina.Log.Warning($"Callback error: {e.ToString()}");
1554 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
1561 efl_ui_scrollable_bounce_enabled_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), out horiz, out vert);
1565 private static efl_ui_scrollable_bounce_enabled_get_delegate efl_ui_scrollable_bounce_enabled_get_static_delegate;
1568 private delegate void efl_ui_scrollable_bounce_enabled_set_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.U1)] bool horiz, [MarshalAs(UnmanagedType.U1)] bool vert);
1571 public delegate void efl_ui_scrollable_bounce_enabled_set_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.U1)] bool horiz, [MarshalAs(UnmanagedType.U1)] bool vert);
1573 public static Efl.Eo.FunctionWrapper<efl_ui_scrollable_bounce_enabled_set_api_delegate> efl_ui_scrollable_bounce_enabled_set_ptr = new Efl.Eo.FunctionWrapper<efl_ui_scrollable_bounce_enabled_set_api_delegate>(Module, "efl_ui_scrollable_bounce_enabled_set");
1575 private static void bounce_enabled_set(System.IntPtr obj, System.IntPtr pd, bool horiz, bool vert)
1577 Eina.Log.Debug("function efl_ui_scrollable_bounce_enabled_set was called");
1578 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
1584 ((IScrollableInteractive)ws.Target).SetBounceEnabled(horiz, vert);
1588 Eina.Log.Warning($"Callback error: {e.ToString()}");
1589 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
1596 efl_ui_scrollable_bounce_enabled_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), horiz, vert);
1600 private static efl_ui_scrollable_bounce_enabled_set_delegate efl_ui_scrollable_bounce_enabled_set_static_delegate;
1602 [return: MarshalAs(UnmanagedType.U1)]
1603 private delegate bool efl_ui_scrollable_scroll_freeze_get_delegate(System.IntPtr obj, System.IntPtr pd);
1605 [return: MarshalAs(UnmanagedType.U1)]
1606 public delegate bool efl_ui_scrollable_scroll_freeze_get_api_delegate(System.IntPtr obj);
1608 public static Efl.Eo.FunctionWrapper<efl_ui_scrollable_scroll_freeze_get_api_delegate> efl_ui_scrollable_scroll_freeze_get_ptr = new Efl.Eo.FunctionWrapper<efl_ui_scrollable_scroll_freeze_get_api_delegate>(Module, "efl_ui_scrollable_scroll_freeze_get");
1610 private static bool scroll_freeze_get(System.IntPtr obj, System.IntPtr pd)
1612 Eina.Log.Debug("function efl_ui_scrollable_scroll_freeze_get was called");
1613 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
1616 bool _ret_var = default(bool);
1619 _ret_var = ((IScrollableInteractive)ws.Target).GetScrollFreeze();
1623 Eina.Log.Warning($"Callback error: {e.ToString()}");
1624 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
1632 return efl_ui_scrollable_scroll_freeze_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
1636 private static efl_ui_scrollable_scroll_freeze_get_delegate efl_ui_scrollable_scroll_freeze_get_static_delegate;
1639 private delegate void efl_ui_scrollable_scroll_freeze_set_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.U1)] bool freeze);
1642 public delegate void efl_ui_scrollable_scroll_freeze_set_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.U1)] bool freeze);
1644 public static Efl.Eo.FunctionWrapper<efl_ui_scrollable_scroll_freeze_set_api_delegate> efl_ui_scrollable_scroll_freeze_set_ptr = new Efl.Eo.FunctionWrapper<efl_ui_scrollable_scroll_freeze_set_api_delegate>(Module, "efl_ui_scrollable_scroll_freeze_set");
1646 private static void scroll_freeze_set(System.IntPtr obj, System.IntPtr pd, bool freeze)
1648 Eina.Log.Debug("function efl_ui_scrollable_scroll_freeze_set was called");
1649 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
1655 ((IScrollableInteractive)ws.Target).SetScrollFreeze(freeze);
1659 Eina.Log.Warning($"Callback error: {e.ToString()}");
1660 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
1667 efl_ui_scrollable_scroll_freeze_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), freeze);
1671 private static efl_ui_scrollable_scroll_freeze_set_delegate efl_ui_scrollable_scroll_freeze_set_static_delegate;
1673 [return: MarshalAs(UnmanagedType.U1)]
1674 private delegate bool efl_ui_scrollable_scroll_hold_get_delegate(System.IntPtr obj, System.IntPtr pd);
1676 [return: MarshalAs(UnmanagedType.U1)]
1677 public delegate bool efl_ui_scrollable_scroll_hold_get_api_delegate(System.IntPtr obj);
1679 public static Efl.Eo.FunctionWrapper<efl_ui_scrollable_scroll_hold_get_api_delegate> efl_ui_scrollable_scroll_hold_get_ptr = new Efl.Eo.FunctionWrapper<efl_ui_scrollable_scroll_hold_get_api_delegate>(Module, "efl_ui_scrollable_scroll_hold_get");
1681 private static bool scroll_hold_get(System.IntPtr obj, System.IntPtr pd)
1683 Eina.Log.Debug("function efl_ui_scrollable_scroll_hold_get was called");
1684 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
1687 bool _ret_var = default(bool);
1690 _ret_var = ((IScrollableInteractive)ws.Target).GetScrollHold();
1694 Eina.Log.Warning($"Callback error: {e.ToString()}");
1695 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
1703 return efl_ui_scrollable_scroll_hold_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
1707 private static efl_ui_scrollable_scroll_hold_get_delegate efl_ui_scrollable_scroll_hold_get_static_delegate;
1710 private delegate void efl_ui_scrollable_scroll_hold_set_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.U1)] bool hold);
1713 public delegate void efl_ui_scrollable_scroll_hold_set_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.U1)] bool hold);
1715 public static Efl.Eo.FunctionWrapper<efl_ui_scrollable_scroll_hold_set_api_delegate> efl_ui_scrollable_scroll_hold_set_ptr = new Efl.Eo.FunctionWrapper<efl_ui_scrollable_scroll_hold_set_api_delegate>(Module, "efl_ui_scrollable_scroll_hold_set");
1717 private static void scroll_hold_set(System.IntPtr obj, System.IntPtr pd, bool hold)
1719 Eina.Log.Debug("function efl_ui_scrollable_scroll_hold_set was called");
1720 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
1726 ((IScrollableInteractive)ws.Target).SetScrollHold(hold);
1730 Eina.Log.Warning($"Callback error: {e.ToString()}");
1731 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
1738 efl_ui_scrollable_scroll_hold_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), hold);
1742 private static efl_ui_scrollable_scroll_hold_set_delegate efl_ui_scrollable_scroll_hold_set_static_delegate;
1745 private delegate void efl_ui_scrollable_looping_get_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.U1)] out bool loop_h, [MarshalAs(UnmanagedType.U1)] out bool loop_v);
1748 public delegate void efl_ui_scrollable_looping_get_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.U1)] out bool loop_h, [MarshalAs(UnmanagedType.U1)] out bool loop_v);
1750 public static Efl.Eo.FunctionWrapper<efl_ui_scrollable_looping_get_api_delegate> efl_ui_scrollable_looping_get_ptr = new Efl.Eo.FunctionWrapper<efl_ui_scrollable_looping_get_api_delegate>(Module, "efl_ui_scrollable_looping_get");
1752 private static void looping_get(System.IntPtr obj, System.IntPtr pd, out bool loop_h, out bool loop_v)
1754 Eina.Log.Debug("function efl_ui_scrollable_looping_get was called");
1755 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
1758 loop_h = default(bool); loop_v = default(bool);
1761 ((IScrollableInteractive)ws.Target).GetLooping(out loop_h, out loop_v);
1765 Eina.Log.Warning($"Callback error: {e.ToString()}");
1766 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
1773 efl_ui_scrollable_looping_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), out loop_h, out loop_v);
1777 private static efl_ui_scrollable_looping_get_delegate efl_ui_scrollable_looping_get_static_delegate;
1780 private delegate void efl_ui_scrollable_looping_set_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.U1)] bool loop_h, [MarshalAs(UnmanagedType.U1)] bool loop_v);
1783 public delegate void efl_ui_scrollable_looping_set_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.U1)] bool loop_h, [MarshalAs(UnmanagedType.U1)] bool loop_v);
1785 public static Efl.Eo.FunctionWrapper<efl_ui_scrollable_looping_set_api_delegate> efl_ui_scrollable_looping_set_ptr = new Efl.Eo.FunctionWrapper<efl_ui_scrollable_looping_set_api_delegate>(Module, "efl_ui_scrollable_looping_set");
1787 private static void looping_set(System.IntPtr obj, System.IntPtr pd, bool loop_h, bool loop_v)
1789 Eina.Log.Debug("function efl_ui_scrollable_looping_set was called");
1790 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
1796 ((IScrollableInteractive)ws.Target).SetLooping(loop_h, loop_v);
1800 Eina.Log.Warning($"Callback error: {e.ToString()}");
1801 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
1808 efl_ui_scrollable_looping_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), loop_h, loop_v);
1812 private static efl_ui_scrollable_looping_set_delegate efl_ui_scrollable_looping_set_static_delegate;
1815 private delegate Efl.Ui.ScrollBlock efl_ui_scrollable_movement_block_get_delegate(System.IntPtr obj, System.IntPtr pd);
1818 public delegate Efl.Ui.ScrollBlock efl_ui_scrollable_movement_block_get_api_delegate(System.IntPtr obj);
1820 public static Efl.Eo.FunctionWrapper<efl_ui_scrollable_movement_block_get_api_delegate> efl_ui_scrollable_movement_block_get_ptr = new Efl.Eo.FunctionWrapper<efl_ui_scrollable_movement_block_get_api_delegate>(Module, "efl_ui_scrollable_movement_block_get");
1822 private static Efl.Ui.ScrollBlock movement_block_get(System.IntPtr obj, System.IntPtr pd)
1824 Eina.Log.Debug("function efl_ui_scrollable_movement_block_get was called");
1825 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
1828 Efl.Ui.ScrollBlock _ret_var = default(Efl.Ui.ScrollBlock);
1831 _ret_var = ((IScrollableInteractive)ws.Target).GetMovementBlock();
1835 Eina.Log.Warning($"Callback error: {e.ToString()}");
1836 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
1844 return efl_ui_scrollable_movement_block_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
1848 private static efl_ui_scrollable_movement_block_get_delegate efl_ui_scrollable_movement_block_get_static_delegate;
1851 private delegate void efl_ui_scrollable_movement_block_set_delegate(System.IntPtr obj, System.IntPtr pd, Efl.Ui.ScrollBlock block);
1854 public delegate void efl_ui_scrollable_movement_block_set_api_delegate(System.IntPtr obj, Efl.Ui.ScrollBlock block);
1856 public static Efl.Eo.FunctionWrapper<efl_ui_scrollable_movement_block_set_api_delegate> efl_ui_scrollable_movement_block_set_ptr = new Efl.Eo.FunctionWrapper<efl_ui_scrollable_movement_block_set_api_delegate>(Module, "efl_ui_scrollable_movement_block_set");
1858 private static void movement_block_set(System.IntPtr obj, System.IntPtr pd, Efl.Ui.ScrollBlock block)
1860 Eina.Log.Debug("function efl_ui_scrollable_movement_block_set was called");
1861 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
1867 ((IScrollableInteractive)ws.Target).SetMovementBlock(block);
1871 Eina.Log.Warning($"Callback error: {e.ToString()}");
1872 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
1879 efl_ui_scrollable_movement_block_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), block);
1883 private static efl_ui_scrollable_movement_block_set_delegate efl_ui_scrollable_movement_block_set_static_delegate;
1886 private delegate void efl_ui_scrollable_gravity_get_delegate(System.IntPtr obj, System.IntPtr pd, out double x, out double y);
1889 public delegate void efl_ui_scrollable_gravity_get_api_delegate(System.IntPtr obj, out double x, out double y);
1891 public static Efl.Eo.FunctionWrapper<efl_ui_scrollable_gravity_get_api_delegate> efl_ui_scrollable_gravity_get_ptr = new Efl.Eo.FunctionWrapper<efl_ui_scrollable_gravity_get_api_delegate>(Module, "efl_ui_scrollable_gravity_get");
1893 private static void gravity_get(System.IntPtr obj, System.IntPtr pd, out double x, out double y)
1895 Eina.Log.Debug("function efl_ui_scrollable_gravity_get was called");
1896 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
1899 x = default(double); y = default(double);
1902 ((IScrollableInteractive)ws.Target).GetGravity(out x, out y);
1906 Eina.Log.Warning($"Callback error: {e.ToString()}");
1907 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
1914 efl_ui_scrollable_gravity_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), out x, out y);
1918 private static efl_ui_scrollable_gravity_get_delegate efl_ui_scrollable_gravity_get_static_delegate;
1921 private delegate void efl_ui_scrollable_gravity_set_delegate(System.IntPtr obj, System.IntPtr pd, double x, double y);
1924 public delegate void efl_ui_scrollable_gravity_set_api_delegate(System.IntPtr obj, double x, double y);
1926 public static Efl.Eo.FunctionWrapper<efl_ui_scrollable_gravity_set_api_delegate> efl_ui_scrollable_gravity_set_ptr = new Efl.Eo.FunctionWrapper<efl_ui_scrollable_gravity_set_api_delegate>(Module, "efl_ui_scrollable_gravity_set");
1928 private static void gravity_set(System.IntPtr obj, System.IntPtr pd, double x, double y)
1930 Eina.Log.Debug("function efl_ui_scrollable_gravity_set was called");
1931 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
1937 ((IScrollableInteractive)ws.Target).SetGravity(x, y);
1941 Eina.Log.Warning($"Callback error: {e.ToString()}");
1942 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
1949 efl_ui_scrollable_gravity_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), x, y);
1953 private static efl_ui_scrollable_gravity_set_delegate efl_ui_scrollable_gravity_set_static_delegate;
1956 private delegate void efl_ui_scrollable_match_content_set_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.U1)] bool w, [MarshalAs(UnmanagedType.U1)] bool h);
1959 public delegate void efl_ui_scrollable_match_content_set_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.U1)] bool w, [MarshalAs(UnmanagedType.U1)] bool h);
1961 public static Efl.Eo.FunctionWrapper<efl_ui_scrollable_match_content_set_api_delegate> efl_ui_scrollable_match_content_set_ptr = new Efl.Eo.FunctionWrapper<efl_ui_scrollable_match_content_set_api_delegate>(Module, "efl_ui_scrollable_match_content_set");
1963 private static void match_content_set(System.IntPtr obj, System.IntPtr pd, bool w, bool h)
1965 Eina.Log.Debug("function efl_ui_scrollable_match_content_set was called");
1966 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
1972 ((IScrollableInteractive)ws.Target).SetMatchContent(w, h);
1976 Eina.Log.Warning($"Callback error: {e.ToString()}");
1977 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
1984 efl_ui_scrollable_match_content_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), w, h);
1988 private static efl_ui_scrollable_match_content_set_delegate efl_ui_scrollable_match_content_set_static_delegate;
1991 private delegate Eina.Position2D.NativeStruct efl_ui_scrollable_step_size_get_delegate(System.IntPtr obj, System.IntPtr pd);
1994 public delegate Eina.Position2D.NativeStruct efl_ui_scrollable_step_size_get_api_delegate(System.IntPtr obj);
1996 public static Efl.Eo.FunctionWrapper<efl_ui_scrollable_step_size_get_api_delegate> efl_ui_scrollable_step_size_get_ptr = new Efl.Eo.FunctionWrapper<efl_ui_scrollable_step_size_get_api_delegate>(Module, "efl_ui_scrollable_step_size_get");
1998 private static Eina.Position2D.NativeStruct step_size_get(System.IntPtr obj, System.IntPtr pd)
2000 Eina.Log.Debug("function efl_ui_scrollable_step_size_get was called");
2001 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
2004 Eina.Position2D _ret_var = default(Eina.Position2D);
2007 _ret_var = ((IScrollableInteractive)ws.Target).GetStepSize();
2011 Eina.Log.Warning($"Callback error: {e.ToString()}");
2012 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
2020 return efl_ui_scrollable_step_size_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
2024 private static efl_ui_scrollable_step_size_get_delegate efl_ui_scrollable_step_size_get_static_delegate;
2027 private delegate void efl_ui_scrollable_step_size_set_delegate(System.IntPtr obj, System.IntPtr pd, Eina.Position2D.NativeStruct step);
2030 public delegate void efl_ui_scrollable_step_size_set_api_delegate(System.IntPtr obj, Eina.Position2D.NativeStruct step);
2032 public static Efl.Eo.FunctionWrapper<efl_ui_scrollable_step_size_set_api_delegate> efl_ui_scrollable_step_size_set_ptr = new Efl.Eo.FunctionWrapper<efl_ui_scrollable_step_size_set_api_delegate>(Module, "efl_ui_scrollable_step_size_set");
2034 private static void step_size_set(System.IntPtr obj, System.IntPtr pd, Eina.Position2D.NativeStruct step)
2036 Eina.Log.Debug("function efl_ui_scrollable_step_size_set was called");
2037 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
2040 Eina.Position2D _in_step = step;
2044 ((IScrollableInteractive)ws.Target).SetStepSize(_in_step);
2048 Eina.Log.Warning($"Callback error: {e.ToString()}");
2049 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
2056 efl_ui_scrollable_step_size_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), step);
2060 private static efl_ui_scrollable_step_size_set_delegate efl_ui_scrollable_step_size_set_static_delegate;
2063 private delegate void efl_ui_scrollable_scroll_delegate(System.IntPtr obj, System.IntPtr pd, Eina.Rect.NativeStruct rect, [MarshalAs(UnmanagedType.U1)] bool animation);
2066 public delegate void efl_ui_scrollable_scroll_api_delegate(System.IntPtr obj, Eina.Rect.NativeStruct rect, [MarshalAs(UnmanagedType.U1)] bool animation);
2068 public static Efl.Eo.FunctionWrapper<efl_ui_scrollable_scroll_api_delegate> efl_ui_scrollable_scroll_ptr = new Efl.Eo.FunctionWrapper<efl_ui_scrollable_scroll_api_delegate>(Module, "efl_ui_scrollable_scroll");
2070 private static void scroll(System.IntPtr obj, System.IntPtr pd, Eina.Rect.NativeStruct rect, bool animation)
2072 Eina.Log.Debug("function efl_ui_scrollable_scroll was called");
2073 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
2076 Eina.Rect _in_rect = rect;
2080 ((IScrollableInteractive)ws.Target).Scroll(_in_rect, animation);
2084 Eina.Log.Warning($"Callback error: {e.ToString()}");
2085 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
2092 efl_ui_scrollable_scroll_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), rect, animation);
2096 private static efl_ui_scrollable_scroll_delegate efl_ui_scrollable_scroll_static_delegate;
2098 #pragma warning restore CA1707, CS1591, SA1300, SA1600