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 [Efl.Eo.BindingEntity]
14 public interface IScrollableInteractive :
16 Efl.Eo.IWrapper, IDisposable
18 /// <summary>The content position</summary>
19 /// <returns>The position is virtual value, (0, 0) starting at the top-left.</returns>
20 Eina.Position2D GetContentPos();
21 /// <summary>The content position</summary>
22 /// <param name="pos">The position is virtual value, (0, 0) starting at the top-left.</param>
23 void SetContentPos(Eina.Position2D pos);
24 /// <summary>The content size</summary>
25 /// <returns>The content size in pixels.</returns>
26 Eina.Size2D GetContentSize();
27 /// <summary>The viewport geometry</summary>
28 /// <returns>It is absolute geometry.</returns>
29 Eina.Rect GetViewportGeometry();
30 /// <summary>Bouncing behavior
31 /// 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>
32 /// <param name="horiz">Horizontal bounce policy.</param>
33 /// <param name="vert">Vertical bounce policy.</param>
34 void GetBounceEnabled(out bool horiz, out bool vert);
35 /// <summary>Bouncing behavior
36 /// 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>
37 /// <param name="horiz">Horizontal bounce policy.</param>
38 /// <param name="vert">Vertical bounce policy.</param>
39 void SetBounceEnabled(bool horiz, bool vert);
40 /// <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>
41 /// <returns><c>true</c> if freeze, <c>false</c> otherwise</returns>
42 bool GetScrollFreeze();
43 /// <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>
44 /// <param name="freeze"><c>true</c> if freeze, <c>false</c> otherwise</param>
45 void SetScrollFreeze(bool freeze);
46 /// <summary>Hold property When hold turns on, it only scrolls by holding action.</summary>
47 /// <returns><c>true</c> if hold, <c>false</c> otherwise</returns>
49 /// <summary>Hold property When hold turns on, it only scrolls by holding action.</summary>
50 /// <param name="hold"><c>true</c> if hold, <c>false</c> otherwise</param>
51 void SetScrollHold(bool hold);
52 /// <summary>Controls an infinite loop for a scroller.</summary>
53 /// <param name="loop_h">The scrolling horizontal loop</param>
54 /// <param name="loop_v">The Scrolling vertical loop</param>
55 void GetLooping(out bool loop_h, out bool loop_v);
56 /// <summary>Controls an infinite loop for a scroller.</summary>
57 /// <param name="loop_h">The scrolling horizontal loop</param>
58 /// <param name="loop_v">The Scrolling vertical loop</param>
59 void SetLooping(bool loop_h, bool loop_v);
60 /// <summary>Blocking of scrolling (per axis)
61 /// 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>
62 /// <returns>Which axis (or axes) to block</returns>
63 Efl.Ui.ScrollBlock GetMovementBlock();
64 /// <summary>Blocking of scrolling (per axis)
65 /// 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>
66 /// <param name="block">Which axis (or axes) to block</param>
67 void SetMovementBlock(Efl.Ui.ScrollBlock block);
68 /// <summary>Control scrolling gravity on the scrollable
69 /// The gravity defines how the scroller will adjust its view when the size of the scroller contents increases.
71 /// The scroller will adjust the view to glue itself as follows.
73 /// 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
75 /// Default values for x and y are 0.0</summary>
76 /// <param name="x">Horizontal scrolling gravity</param>
77 /// <param name="y">Vertical scrolling gravity</param>
78 void GetGravity(out double x, out double y);
79 /// <summary>Control scrolling gravity on the scrollable
80 /// The gravity defines how the scroller will adjust its view when the size of the scroller contents increases.
82 /// The scroller will adjust the view to glue itself as follows.
84 /// 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
86 /// Default values for x and y are 0.0</summary>
87 /// <param name="x">Horizontal scrolling gravity</param>
88 /// <param name="y">Vertical scrolling gravity</param>
89 void SetGravity(double x, double y);
90 /// <summary>Prevent the scrollable from being smaller than the minimum size of the content.
91 /// 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>
92 /// <param name="w">Whether to limit the minimum horizontal size</param>
93 /// <param name="h">Whether to limit the minimum vertical size</param>
94 void SetMatchContent(bool w, bool h);
95 /// <summary>Control the step size
96 /// Use this call to set step size. This value is used when scroller scroll by arrow key event.</summary>
97 /// <returns>The step size in pixels</returns>
98 Eina.Position2D GetStepSize();
99 /// <summary>Control the step size
100 /// Use this call to set step size. This value is used when scroller scroll by arrow key event.</summary>
101 /// <param name="step">The step size in pixels</param>
102 void SetStepSize(Eina.Position2D step);
103 /// <summary>Show a specific virtual region within the scroller content object.
104 /// 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>
105 /// <param name="rect">The position where to scroll. and The size user want to see</param>
106 /// <param name="animation">Whether to scroll with animation or not</param>
107 void Scroll(Eina.Rect rect, bool animation);
108 /// <summary>The content position</summary>
109 /// <value>The position is virtual value, (0, 0) starting at the top-left.</value>
110 Eina.Position2D ContentPos {
114 /// <summary>The content size</summary>
115 /// <value>The content size in pixels.</value>
116 Eina.Size2D ContentSize {
119 /// <summary>The viewport geometry</summary>
120 /// <value>It is absolute geometry.</value>
121 Eina.Rect ViewportGeometry {
124 /// <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>
125 /// <value><c>true</c> if freeze, <c>false</c> otherwise</value>
130 /// <summary>Hold property When hold turns on, it only scrolls by holding action.</summary>
131 /// <value><c>true</c> if hold, <c>false</c> otherwise</value>
136 /// <summary>Blocking of scrolling (per axis)
137 /// 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>
138 /// <value>Which axis (or axes) to block</value>
139 Efl.Ui.ScrollBlock MovementBlock {
143 /// <summary>Control the step size
144 /// Use this call to set step size. This value is used when scroller scroll by arrow key event.</summary>
145 /// <value>The step size in pixels</value>
146 Eina.Position2D StepSize {
151 sealed public class IScrollableInteractiveConcrete :
153 , IScrollableInteractive
156 ///<summary>Pointer to the native class description.</summary>
157 public override System.IntPtr NativeClass
161 if (((object)this).GetType() == typeof(IScrollableInteractiveConcrete))
163 return GetEflClassStatic();
167 return Efl.Eo.ClassRegister.klassFromType[((object)this).GetType()];
172 /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
173 /// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
174 private IScrollableInteractiveConcrete(ConstructingHandle ch) : base(ch)
178 [System.Runtime.InteropServices.DllImport("libefl.so.1")] internal static extern System.IntPtr
179 efl_ui_scrollable_interactive_interface_get();
180 /// <summary>Initializes a new instance of the <see cref="IScrollableInteractive"/> class.
181 /// Internal usage: This is used when interacting with C code and should not be used directly.</summary>
182 /// <param name="wh">The native pointer to be wrapped.</param>
183 private IScrollableInteractiveConcrete(Efl.Eo.Globals.WrappingHandle wh) : base(wh)
187 /// <summary>Called when scroll operation starts</summary>
188 public event EventHandler ScrollStartEvt
192 lock (eflBindingEventLock)
194 Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
196 var obj = Efl.Eo.Globals.WrapperSupervisorPtrToManaged(data).Target;
199 EventArgs args = EventArgs.Empty;
202 value?.Invoke(obj, args);
206 Eina.Log.Error(e.ToString());
207 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
212 string key = "_EFL_UI_EVENT_SCROLL_START";
213 AddNativeEventHandler(efl.Libs.Efl, key, callerCb, value);
219 lock (eflBindingEventLock)
221 string key = "_EFL_UI_EVENT_SCROLL_START";
222 RemoveNativeEventHandler(efl.Libs.Efl, key, value);
226 ///<summary>Method to raise event ScrollStartEvt.</summary>
227 public void OnScrollStartEvt(EventArgs e)
229 var key = "_EFL_UI_EVENT_SCROLL_START";
230 IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Efl, key);
231 if (desc == IntPtr.Zero)
233 Eina.Log.Error($"Failed to get native event {key}");
237 Efl.Eo.Globals.efl_event_callback_call(this.NativeHandle, desc, IntPtr.Zero);
239 /// <summary>Called when scrolling</summary>
240 public event EventHandler ScrollEvt
244 lock (eflBindingEventLock)
246 Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
248 var obj = Efl.Eo.Globals.WrapperSupervisorPtrToManaged(data).Target;
251 EventArgs args = EventArgs.Empty;
254 value?.Invoke(obj, args);
258 Eina.Log.Error(e.ToString());
259 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
264 string key = "_EFL_UI_EVENT_SCROLL";
265 AddNativeEventHandler(efl.Libs.Efl, key, callerCb, value);
271 lock (eflBindingEventLock)
273 string key = "_EFL_UI_EVENT_SCROLL";
274 RemoveNativeEventHandler(efl.Libs.Efl, key, value);
278 ///<summary>Method to raise event ScrollEvt.</summary>
279 public void OnScrollEvt(EventArgs e)
281 var key = "_EFL_UI_EVENT_SCROLL";
282 IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Efl, key);
283 if (desc == IntPtr.Zero)
285 Eina.Log.Error($"Failed to get native event {key}");
289 Efl.Eo.Globals.efl_event_callback_call(this.NativeHandle, desc, IntPtr.Zero);
291 /// <summary>Called when scroll operation stops</summary>
292 public event EventHandler ScrollStopEvt
296 lock (eflBindingEventLock)
298 Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
300 var obj = Efl.Eo.Globals.WrapperSupervisorPtrToManaged(data).Target;
303 EventArgs args = EventArgs.Empty;
306 value?.Invoke(obj, args);
310 Eina.Log.Error(e.ToString());
311 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
316 string key = "_EFL_UI_EVENT_SCROLL_STOP";
317 AddNativeEventHandler(efl.Libs.Efl, key, callerCb, value);
323 lock (eflBindingEventLock)
325 string key = "_EFL_UI_EVENT_SCROLL_STOP";
326 RemoveNativeEventHandler(efl.Libs.Efl, key, value);
330 ///<summary>Method to raise event ScrollStopEvt.</summary>
331 public void OnScrollStopEvt(EventArgs e)
333 var key = "_EFL_UI_EVENT_SCROLL_STOP";
334 IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Efl, key);
335 if (desc == IntPtr.Zero)
337 Eina.Log.Error($"Failed to get native event {key}");
341 Efl.Eo.Globals.efl_event_callback_call(this.NativeHandle, desc, IntPtr.Zero);
343 /// <summary>Called when scrolling upwards</summary>
344 public event EventHandler ScrollUpEvt
348 lock (eflBindingEventLock)
350 Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
352 var obj = Efl.Eo.Globals.WrapperSupervisorPtrToManaged(data).Target;
355 EventArgs args = EventArgs.Empty;
358 value?.Invoke(obj, args);
362 Eina.Log.Error(e.ToString());
363 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
368 string key = "_EFL_UI_EVENT_SCROLL_UP";
369 AddNativeEventHandler(efl.Libs.Efl, key, callerCb, value);
375 lock (eflBindingEventLock)
377 string key = "_EFL_UI_EVENT_SCROLL_UP";
378 RemoveNativeEventHandler(efl.Libs.Efl, key, value);
382 ///<summary>Method to raise event ScrollUpEvt.</summary>
383 public void OnScrollUpEvt(EventArgs e)
385 var key = "_EFL_UI_EVENT_SCROLL_UP";
386 IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Efl, key);
387 if (desc == IntPtr.Zero)
389 Eina.Log.Error($"Failed to get native event {key}");
393 Efl.Eo.Globals.efl_event_callback_call(this.NativeHandle, desc, IntPtr.Zero);
395 /// <summary>Called when scrolling downwards</summary>
396 public event EventHandler ScrollDownEvt
400 lock (eflBindingEventLock)
402 Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
404 var obj = Efl.Eo.Globals.WrapperSupervisorPtrToManaged(data).Target;
407 EventArgs args = EventArgs.Empty;
410 value?.Invoke(obj, args);
414 Eina.Log.Error(e.ToString());
415 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
420 string key = "_EFL_UI_EVENT_SCROLL_DOWN";
421 AddNativeEventHandler(efl.Libs.Efl, key, callerCb, value);
427 lock (eflBindingEventLock)
429 string key = "_EFL_UI_EVENT_SCROLL_DOWN";
430 RemoveNativeEventHandler(efl.Libs.Efl, key, value);
434 ///<summary>Method to raise event ScrollDownEvt.</summary>
435 public void OnScrollDownEvt(EventArgs e)
437 var key = "_EFL_UI_EVENT_SCROLL_DOWN";
438 IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Efl, key);
439 if (desc == IntPtr.Zero)
441 Eina.Log.Error($"Failed to get native event {key}");
445 Efl.Eo.Globals.efl_event_callback_call(this.NativeHandle, desc, IntPtr.Zero);
447 /// <summary>Called when scrolling left</summary>
448 public event EventHandler ScrollLeftEvt
452 lock (eflBindingEventLock)
454 Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
456 var obj = Efl.Eo.Globals.WrapperSupervisorPtrToManaged(data).Target;
459 EventArgs args = EventArgs.Empty;
462 value?.Invoke(obj, args);
466 Eina.Log.Error(e.ToString());
467 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
472 string key = "_EFL_UI_EVENT_SCROLL_LEFT";
473 AddNativeEventHandler(efl.Libs.Efl, key, callerCb, value);
479 lock (eflBindingEventLock)
481 string key = "_EFL_UI_EVENT_SCROLL_LEFT";
482 RemoveNativeEventHandler(efl.Libs.Efl, key, value);
486 ///<summary>Method to raise event ScrollLeftEvt.</summary>
487 public void OnScrollLeftEvt(EventArgs e)
489 var key = "_EFL_UI_EVENT_SCROLL_LEFT";
490 IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Efl, key);
491 if (desc == IntPtr.Zero)
493 Eina.Log.Error($"Failed to get native event {key}");
497 Efl.Eo.Globals.efl_event_callback_call(this.NativeHandle, desc, IntPtr.Zero);
499 /// <summary>Called when scrolling right</summary>
500 public event EventHandler ScrollRightEvt
504 lock (eflBindingEventLock)
506 Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
508 var obj = Efl.Eo.Globals.WrapperSupervisorPtrToManaged(data).Target;
511 EventArgs args = EventArgs.Empty;
514 value?.Invoke(obj, args);
518 Eina.Log.Error(e.ToString());
519 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
524 string key = "_EFL_UI_EVENT_SCROLL_RIGHT";
525 AddNativeEventHandler(efl.Libs.Efl, key, callerCb, value);
531 lock (eflBindingEventLock)
533 string key = "_EFL_UI_EVENT_SCROLL_RIGHT";
534 RemoveNativeEventHandler(efl.Libs.Efl, key, value);
538 ///<summary>Method to raise event ScrollRightEvt.</summary>
539 public void OnScrollRightEvt(EventArgs e)
541 var key = "_EFL_UI_EVENT_SCROLL_RIGHT";
542 IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Efl, key);
543 if (desc == IntPtr.Zero)
545 Eina.Log.Error($"Failed to get native event {key}");
549 Efl.Eo.Globals.efl_event_callback_call(this.NativeHandle, desc, IntPtr.Zero);
551 /// <summary>Called when hitting the top edge</summary>
552 public event EventHandler EdgeUpEvt
556 lock (eflBindingEventLock)
558 Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
560 var obj = Efl.Eo.Globals.WrapperSupervisorPtrToManaged(data).Target;
563 EventArgs args = EventArgs.Empty;
566 value?.Invoke(obj, args);
570 Eina.Log.Error(e.ToString());
571 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
576 string key = "_EFL_UI_EVENT_EDGE_UP";
577 AddNativeEventHandler(efl.Libs.Efl, key, callerCb, value);
583 lock (eflBindingEventLock)
585 string key = "_EFL_UI_EVENT_EDGE_UP";
586 RemoveNativeEventHandler(efl.Libs.Efl, key, value);
590 ///<summary>Method to raise event EdgeUpEvt.</summary>
591 public void OnEdgeUpEvt(EventArgs e)
593 var key = "_EFL_UI_EVENT_EDGE_UP";
594 IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Efl, key);
595 if (desc == IntPtr.Zero)
597 Eina.Log.Error($"Failed to get native event {key}");
601 Efl.Eo.Globals.efl_event_callback_call(this.NativeHandle, desc, IntPtr.Zero);
603 /// <summary>Called when hitting the bottom edge</summary>
604 public event EventHandler EdgeDownEvt
608 lock (eflBindingEventLock)
610 Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
612 var obj = Efl.Eo.Globals.WrapperSupervisorPtrToManaged(data).Target;
615 EventArgs args = EventArgs.Empty;
618 value?.Invoke(obj, args);
622 Eina.Log.Error(e.ToString());
623 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
628 string key = "_EFL_UI_EVENT_EDGE_DOWN";
629 AddNativeEventHandler(efl.Libs.Efl, key, callerCb, value);
635 lock (eflBindingEventLock)
637 string key = "_EFL_UI_EVENT_EDGE_DOWN";
638 RemoveNativeEventHandler(efl.Libs.Efl, key, value);
642 ///<summary>Method to raise event EdgeDownEvt.</summary>
643 public void OnEdgeDownEvt(EventArgs e)
645 var key = "_EFL_UI_EVENT_EDGE_DOWN";
646 IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Efl, key);
647 if (desc == IntPtr.Zero)
649 Eina.Log.Error($"Failed to get native event {key}");
653 Efl.Eo.Globals.efl_event_callback_call(this.NativeHandle, desc, IntPtr.Zero);
655 /// <summary>Called when hitting the left edge</summary>
656 public event EventHandler EdgeLeftEvt
660 lock (eflBindingEventLock)
662 Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
664 var obj = Efl.Eo.Globals.WrapperSupervisorPtrToManaged(data).Target;
667 EventArgs args = EventArgs.Empty;
670 value?.Invoke(obj, args);
674 Eina.Log.Error(e.ToString());
675 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
680 string key = "_EFL_UI_EVENT_EDGE_LEFT";
681 AddNativeEventHandler(efl.Libs.Efl, key, callerCb, value);
687 lock (eflBindingEventLock)
689 string key = "_EFL_UI_EVENT_EDGE_LEFT";
690 RemoveNativeEventHandler(efl.Libs.Efl, key, value);
694 ///<summary>Method to raise event EdgeLeftEvt.</summary>
695 public void OnEdgeLeftEvt(EventArgs e)
697 var key = "_EFL_UI_EVENT_EDGE_LEFT";
698 IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Efl, key);
699 if (desc == IntPtr.Zero)
701 Eina.Log.Error($"Failed to get native event {key}");
705 Efl.Eo.Globals.efl_event_callback_call(this.NativeHandle, desc, IntPtr.Zero);
707 /// <summary>Called when hitting the right edge</summary>
708 public event EventHandler EdgeRightEvt
712 lock (eflBindingEventLock)
714 Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
716 var obj = Efl.Eo.Globals.WrapperSupervisorPtrToManaged(data).Target;
719 EventArgs args = EventArgs.Empty;
722 value?.Invoke(obj, args);
726 Eina.Log.Error(e.ToString());
727 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
732 string key = "_EFL_UI_EVENT_EDGE_RIGHT";
733 AddNativeEventHandler(efl.Libs.Efl, key, callerCb, value);
739 lock (eflBindingEventLock)
741 string key = "_EFL_UI_EVENT_EDGE_RIGHT";
742 RemoveNativeEventHandler(efl.Libs.Efl, key, value);
746 ///<summary>Method to raise event EdgeRightEvt.</summary>
747 public void OnEdgeRightEvt(EventArgs e)
749 var key = "_EFL_UI_EVENT_EDGE_RIGHT";
750 IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Efl, key);
751 if (desc == IntPtr.Zero)
753 Eina.Log.Error($"Failed to get native event {key}");
757 Efl.Eo.Globals.efl_event_callback_call(this.NativeHandle, desc, IntPtr.Zero);
759 /// <summary>Called when scroll animation starts</summary>
760 public event EventHandler ScrollAnimStartEvt
764 lock (eflBindingEventLock)
766 Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
768 var obj = Efl.Eo.Globals.WrapperSupervisorPtrToManaged(data).Target;
771 EventArgs args = EventArgs.Empty;
774 value?.Invoke(obj, args);
778 Eina.Log.Error(e.ToString());
779 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
784 string key = "_EFL_UI_EVENT_SCROLL_ANIM_START";
785 AddNativeEventHandler(efl.Libs.Efl, key, callerCb, value);
791 lock (eflBindingEventLock)
793 string key = "_EFL_UI_EVENT_SCROLL_ANIM_START";
794 RemoveNativeEventHandler(efl.Libs.Efl, key, value);
798 ///<summary>Method to raise event ScrollAnimStartEvt.</summary>
799 public void OnScrollAnimStartEvt(EventArgs e)
801 var key = "_EFL_UI_EVENT_SCROLL_ANIM_START";
802 IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Efl, key);
803 if (desc == IntPtr.Zero)
805 Eina.Log.Error($"Failed to get native event {key}");
809 Efl.Eo.Globals.efl_event_callback_call(this.NativeHandle, desc, IntPtr.Zero);
811 /// <summary>Called when scroll animation stopps</summary>
812 public event EventHandler ScrollAnimStopEvt
816 lock (eflBindingEventLock)
818 Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
820 var obj = Efl.Eo.Globals.WrapperSupervisorPtrToManaged(data).Target;
823 EventArgs args = EventArgs.Empty;
826 value?.Invoke(obj, args);
830 Eina.Log.Error(e.ToString());
831 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
836 string key = "_EFL_UI_EVENT_SCROLL_ANIM_STOP";
837 AddNativeEventHandler(efl.Libs.Efl, key, callerCb, value);
843 lock (eflBindingEventLock)
845 string key = "_EFL_UI_EVENT_SCROLL_ANIM_STOP";
846 RemoveNativeEventHandler(efl.Libs.Efl, key, value);
850 ///<summary>Method to raise event ScrollAnimStopEvt.</summary>
851 public void OnScrollAnimStopEvt(EventArgs e)
853 var key = "_EFL_UI_EVENT_SCROLL_ANIM_STOP";
854 IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Efl, key);
855 if (desc == IntPtr.Zero)
857 Eina.Log.Error($"Failed to get native event {key}");
861 Efl.Eo.Globals.efl_event_callback_call(this.NativeHandle, desc, IntPtr.Zero);
863 /// <summary>Called when scroll drag starts</summary>
864 public event EventHandler ScrollDragStartEvt
868 lock (eflBindingEventLock)
870 Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
872 var obj = Efl.Eo.Globals.WrapperSupervisorPtrToManaged(data).Target;
875 EventArgs args = EventArgs.Empty;
878 value?.Invoke(obj, args);
882 Eina.Log.Error(e.ToString());
883 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
888 string key = "_EFL_UI_EVENT_SCROLL_DRAG_START";
889 AddNativeEventHandler(efl.Libs.Efl, key, callerCb, value);
895 lock (eflBindingEventLock)
897 string key = "_EFL_UI_EVENT_SCROLL_DRAG_START";
898 RemoveNativeEventHandler(efl.Libs.Efl, key, value);
902 ///<summary>Method to raise event ScrollDragStartEvt.</summary>
903 public void OnScrollDragStartEvt(EventArgs e)
905 var key = "_EFL_UI_EVENT_SCROLL_DRAG_START";
906 IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Efl, key);
907 if (desc == IntPtr.Zero)
909 Eina.Log.Error($"Failed to get native event {key}");
913 Efl.Eo.Globals.efl_event_callback_call(this.NativeHandle, desc, IntPtr.Zero);
915 /// <summary>Called when scroll drag stops</summary>
916 public event EventHandler ScrollDragStopEvt
920 lock (eflBindingEventLock)
922 Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
924 var obj = Efl.Eo.Globals.WrapperSupervisorPtrToManaged(data).Target;
927 EventArgs args = EventArgs.Empty;
930 value?.Invoke(obj, args);
934 Eina.Log.Error(e.ToString());
935 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
940 string key = "_EFL_UI_EVENT_SCROLL_DRAG_STOP";
941 AddNativeEventHandler(efl.Libs.Efl, key, callerCb, value);
947 lock (eflBindingEventLock)
949 string key = "_EFL_UI_EVENT_SCROLL_DRAG_STOP";
950 RemoveNativeEventHandler(efl.Libs.Efl, key, value);
954 ///<summary>Method to raise event ScrollDragStopEvt.</summary>
955 public void OnScrollDragStopEvt(EventArgs e)
957 var key = "_EFL_UI_EVENT_SCROLL_DRAG_STOP";
958 IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Efl, key);
959 if (desc == IntPtr.Zero)
961 Eina.Log.Error($"Failed to get native event {key}");
965 Efl.Eo.Globals.efl_event_callback_call(this.NativeHandle, desc, IntPtr.Zero);
967 /// <summary>The content position</summary>
968 /// <returns>The position is virtual value, (0, 0) starting at the top-left.</returns>
969 public Eina.Position2D GetContentPos() {
970 var _ret_var = Efl.Ui.IScrollableInteractiveConcrete.NativeMethods.efl_ui_scrollable_content_pos_get_ptr.Value.Delegate(this.NativeHandle);
971 Eina.Error.RaiseIfUnhandledException();
974 /// <summary>The content position</summary>
975 /// <param name="pos">The position is virtual value, (0, 0) starting at the top-left.</param>
976 public void SetContentPos(Eina.Position2D pos) {
977 Eina.Position2D.NativeStruct _in_pos = pos;
978 Efl.Ui.IScrollableInteractiveConcrete.NativeMethods.efl_ui_scrollable_content_pos_set_ptr.Value.Delegate(this.NativeHandle,_in_pos);
979 Eina.Error.RaiseIfUnhandledException();
981 /// <summary>The content size</summary>
982 /// <returns>The content size in pixels.</returns>
983 public Eina.Size2D GetContentSize() {
984 var _ret_var = Efl.Ui.IScrollableInteractiveConcrete.NativeMethods.efl_ui_scrollable_content_size_get_ptr.Value.Delegate(this.NativeHandle);
985 Eina.Error.RaiseIfUnhandledException();
988 /// <summary>The viewport geometry</summary>
989 /// <returns>It is absolute geometry.</returns>
990 public Eina.Rect GetViewportGeometry() {
991 var _ret_var = Efl.Ui.IScrollableInteractiveConcrete.NativeMethods.efl_ui_scrollable_viewport_geometry_get_ptr.Value.Delegate(this.NativeHandle);
992 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 GetBounceEnabled(out bool horiz, out bool vert) {
1000 Efl.Ui.IScrollableInteractiveConcrete.NativeMethods.efl_ui_scrollable_bounce_enabled_get_ptr.Value.Delegate(this.NativeHandle,out horiz, out vert);
1001 Eina.Error.RaiseIfUnhandledException();
1003 /// <summary>Bouncing behavior
1004 /// 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>
1005 /// <param name="horiz">Horizontal bounce policy.</param>
1006 /// <param name="vert">Vertical bounce policy.</param>
1007 public void SetBounceEnabled(bool horiz, bool vert) {
1008 Efl.Ui.IScrollableInteractiveConcrete.NativeMethods.efl_ui_scrollable_bounce_enabled_set_ptr.Value.Delegate(this.NativeHandle,horiz, vert);
1009 Eina.Error.RaiseIfUnhandledException();
1011 /// <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>
1012 /// <returns><c>true</c> if freeze, <c>false</c> otherwise</returns>
1013 public bool GetScrollFreeze() {
1014 var _ret_var = Efl.Ui.IScrollableInteractiveConcrete.NativeMethods.efl_ui_scrollable_scroll_freeze_get_ptr.Value.Delegate(this.NativeHandle);
1015 Eina.Error.RaiseIfUnhandledException();
1018 /// <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>
1019 /// <param name="freeze"><c>true</c> if freeze, <c>false</c> otherwise</param>
1020 public void SetScrollFreeze(bool freeze) {
1021 Efl.Ui.IScrollableInteractiveConcrete.NativeMethods.efl_ui_scrollable_scroll_freeze_set_ptr.Value.Delegate(this.NativeHandle,freeze);
1022 Eina.Error.RaiseIfUnhandledException();
1024 /// <summary>Hold property When hold turns on, it only scrolls by holding action.</summary>
1025 /// <returns><c>true</c> if hold, <c>false</c> otherwise</returns>
1026 public bool GetScrollHold() {
1027 var _ret_var = Efl.Ui.IScrollableInteractiveConcrete.NativeMethods.efl_ui_scrollable_scroll_hold_get_ptr.Value.Delegate(this.NativeHandle);
1028 Eina.Error.RaiseIfUnhandledException();
1031 /// <summary>Hold property When hold turns on, it only scrolls by holding action.</summary>
1032 /// <param name="hold"><c>true</c> if hold, <c>false</c> otherwise</param>
1033 public void SetScrollHold(bool hold) {
1034 Efl.Ui.IScrollableInteractiveConcrete.NativeMethods.efl_ui_scrollable_scroll_hold_set_ptr.Value.Delegate(this.NativeHandle,hold);
1035 Eina.Error.RaiseIfUnhandledException();
1037 /// <summary>Controls an infinite loop for a scroller.</summary>
1038 /// <param name="loop_h">The scrolling horizontal loop</param>
1039 /// <param name="loop_v">The Scrolling vertical loop</param>
1040 public void GetLooping(out bool loop_h, out bool loop_v) {
1041 Efl.Ui.IScrollableInteractiveConcrete.NativeMethods.efl_ui_scrollable_looping_get_ptr.Value.Delegate(this.NativeHandle,out loop_h, out loop_v);
1042 Eina.Error.RaiseIfUnhandledException();
1044 /// <summary>Controls an infinite loop for a scroller.</summary>
1045 /// <param name="loop_h">The scrolling horizontal loop</param>
1046 /// <param name="loop_v">The Scrolling vertical loop</param>
1047 public void SetLooping(bool loop_h, bool loop_v) {
1048 Efl.Ui.IScrollableInteractiveConcrete.NativeMethods.efl_ui_scrollable_looping_set_ptr.Value.Delegate(this.NativeHandle,loop_h, loop_v);
1049 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 /// <returns>Which axis (or axes) to block</returns>
1054 public Efl.Ui.ScrollBlock GetMovementBlock() {
1055 var _ret_var = Efl.Ui.IScrollableInteractiveConcrete.NativeMethods.efl_ui_scrollable_movement_block_get_ptr.Value.Delegate(this.NativeHandle);
1056 Eina.Error.RaiseIfUnhandledException();
1059 /// <summary>Blocking of scrolling (per axis)
1060 /// 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>
1061 /// <param name="block">Which axis (or axes) to block</param>
1062 public void SetMovementBlock(Efl.Ui.ScrollBlock block) {
1063 Efl.Ui.IScrollableInteractiveConcrete.NativeMethods.efl_ui_scrollable_movement_block_set_ptr.Value.Delegate(this.NativeHandle,block);
1064 Eina.Error.RaiseIfUnhandledException();
1066 /// <summary>Control scrolling gravity on the scrollable
1067 /// The gravity defines how the scroller will adjust its view when the size of the scroller contents increases.
1069 /// The scroller will adjust the view to glue itself as follows.
1071 /// 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
1073 /// Default values for x and y are 0.0</summary>
1074 /// <param name="x">Horizontal scrolling gravity</param>
1075 /// <param name="y">Vertical scrolling gravity</param>
1076 public void GetGravity(out double x, out double y) {
1077 Efl.Ui.IScrollableInteractiveConcrete.NativeMethods.efl_ui_scrollable_gravity_get_ptr.Value.Delegate(this.NativeHandle,out x, out y);
1078 Eina.Error.RaiseIfUnhandledException();
1080 /// <summary>Control scrolling gravity on the scrollable
1081 /// The gravity defines how the scroller will adjust its view when the size of the scroller contents increases.
1083 /// The scroller will adjust the view to glue itself as follows.
1085 /// 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
1087 /// Default values for x and y are 0.0</summary>
1088 /// <param name="x">Horizontal scrolling gravity</param>
1089 /// <param name="y">Vertical scrolling gravity</param>
1090 public void SetGravity(double x, double y) {
1091 Efl.Ui.IScrollableInteractiveConcrete.NativeMethods.efl_ui_scrollable_gravity_set_ptr.Value.Delegate(this.NativeHandle,x, y);
1092 Eina.Error.RaiseIfUnhandledException();
1094 /// <summary>Prevent the scrollable from being smaller than the minimum size of the content.
1095 /// 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>
1096 /// <param name="w">Whether to limit the minimum horizontal size</param>
1097 /// <param name="h">Whether to limit the minimum vertical size</param>
1098 public void SetMatchContent(bool w, bool h) {
1099 Efl.Ui.IScrollableInteractiveConcrete.NativeMethods.efl_ui_scrollable_match_content_set_ptr.Value.Delegate(this.NativeHandle,w, h);
1100 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 /// <returns>The step size in pixels</returns>
1105 public Eina.Position2D GetStepSize() {
1106 var _ret_var = Efl.Ui.IScrollableInteractiveConcrete.NativeMethods.efl_ui_scrollable_step_size_get_ptr.Value.Delegate(this.NativeHandle);
1107 Eina.Error.RaiseIfUnhandledException();
1110 /// <summary>Control the step size
1111 /// Use this call to set step size. This value is used when scroller scroll by arrow key event.</summary>
1112 /// <param name="step">The step size in pixels</param>
1113 public void SetStepSize(Eina.Position2D step) {
1114 Eina.Position2D.NativeStruct _in_step = step;
1115 Efl.Ui.IScrollableInteractiveConcrete.NativeMethods.efl_ui_scrollable_step_size_set_ptr.Value.Delegate(this.NativeHandle,_in_step);
1116 Eina.Error.RaiseIfUnhandledException();
1118 /// <summary>Show a specific virtual region within the scroller content object.
1119 /// 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>
1120 /// <param name="rect">The position where to scroll. and The size user want to see</param>
1121 /// <param name="animation">Whether to scroll with animation or not</param>
1122 public void Scroll(Eina.Rect rect, bool animation) {
1123 Eina.Rect.NativeStruct _in_rect = rect;
1124 Efl.Ui.IScrollableInteractiveConcrete.NativeMethods.efl_ui_scrollable_scroll_ptr.Value.Delegate(this.NativeHandle,_in_rect, animation);
1125 Eina.Error.RaiseIfUnhandledException();
1127 /// <summary>The content position</summary>
1128 /// <value>The position is virtual value, (0, 0) starting at the top-left.</value>
1129 public Eina.Position2D ContentPos {
1130 get { return GetContentPos(); }
1131 set { SetContentPos(value); }
1133 /// <summary>The content size</summary>
1134 /// <value>The content size in pixels.</value>
1135 public Eina.Size2D ContentSize {
1136 get { return GetContentSize(); }
1138 /// <summary>The viewport geometry</summary>
1139 /// <value>It is absolute geometry.</value>
1140 public Eina.Rect ViewportGeometry {
1141 get { return GetViewportGeometry(); }
1143 /// <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>
1144 /// <value><c>true</c> if freeze, <c>false</c> otherwise</value>
1145 public bool ScrollFreeze {
1146 get { return GetScrollFreeze(); }
1147 set { SetScrollFreeze(value); }
1149 /// <summary>Hold property When hold turns on, it only scrolls by holding action.</summary>
1150 /// <value><c>true</c> if hold, <c>false</c> otherwise</value>
1151 public bool ScrollHold {
1152 get { return GetScrollHold(); }
1153 set { SetScrollHold(value); }
1155 /// <summary>Blocking of scrolling (per axis)
1156 /// 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>
1157 /// <value>Which axis (or axes) to block</value>
1158 public Efl.Ui.ScrollBlock MovementBlock {
1159 get { return GetMovementBlock(); }
1160 set { SetMovementBlock(value); }
1162 /// <summary>Control the step size
1163 /// Use this call to set step size. This value is used when scroller scroll by arrow key event.</summary>
1164 /// <value>The step size in pixels</value>
1165 public Eina.Position2D StepSize {
1166 get { return GetStepSize(); }
1167 set { SetStepSize(value); }
1169 private static IntPtr GetEflClassStatic()
1171 return Efl.Ui.IScrollableInteractiveConcrete.efl_ui_scrollable_interactive_interface_get();
1173 /// <summary>Wrapper for native methods and virtual method delegates.
1174 /// For internal use by generated code only.</summary>
1175 public new class NativeMethods : Efl.Eo.EoWrapper.NativeMethods
1177 private static Efl.Eo.NativeModule Module = new Efl.Eo.NativeModule( efl.Libs.Efl);
1178 /// <summary>Gets the list of Eo operations to override.</summary>
1179 /// <returns>The list of Eo operations to be overload.</returns>
1180 public override System.Collections.Generic.List<Efl_Op_Description> GetEoOps(System.Type type)
1182 var descs = new System.Collections.Generic.List<Efl_Op_Description>();
1183 var methods = Efl.Eo.Globals.GetUserMethods(type);
1185 if (efl_ui_scrollable_content_pos_get_static_delegate == null)
1187 efl_ui_scrollable_content_pos_get_static_delegate = new efl_ui_scrollable_content_pos_get_delegate(content_pos_get);
1190 if (methods.FirstOrDefault(m => m.Name == "GetContentPos") != null)
1192 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) });
1195 if (efl_ui_scrollable_content_pos_set_static_delegate == null)
1197 efl_ui_scrollable_content_pos_set_static_delegate = new efl_ui_scrollable_content_pos_set_delegate(content_pos_set);
1200 if (methods.FirstOrDefault(m => m.Name == "SetContentPos") != null)
1202 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) });
1205 if (efl_ui_scrollable_content_size_get_static_delegate == null)
1207 efl_ui_scrollable_content_size_get_static_delegate = new efl_ui_scrollable_content_size_get_delegate(content_size_get);
1210 if (methods.FirstOrDefault(m => m.Name == "GetContentSize") != null)
1212 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) });
1215 if (efl_ui_scrollable_viewport_geometry_get_static_delegate == null)
1217 efl_ui_scrollable_viewport_geometry_get_static_delegate = new efl_ui_scrollable_viewport_geometry_get_delegate(viewport_geometry_get);
1220 if (methods.FirstOrDefault(m => m.Name == "GetViewportGeometry") != null)
1222 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) });
1225 if (efl_ui_scrollable_bounce_enabled_get_static_delegate == null)
1227 efl_ui_scrollable_bounce_enabled_get_static_delegate = new efl_ui_scrollable_bounce_enabled_get_delegate(bounce_enabled_get);
1230 if (methods.FirstOrDefault(m => m.Name == "GetBounceEnabled") != null)
1232 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) });
1235 if (efl_ui_scrollable_bounce_enabled_set_static_delegate == null)
1237 efl_ui_scrollable_bounce_enabled_set_static_delegate = new efl_ui_scrollable_bounce_enabled_set_delegate(bounce_enabled_set);
1240 if (methods.FirstOrDefault(m => m.Name == "SetBounceEnabled") != null)
1242 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) });
1245 if (efl_ui_scrollable_scroll_freeze_get_static_delegate == null)
1247 efl_ui_scrollable_scroll_freeze_get_static_delegate = new efl_ui_scrollable_scroll_freeze_get_delegate(scroll_freeze_get);
1250 if (methods.FirstOrDefault(m => m.Name == "GetScrollFreeze") != null)
1252 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) });
1255 if (efl_ui_scrollable_scroll_freeze_set_static_delegate == null)
1257 efl_ui_scrollable_scroll_freeze_set_static_delegate = new efl_ui_scrollable_scroll_freeze_set_delegate(scroll_freeze_set);
1260 if (methods.FirstOrDefault(m => m.Name == "SetScrollFreeze") != null)
1262 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) });
1265 if (efl_ui_scrollable_scroll_hold_get_static_delegate == null)
1267 efl_ui_scrollable_scroll_hold_get_static_delegate = new efl_ui_scrollable_scroll_hold_get_delegate(scroll_hold_get);
1270 if (methods.FirstOrDefault(m => m.Name == "GetScrollHold") != null)
1272 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) });
1275 if (efl_ui_scrollable_scroll_hold_set_static_delegate == null)
1277 efl_ui_scrollable_scroll_hold_set_static_delegate = new efl_ui_scrollable_scroll_hold_set_delegate(scroll_hold_set);
1280 if (methods.FirstOrDefault(m => m.Name == "SetScrollHold") != null)
1282 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) });
1285 if (efl_ui_scrollable_looping_get_static_delegate == null)
1287 efl_ui_scrollable_looping_get_static_delegate = new efl_ui_scrollable_looping_get_delegate(looping_get);
1290 if (methods.FirstOrDefault(m => m.Name == "GetLooping") != null)
1292 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) });
1295 if (efl_ui_scrollable_looping_set_static_delegate == null)
1297 efl_ui_scrollable_looping_set_static_delegate = new efl_ui_scrollable_looping_set_delegate(looping_set);
1300 if (methods.FirstOrDefault(m => m.Name == "SetLooping") != null)
1302 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) });
1305 if (efl_ui_scrollable_movement_block_get_static_delegate == null)
1307 efl_ui_scrollable_movement_block_get_static_delegate = new efl_ui_scrollable_movement_block_get_delegate(movement_block_get);
1310 if (methods.FirstOrDefault(m => m.Name == "GetMovementBlock") != null)
1312 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) });
1315 if (efl_ui_scrollable_movement_block_set_static_delegate == null)
1317 efl_ui_scrollable_movement_block_set_static_delegate = new efl_ui_scrollable_movement_block_set_delegate(movement_block_set);
1320 if (methods.FirstOrDefault(m => m.Name == "SetMovementBlock") != null)
1322 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) });
1325 if (efl_ui_scrollable_gravity_get_static_delegate == null)
1327 efl_ui_scrollable_gravity_get_static_delegate = new efl_ui_scrollable_gravity_get_delegate(gravity_get);
1330 if (methods.FirstOrDefault(m => m.Name == "GetGravity") != null)
1332 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) });
1335 if (efl_ui_scrollable_gravity_set_static_delegate == null)
1337 efl_ui_scrollable_gravity_set_static_delegate = new efl_ui_scrollable_gravity_set_delegate(gravity_set);
1340 if (methods.FirstOrDefault(m => m.Name == "SetGravity") != null)
1342 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) });
1345 if (efl_ui_scrollable_match_content_set_static_delegate == null)
1347 efl_ui_scrollable_match_content_set_static_delegate = new efl_ui_scrollable_match_content_set_delegate(match_content_set);
1350 if (methods.FirstOrDefault(m => m.Name == "SetMatchContent") != null)
1352 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) });
1355 if (efl_ui_scrollable_step_size_get_static_delegate == null)
1357 efl_ui_scrollable_step_size_get_static_delegate = new efl_ui_scrollable_step_size_get_delegate(step_size_get);
1360 if (methods.FirstOrDefault(m => m.Name == "GetStepSize") != null)
1362 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) });
1365 if (efl_ui_scrollable_step_size_set_static_delegate == null)
1367 efl_ui_scrollable_step_size_set_static_delegate = new efl_ui_scrollable_step_size_set_delegate(step_size_set);
1370 if (methods.FirstOrDefault(m => m.Name == "SetStepSize") != null)
1372 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) });
1375 if (efl_ui_scrollable_scroll_static_delegate == null)
1377 efl_ui_scrollable_scroll_static_delegate = new efl_ui_scrollable_scroll_delegate(scroll);
1380 if (methods.FirstOrDefault(m => m.Name == "Scroll") != null)
1382 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) });
1387 /// <summary>Returns the Eo class for the native methods of this class.</summary>
1388 /// <returns>The native class pointer.</returns>
1389 public override IntPtr GetEflClass()
1391 return Efl.Ui.IScrollableInteractiveConcrete.efl_ui_scrollable_interactive_interface_get();
1394 #pragma warning disable CA1707, CS1591, SA1300, SA1600
1397 private delegate Eina.Position2D.NativeStruct efl_ui_scrollable_content_pos_get_delegate(System.IntPtr obj, System.IntPtr pd);
1400 public delegate Eina.Position2D.NativeStruct efl_ui_scrollable_content_pos_get_api_delegate(System.IntPtr obj);
1402 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");
1404 private static Eina.Position2D.NativeStruct content_pos_get(System.IntPtr obj, System.IntPtr pd)
1406 Eina.Log.Debug("function efl_ui_scrollable_content_pos_get was called");
1407 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
1410 Eina.Position2D _ret_var = default(Eina.Position2D);
1413 _ret_var = ((IScrollableInteractive)ws.Target).GetContentPos();
1417 Eina.Log.Warning($"Callback error: {e.ToString()}");
1418 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
1426 return efl_ui_scrollable_content_pos_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
1430 private static efl_ui_scrollable_content_pos_get_delegate efl_ui_scrollable_content_pos_get_static_delegate;
1433 private delegate void efl_ui_scrollable_content_pos_set_delegate(System.IntPtr obj, System.IntPtr pd, Eina.Position2D.NativeStruct pos);
1436 public delegate void efl_ui_scrollable_content_pos_set_api_delegate(System.IntPtr obj, Eina.Position2D.NativeStruct pos);
1438 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");
1440 private static void content_pos_set(System.IntPtr obj, System.IntPtr pd, Eina.Position2D.NativeStruct pos)
1442 Eina.Log.Debug("function efl_ui_scrollable_content_pos_set was called");
1443 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
1446 Eina.Position2D _in_pos = pos;
1450 ((IScrollableInteractive)ws.Target).SetContentPos(_in_pos);
1454 Eina.Log.Warning($"Callback error: {e.ToString()}");
1455 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
1462 efl_ui_scrollable_content_pos_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), pos);
1466 private static efl_ui_scrollable_content_pos_set_delegate efl_ui_scrollable_content_pos_set_static_delegate;
1469 private delegate Eina.Size2D.NativeStruct efl_ui_scrollable_content_size_get_delegate(System.IntPtr obj, System.IntPtr pd);
1472 public delegate Eina.Size2D.NativeStruct efl_ui_scrollable_content_size_get_api_delegate(System.IntPtr obj);
1474 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");
1476 private static Eina.Size2D.NativeStruct content_size_get(System.IntPtr obj, System.IntPtr pd)
1478 Eina.Log.Debug("function efl_ui_scrollable_content_size_get was called");
1479 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
1482 Eina.Size2D _ret_var = default(Eina.Size2D);
1485 _ret_var = ((IScrollableInteractive)ws.Target).GetContentSize();
1489 Eina.Log.Warning($"Callback error: {e.ToString()}");
1490 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
1498 return efl_ui_scrollable_content_size_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
1502 private static efl_ui_scrollable_content_size_get_delegate efl_ui_scrollable_content_size_get_static_delegate;
1505 private delegate Eina.Rect.NativeStruct efl_ui_scrollable_viewport_geometry_get_delegate(System.IntPtr obj, System.IntPtr pd);
1508 public delegate Eina.Rect.NativeStruct efl_ui_scrollable_viewport_geometry_get_api_delegate(System.IntPtr obj);
1510 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");
1512 private static Eina.Rect.NativeStruct viewport_geometry_get(System.IntPtr obj, System.IntPtr pd)
1514 Eina.Log.Debug("function efl_ui_scrollable_viewport_geometry_get was called");
1515 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
1518 Eina.Rect _ret_var = default(Eina.Rect);
1521 _ret_var = ((IScrollableInteractive)ws.Target).GetViewportGeometry();
1525 Eina.Log.Warning($"Callback error: {e.ToString()}");
1526 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
1534 return efl_ui_scrollable_viewport_geometry_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
1538 private static efl_ui_scrollable_viewport_geometry_get_delegate efl_ui_scrollable_viewport_geometry_get_static_delegate;
1541 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);
1544 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);
1546 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");
1548 private static void bounce_enabled_get(System.IntPtr obj, System.IntPtr pd, out bool horiz, out bool vert)
1550 Eina.Log.Debug("function efl_ui_scrollable_bounce_enabled_get was called");
1551 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
1554 horiz = default(bool); vert = default(bool);
1557 ((IScrollableInteractive)ws.Target).GetBounceEnabled(out horiz, out vert);
1561 Eina.Log.Warning($"Callback error: {e.ToString()}");
1562 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
1569 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);
1573 private static efl_ui_scrollable_bounce_enabled_get_delegate efl_ui_scrollable_bounce_enabled_get_static_delegate;
1576 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);
1579 public delegate void efl_ui_scrollable_bounce_enabled_set_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.U1)] bool horiz, [MarshalAs(UnmanagedType.U1)] bool vert);
1581 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");
1583 private static void bounce_enabled_set(System.IntPtr obj, System.IntPtr pd, bool horiz, bool vert)
1585 Eina.Log.Debug("function efl_ui_scrollable_bounce_enabled_set was called");
1586 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
1592 ((IScrollableInteractive)ws.Target).SetBounceEnabled(horiz, vert);
1596 Eina.Log.Warning($"Callback error: {e.ToString()}");
1597 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
1604 efl_ui_scrollable_bounce_enabled_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), horiz, vert);
1608 private static efl_ui_scrollable_bounce_enabled_set_delegate efl_ui_scrollable_bounce_enabled_set_static_delegate;
1610 [return: MarshalAs(UnmanagedType.U1)]
1611 private delegate bool efl_ui_scrollable_scroll_freeze_get_delegate(System.IntPtr obj, System.IntPtr pd);
1613 [return: MarshalAs(UnmanagedType.U1)]
1614 public delegate bool efl_ui_scrollable_scroll_freeze_get_api_delegate(System.IntPtr obj);
1616 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");
1618 private static bool scroll_freeze_get(System.IntPtr obj, System.IntPtr pd)
1620 Eina.Log.Debug("function efl_ui_scrollable_scroll_freeze_get was called");
1621 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
1624 bool _ret_var = default(bool);
1627 _ret_var = ((IScrollableInteractive)ws.Target).GetScrollFreeze();
1631 Eina.Log.Warning($"Callback error: {e.ToString()}");
1632 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
1640 return efl_ui_scrollable_scroll_freeze_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
1644 private static efl_ui_scrollable_scroll_freeze_get_delegate efl_ui_scrollable_scroll_freeze_get_static_delegate;
1647 private delegate void efl_ui_scrollable_scroll_freeze_set_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.U1)] bool freeze);
1650 public delegate void efl_ui_scrollable_scroll_freeze_set_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.U1)] bool freeze);
1652 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");
1654 private static void scroll_freeze_set(System.IntPtr obj, System.IntPtr pd, bool freeze)
1656 Eina.Log.Debug("function efl_ui_scrollable_scroll_freeze_set was called");
1657 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
1663 ((IScrollableInteractive)ws.Target).SetScrollFreeze(freeze);
1667 Eina.Log.Warning($"Callback error: {e.ToString()}");
1668 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
1675 efl_ui_scrollable_scroll_freeze_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), freeze);
1679 private static efl_ui_scrollable_scroll_freeze_set_delegate efl_ui_scrollable_scroll_freeze_set_static_delegate;
1681 [return: MarshalAs(UnmanagedType.U1)]
1682 private delegate bool efl_ui_scrollable_scroll_hold_get_delegate(System.IntPtr obj, System.IntPtr pd);
1684 [return: MarshalAs(UnmanagedType.U1)]
1685 public delegate bool efl_ui_scrollable_scroll_hold_get_api_delegate(System.IntPtr obj);
1687 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");
1689 private static bool scroll_hold_get(System.IntPtr obj, System.IntPtr pd)
1691 Eina.Log.Debug("function efl_ui_scrollable_scroll_hold_get was called");
1692 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
1695 bool _ret_var = default(bool);
1698 _ret_var = ((IScrollableInteractive)ws.Target).GetScrollHold();
1702 Eina.Log.Warning($"Callback error: {e.ToString()}");
1703 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
1711 return efl_ui_scrollable_scroll_hold_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
1715 private static efl_ui_scrollable_scroll_hold_get_delegate efl_ui_scrollable_scroll_hold_get_static_delegate;
1718 private delegate void efl_ui_scrollable_scroll_hold_set_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.U1)] bool hold);
1721 public delegate void efl_ui_scrollable_scroll_hold_set_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.U1)] bool hold);
1723 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");
1725 private static void scroll_hold_set(System.IntPtr obj, System.IntPtr pd, bool hold)
1727 Eina.Log.Debug("function efl_ui_scrollable_scroll_hold_set was called");
1728 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
1734 ((IScrollableInteractive)ws.Target).SetScrollHold(hold);
1738 Eina.Log.Warning($"Callback error: {e.ToString()}");
1739 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
1746 efl_ui_scrollable_scroll_hold_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), hold);
1750 private static efl_ui_scrollable_scroll_hold_set_delegate efl_ui_scrollable_scroll_hold_set_static_delegate;
1753 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);
1756 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);
1758 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");
1760 private static void looping_get(System.IntPtr obj, System.IntPtr pd, out bool loop_h, out bool loop_v)
1762 Eina.Log.Debug("function efl_ui_scrollable_looping_get was called");
1763 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
1766 loop_h = default(bool); loop_v = default(bool);
1769 ((IScrollableInteractive)ws.Target).GetLooping(out loop_h, out loop_v);
1773 Eina.Log.Warning($"Callback error: {e.ToString()}");
1774 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
1781 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);
1785 private static efl_ui_scrollable_looping_get_delegate efl_ui_scrollable_looping_get_static_delegate;
1788 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);
1791 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);
1793 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");
1795 private static void looping_set(System.IntPtr obj, System.IntPtr pd, bool loop_h, bool loop_v)
1797 Eina.Log.Debug("function efl_ui_scrollable_looping_set was called");
1798 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
1804 ((IScrollableInteractive)ws.Target).SetLooping(loop_h, loop_v);
1808 Eina.Log.Warning($"Callback error: {e.ToString()}");
1809 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
1816 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);
1820 private static efl_ui_scrollable_looping_set_delegate efl_ui_scrollable_looping_set_static_delegate;
1823 private delegate Efl.Ui.ScrollBlock efl_ui_scrollable_movement_block_get_delegate(System.IntPtr obj, System.IntPtr pd);
1826 public delegate Efl.Ui.ScrollBlock efl_ui_scrollable_movement_block_get_api_delegate(System.IntPtr obj);
1828 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");
1830 private static Efl.Ui.ScrollBlock movement_block_get(System.IntPtr obj, System.IntPtr pd)
1832 Eina.Log.Debug("function efl_ui_scrollable_movement_block_get was called");
1833 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
1836 Efl.Ui.ScrollBlock _ret_var = default(Efl.Ui.ScrollBlock);
1839 _ret_var = ((IScrollableInteractive)ws.Target).GetMovementBlock();
1843 Eina.Log.Warning($"Callback error: {e.ToString()}");
1844 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
1852 return efl_ui_scrollable_movement_block_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
1856 private static efl_ui_scrollable_movement_block_get_delegate efl_ui_scrollable_movement_block_get_static_delegate;
1859 private delegate void efl_ui_scrollable_movement_block_set_delegate(System.IntPtr obj, System.IntPtr pd, Efl.Ui.ScrollBlock block);
1862 public delegate void efl_ui_scrollable_movement_block_set_api_delegate(System.IntPtr obj, Efl.Ui.ScrollBlock block);
1864 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");
1866 private static void movement_block_set(System.IntPtr obj, System.IntPtr pd, Efl.Ui.ScrollBlock block)
1868 Eina.Log.Debug("function efl_ui_scrollable_movement_block_set was called");
1869 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
1875 ((IScrollableInteractive)ws.Target).SetMovementBlock(block);
1879 Eina.Log.Warning($"Callback error: {e.ToString()}");
1880 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
1887 efl_ui_scrollable_movement_block_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), block);
1891 private static efl_ui_scrollable_movement_block_set_delegate efl_ui_scrollable_movement_block_set_static_delegate;
1894 private delegate void efl_ui_scrollable_gravity_get_delegate(System.IntPtr obj, System.IntPtr pd, out double x, out double y);
1897 public delegate void efl_ui_scrollable_gravity_get_api_delegate(System.IntPtr obj, out double x, out double y);
1899 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");
1901 private static void gravity_get(System.IntPtr obj, System.IntPtr pd, out double x, out double y)
1903 Eina.Log.Debug("function efl_ui_scrollable_gravity_get was called");
1904 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
1907 x = default(double); y = default(double);
1910 ((IScrollableInteractive)ws.Target).GetGravity(out x, out y);
1914 Eina.Log.Warning($"Callback error: {e.ToString()}");
1915 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
1922 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);
1926 private static efl_ui_scrollable_gravity_get_delegate efl_ui_scrollable_gravity_get_static_delegate;
1929 private delegate void efl_ui_scrollable_gravity_set_delegate(System.IntPtr obj, System.IntPtr pd, double x, double y);
1932 public delegate void efl_ui_scrollable_gravity_set_api_delegate(System.IntPtr obj, double x, double y);
1934 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");
1936 private static void gravity_set(System.IntPtr obj, System.IntPtr pd, double x, double y)
1938 Eina.Log.Debug("function efl_ui_scrollable_gravity_set was called");
1939 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
1945 ((IScrollableInteractive)ws.Target).SetGravity(x, y);
1949 Eina.Log.Warning($"Callback error: {e.ToString()}");
1950 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
1957 efl_ui_scrollable_gravity_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), x, y);
1961 private static efl_ui_scrollable_gravity_set_delegate efl_ui_scrollable_gravity_set_static_delegate;
1964 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);
1967 public delegate void efl_ui_scrollable_match_content_set_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.U1)] bool w, [MarshalAs(UnmanagedType.U1)] bool h);
1969 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");
1971 private static void match_content_set(System.IntPtr obj, System.IntPtr pd, bool w, bool h)
1973 Eina.Log.Debug("function efl_ui_scrollable_match_content_set was called");
1974 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
1980 ((IScrollableInteractive)ws.Target).SetMatchContent(w, h);
1984 Eina.Log.Warning($"Callback error: {e.ToString()}");
1985 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
1992 efl_ui_scrollable_match_content_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), w, h);
1996 private static efl_ui_scrollable_match_content_set_delegate efl_ui_scrollable_match_content_set_static_delegate;
1999 private delegate Eina.Position2D.NativeStruct efl_ui_scrollable_step_size_get_delegate(System.IntPtr obj, System.IntPtr pd);
2002 public delegate Eina.Position2D.NativeStruct efl_ui_scrollable_step_size_get_api_delegate(System.IntPtr obj);
2004 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");
2006 private static Eina.Position2D.NativeStruct step_size_get(System.IntPtr obj, System.IntPtr pd)
2008 Eina.Log.Debug("function efl_ui_scrollable_step_size_get was called");
2009 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
2012 Eina.Position2D _ret_var = default(Eina.Position2D);
2015 _ret_var = ((IScrollableInteractive)ws.Target).GetStepSize();
2019 Eina.Log.Warning($"Callback error: {e.ToString()}");
2020 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
2028 return efl_ui_scrollable_step_size_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
2032 private static efl_ui_scrollable_step_size_get_delegate efl_ui_scrollable_step_size_get_static_delegate;
2035 private delegate void efl_ui_scrollable_step_size_set_delegate(System.IntPtr obj, System.IntPtr pd, Eina.Position2D.NativeStruct step);
2038 public delegate void efl_ui_scrollable_step_size_set_api_delegate(System.IntPtr obj, Eina.Position2D.NativeStruct step);
2040 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");
2042 private static void step_size_set(System.IntPtr obj, System.IntPtr pd, Eina.Position2D.NativeStruct step)
2044 Eina.Log.Debug("function efl_ui_scrollable_step_size_set was called");
2045 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
2048 Eina.Position2D _in_step = step;
2052 ((IScrollableInteractive)ws.Target).SetStepSize(_in_step);
2056 Eina.Log.Warning($"Callback error: {e.ToString()}");
2057 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
2064 efl_ui_scrollable_step_size_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), step);
2068 private static efl_ui_scrollable_step_size_set_delegate efl_ui_scrollable_step_size_set_static_delegate;
2071 private delegate void efl_ui_scrollable_scroll_delegate(System.IntPtr obj, System.IntPtr pd, Eina.Rect.NativeStruct rect, [MarshalAs(UnmanagedType.U1)] bool animation);
2074 public delegate void efl_ui_scrollable_scroll_api_delegate(System.IntPtr obj, Eina.Rect.NativeStruct rect, [MarshalAs(UnmanagedType.U1)] bool animation);
2076 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");
2078 private static void scroll(System.IntPtr obj, System.IntPtr pd, Eina.Rect.NativeStruct rect, bool animation)
2080 Eina.Log.Debug("function efl_ui_scrollable_scroll was called");
2081 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
2084 Eina.Rect _in_rect = rect;
2088 ((IScrollableInteractive)ws.Target).Scroll(_in_rect, animation);
2092 Eina.Log.Warning($"Callback error: {e.ToString()}");
2093 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
2100 efl_ui_scrollable_scroll_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), rect, animation);
2104 private static efl_ui_scrollable_scroll_delegate efl_ui_scrollable_scroll_static_delegate;
2106 #pragma warning restore CA1707, CS1591, SA1300, SA1600