#pragma warning disable CS1591 using System; using System.Runtime.InteropServices; using System.Collections.Generic; using System.Linq; using System.Threading; using System.ComponentModel; namespace Elm { /// Elm scrollable mixin [Elm.IInterfaceScrollableConcrete.NativeMethods] [Efl.Eo.BindingEntity] public interface IInterfaceScrollable : Efl.Ui.IScrollable , Efl.Ui.IWidgetFocusManager , Efl.Ui.Focus.IManagerSub , Efl.Eo.IWrapper, IDisposable { /// Control scrolling gravity on the scrollable /// The gravity defines how the scroller will adjust its view when the size of the scroller contents increases. /// /// The scroller will adjust the view to glue itself as follows. /// /// 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 /// /// Default values for x and y are 0.0 /// Horizontal scrolling gravity /// Vertical scrolling gravity void GetGravity(out double x, out double y); /// Control scrolling gravity on the scrollable /// The gravity defines how the scroller will adjust its view when the size of the scroller contents increases. /// /// The scroller will adjust the view to glue itself as follows. /// /// 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 /// /// Default values for x and y are 0.0 /// Horizontal scrolling gravity /// Vertical scrolling gravity void SetGravity(double x, double y); /// Bouncing behavior /// When scrolling, the scroller may "bounce" when reaching an edge of the content object. This is a visual way to indicate the end has been reached. This is enabled by default for both axis. This API will set if it is enabled for the given axis with the boolean parameters for each axis. /// Horizontal bounce policy. /// Vertical bounce policy. void GetBounceAllow(out bool horiz, out bool vert); /// Bouncing behavior /// When scrolling, the scroller may "bounce" when reaching an edge of the content object. This is a visual way to indicate the end has been reached. This is enabled by default for both axis. This API will set if it is enabled for the given axis with the boolean parameters for each axis. /// Horizontal bounce policy. /// Vertical bounce policy. void SetBounceAllow(bool horiz, bool vert); /// Control Wheel disable Enable or disable mouse wheel to be used to scroll the scroller content. heel is enabled by default. /// true if wheel is disabled, false otherwise bool GetWheelDisabled(); /// Control Wheel disable Enable or disable mouse wheel to be used to scroll the scroller content. heel is enabled by default. /// true if wheel is disabled, false otherwise void SetWheelDisabled(bool disabled); /// Blocking of scrolling (per axis) /// This function will block scrolling movement (by input of a user) in a given direction. One can disable movements in the X axis, the Y axis or both. The default value is none, where movements are allowed in both directions. /// /// What makes this function different from freeze_push(), hold_push() and lock_x_set() (or lock_y_set()) is that it doesn't propagate its effects to any parent or child widget of obj. Only the target scrollable widget will be locked with regard to scrolling. /// Which axis (or axes) to block Efl.Ui.ScrollBlock GetMovementBlock(); /// Blocking of scrolling (per axis) /// This function will block scrolling movement (by input of a user) in a given direction. One can disable movements in the X axis, the Y axis or both. The default value is none, where movements are allowed in both directions. /// /// What makes this function different from freeze_push(), hold_push() and lock_x_set() (or lock_y_set()) is that it doesn't propagate its effects to any parent or child widget of obj. Only the target scrollable widget will be locked with regard to scrolling. /// Which axis (or axes) to block void SetMovementBlock(Efl.Ui.ScrollBlock block); /// Momentum animator /// true if disabled, false otherwise bool GetMomentumAnimatorDisabled(); /// Momentum animator /// true if disabled, false otherwise void SetMomentumAnimatorDisabled(bool disabled); /// Scrollbar visibility policy /// #ELM_SCROLLER_POLICY_AUTO means the scrollbar is made visible if it is needed, and otherwise kept hidden. #ELM_SCROLLER_POLICY_ON turns it on all the time, and #ELM_SCROLLER_POLICY_OFF always keeps it off. This applies respectively for the horizontal and vertical scrollbars. /// Horizontal scrollbar policy /// Vertical scrollbar policy void GetPolicy(out Elm.Scroller.Policy hbar, out Elm.Scroller.Policy vbar); /// Scrollbar visibility policy /// #ELM_SCROLLER_POLICY_AUTO means the scrollbar is made visible if it is needed, and otherwise kept hidden. #ELM_SCROLLER_POLICY_ON turns it on all the time, and #ELM_SCROLLER_POLICY_OFF always keeps it off. This applies respectively for the horizontal and vertical scrollbars. /// Horizontal scrollbar policy /// Vertical scrollbar policy void SetPolicy(Elm.Scroller.Policy hbar, Elm.Scroller.Policy vbar); /// Currently visible content region /// This gets the current region in the content object that is visible through the scroller. The region co-ordinates are returned in the x, y, w, h values pointed to. /// /// Note: All coordinates are relative to the content. /// /// See: . /// X coordinate of the region /// Y coordinate of the region /// Width of the region /// Height of the region void GetContentRegion(out int x, out int y, out int w, out int h); /// Currently visible content region /// This gets the current region in the content object that is visible through the scroller. The region co-ordinates are returned in the x, y, w, h values pointed to. /// /// Note: All coordinates are relative to the content. /// /// See: . /// X coordinate of the region /// Y coordinate of the region /// Width of the region /// Height of the region void SetContentRegion(int x, int y, int w, int h); /// It decides whether the scrollable object propagates the events to content object or not. /// true if events are propagated, false otherwise bool GetContentEvents(); /// It decides whether the scrollable object propagates the events to content object or not. /// true if events are propagated, false otherwise void SetContentEvents(bool repeat_events); /// Scroll page size relative to viewport size. /// The scroller is capable of limiting scrolling by the user to "pages". That is to jump by and only show a "whole page" at a time as if the continuous area of the scroller content is split into page sized pieces. This sets the size of a page relative to the viewport of the scroller. 1.0 is "1 viewport" is size (horizontally or vertically). 0.0 turns it off in that axis. This is mutually exclusive with page size (see for more information). Likewise 0.5 is "half a viewport". Sane usable values are normally between 0.0 and 1.0 including 1.0. If you only want 1 axis to be page "limited", use 0.0 for the other axis. /// The horizontal page relative size /// The vertical page relative size void GetPageSize(out int x, out int y); /// Scroll page size relative to viewport size. /// The scroller is capable of limiting scrolling by the user to "pages". That is to jump by and only show a "whole page" at a time as if the continuous area of the scroller content is split into page sized pieces. This sets the size of a page relative to the viewport of the scroller. 1.0 is "1 viewport" is size (horizontally or vertically). 0.0 turns it off in that axis. This is mutually exclusive with page size (see for more information). Likewise 0.5 is "half a viewport". Sane usable values are normally between 0.0 and 1.0 including 1.0. If you only want 1 axis to be page "limited", use 0.0 for the other axis. /// The horizontal page relative size /// The vertical page relative size void SetPageSize(int x, int y); /// Bounce animator /// true if bounce animation is disabled, false otherwise bool GetBounceAnimatorDisabled(); /// Bounce animator /// true if bounce animation is disabled, false otherwise void SetBounceAnimatorDisabled(bool disabled); /// Page scroll limit /// Page limit horizontal /// Page limit vertical void GetPageScrollLimit(out int page_limit_h, out int page_limit_v); /// Page scroll limit /// Page limit horizontal /// Page limit vertical void SetPageScrollLimit(int page_limit_h, int page_limit_v); /// Page snapping behavior /// When scrolling, if a scroller is paged (see elm_scroller_page_size_set() and elm_scroller_page_relative_set()), the scroller may snap to pages when being scrolled, i.e., even if it had momentum to scroll further, it will stop at the next page boundaries. This is disabled, by default, for both axis. This function will set if it that is enabled or not, for each axis. /// /// Note: If obj is not set to have pages, nothing will happen after this call. /// Allow snap horizontally /// Allow snap vertically void GetPageSnapAllow(out bool horiz, out bool vert); /// Page snapping behavior /// When scrolling, if a scroller is paged (see elm_scroller_page_size_set() and elm_scroller_page_relative_set()), the scroller may snap to pages when being scrolled, i.e., even if it had momentum to scroll further, it will stop at the next page boundaries. This is disabled, by default, for both axis. This function will set if it that is enabled or not, for each axis. /// /// Note: If obj is not set to have pages, nothing will happen after this call. /// Allow snap horizontally /// Allow snap vertically void SetPageSnapAllow(bool horiz, bool vert); /// Pagin property /// Page relation horizontal /// Page relation vertical /// Page size horizontal /// Page size vertical void GetPaging(out double pagerel_h, out double pagerel_v, out int pagesize_h, out int pagesize_v); /// Pagin property /// Page relation horizontal /// Page relation vertical /// Page size horizontal /// Page size vertical void SetPaging(double pagerel_h, double pagerel_v, int pagesize_h, int pagesize_v); /// Single direction scroll configuration /// This makes it possible to restrict scrolling to a single direction, with a "soft" or "hard" behavior. /// /// The hard behavior restricts the scrolling to a single direction all of the time while the soft one will restrict depending on factors such as the movement angle. If the user scrolls roughly in one direction only, it will only move according to it while if the move was clearly wanted on both axes, it will happen on both of them. /// The single direction scroll policy Elm.Scroller.SingleDirection GetSingleDirection(); /// Single direction scroll configuration /// This makes it possible to restrict scrolling to a single direction, with a "soft" or "hard" behavior. /// /// The hard behavior restricts the scrolling to a single direction all of the time while the soft one will restrict depending on factors such as the movement angle. If the user scrolls roughly in one direction only, it will only move according to it while if the move was clearly wanted on both axes, it will happen on both of them. /// The single direction scroll policy void SetSingleDirection(Elm.Scroller.SingleDirection single_dir); /// Step size /// X coordinate /// Y coordinate void GetStepSize(out int x, out int y); /// Step size /// X coordinate /// Y coordinate void SetStepSize(int x, int y); /// Controls an infinite loop for a scroller. /// The scrolling horizontal loop /// The scrolling vertical loop void GetContentLoop(out bool loop_h, out bool loop_v); /// Controls an infinite loop for a scroller. /// The scrolling horizontal loop /// The scrolling vertical loop void SetContentLoop(bool loop_h, bool loop_v); /// Set the callback to run when the content has been moved up. /// The callback void SetScrollUpCb(ElmInterfaceScrollableCb scroll_up_cb); /// Set the callback to run when the horizontal scrollbar is dragged. /// The callback void SetHbarDragCb(ElmInterfaceScrollableCb hbar_drag_cb); /// Set the callback to run when dragging of the contents has started. /// The callback void SetDragStartCb(ElmInterfaceScrollableCb drag_start_cb); /// Set the callback to run when scrolling of the contents has started. /// The callback void SetScrollStartCb(ElmInterfaceScrollableCb scroll_start_cb); /// Freeze property /// true if freeze, false otherwise void SetFreeze(bool freeze); /// When the viewport is resized, the callback is called. /// The callback void SetContentViewportResizeCb(ElmInterfaceScrollableResizeCb viewport_resize_cb); /// Set the callback to run when the content has been moved to the left /// The callback void SetScrollLeftCb(ElmInterfaceScrollableCb scroll_left_cb); /// Set the callback to run when the vertical scrollbar is pressed. /// The callback void SetVbarPressCb(ElmInterfaceScrollableCb vbar_press_cb); /// Set the callback to run when the horizontal scrollbar is pressed. /// The callback void SetHbarPressCb(ElmInterfaceScrollableCb hbar_press_cb); /// Set the callback to run when the horizontal scrollbar is unpressed. /// The callback void SetHbarUnpressCb(ElmInterfaceScrollableCb hbar_unpress_cb); /// Set the callback to run when dragging of the contents has stopped. /// The callback void SetDragStopCb(ElmInterfaceScrollableCb drag_stop_cb); /// Set the callback to run when scrolling of the contents has stopped. /// The callback void SetScrollStopCb(ElmInterfaceScrollableCb scroll_stop_cb); /// Extern pan /// Pan object void SetExternPan(Efl.Canvas.Object pan); /// Set the callback to run when the visible page changes. /// The callback void SetPageChangeCb(ElmInterfaceScrollableCb page_change_cb); /// Hold property /// true if hold, false otherwise void SetHold(bool hold); /// Set the callback to run when the scrolling animation has started. /// The callback void SetAnimateStartCb(ElmInterfaceScrollableCb animate_start_cb); /// Set the callback to run when the content has been moved down. /// The callback void SetScrollDownCb(ElmInterfaceScrollableCb scroll_down_cb); /// Set scroll page size relative to viewport size. /// Page relation horizontal /// Page relation vertical void SetPageRelative(double h_pagerel, double v_pagerel); /// Set the callback to run when the content has been moved. /// The callback void SetScrollCb(ElmInterfaceScrollableCb scroll_cb); /// Set the callback to run when the scrolling animation has stopped. /// The callback void SetAnimateStopCb(ElmInterfaceScrollableCb animate_stop_cb); /// set the callback to run on minimal limit content /// The callback void SetContentMinLimitCb(ElmInterfaceScrollableMinLimitCb min_limit_cb); /// Set the callback to run when the content has been moved to the right. /// The callback void SetScrollRightCb(ElmInterfaceScrollableCb scroll_right_cb); /// Content property /// Content object void SetScrollableContent(Efl.Canvas.Object content); /// Set the callback to run when the left edge of the content has been reached. /// The callback void SetEdgeLeftCb(ElmInterfaceScrollableCb edge_left_cb); /// Set the callback to run when the horizontal scrollbar is dragged. /// The callback void SetVbarDragCb(ElmInterfaceScrollableCb vbar_drag_cb); /// Set the callback to run when the horizontal scrollbar is unpressed. /// The callback void SetVbarUnpressCb(ElmInterfaceScrollableCb vbar_unpress_cb); /// Set the callback to run when the bottom edge of the content has been reached. /// The callback void SetEdgeBottomCb(ElmInterfaceScrollableCb edge_bottom_cb); /// Set the callback to run when the right edge of the content has been reached. /// The callback void SetEdgeRightCb(ElmInterfaceScrollableCb edge_right_cb); /// Set the callback to run when the top edge of the content has been reached. /// The callback void SetEdgeTopCb(ElmInterfaceScrollableCb edge_top_cb); /// Object property /// Edje object /// Evas object void SetObjects(Efl.Canvas.Object edje_object, Efl.Canvas.Object hit_rectangle); /// Get scroll last page number. /// The page number starts from 0. 0 is the first page. This returns the last page number among the pages. /// /// See: , and . /// The horizontal page number /// The vertical page number void GetLastPage(out int pagenumber_h, out int pagenumber_v); /// Get scroll current page number. /// The page number starts from 0. 0 is the first page. Current page means the page which meets the top-left of the viewport. If there are two or more pages in the viewport, it returns the number of the page which meets the top-left of the viewport. /// /// See: , and . /// The horizontal page number /// The vertical page number void GetCurrentPage(out int pagenumber_h, out int pagenumber_v); /// Content viewport geometry /// X coordinate /// Y coordinate /// Width /// Height void GetContentViewportGeometry(out int x, out int y, out int w, out int h); /// Get the size of the content object /// This gets the size of the content object of the scroller. /// Width of the content object. /// Height of the content object. void GetContentSize(out int w, out int h); /// Whether scrolling should loop around. /// True to enable looping. bool GetItemLoopEnabled(); /// Whether scrolling should loop around. /// True to enable looping. void SetItemLoopEnabled(bool enable); /// Set the content position /// X coordinate /// Y coordinate /// Send signals to the theme corresponding to the scroll direction, or if an edge was reached. void SetContentPos(int x, int y, bool sig); /// Get content position /// X coordinate /// Y coordinate void GetContentPos(out int x, out int y); /// Show a specific virtual region within the scroller content object by page number. /// 0, 0 of the indicated page is located at the top-left of the viewport. This will jump to the page directly without animation. /// /// See . /// The horizontal page number /// The vertical page number void ShowPage(int pagenumber_h, int pagenumber_v); /// Show a specific virtual region within the scroller content object. /// 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. Unlike elm_scroller_region_show(), 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. /// /// See /// X coordinate of the region /// Y coordinate of the region /// Width of the region /// Height of the region void RegionBringIn(int x, int y, int w, int h); /// Show a specific virtual region within the scroller content object by page number. /// 0, 0 of the indicated page is located at the top-left of the viewport. This will slide to the page with animation. /// /// /// The horizontal page number /// The vertical page number void PageBringIn(int pagenumber_h, int pagenumber_v); /// Show a specific virtual region within the scroller content object /// 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. /// X coordinate of the region /// Y coordinate of the region /// Width of the region /// Height of the region void ShowContentRegion(int x, int y, int w, int h); /// Prevent the scrollable from being smaller than the minimum size of the content. /// 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. /// Whether to limit the minimum horizontal size /// Whether to limit the minimum vertical size void ContentMinLimit(bool w, bool h); void SetWantedRegion(int x, int y); void CustomPanPosAdjust(int x, int y); /// Called when content changed event EventHandler ChangedEvt; /// Control Wheel disable Enable or disable mouse wheel to be used to scroll the scroller content. heel is enabled by default. /// true if wheel is disabled, false otherwise bool WheelDisabled { get ; set ; } /// Blocking of scrolling (per axis) /// This function will block scrolling movement (by input of a user) in a given direction. One can disable movements in the X axis, the Y axis or both. The default value is none, where movements are allowed in both directions. /// /// What makes this function different from freeze_push(), hold_push() and lock_x_set() (or lock_y_set()) is that it doesn't propagate its effects to any parent or child widget of obj. Only the target scrollable widget will be locked with regard to scrolling. /// Which axis (or axes) to block Efl.Ui.ScrollBlock MovementBlock { get ; set ; } /// Momentum animator /// true if disabled, false otherwise bool MomentumAnimatorDisabled { get ; set ; } /// It decides whether the scrollable object propagates the events to content object or not. /// true if events are propagated, false otherwise bool ContentEvents { get ; set ; } /// Bounce animator /// true if bounce animation is disabled, false otherwise bool BounceAnimatorDisabled { get ; set ; } /// Single direction scroll configuration /// This makes it possible to restrict scrolling to a single direction, with a "soft" or "hard" behavior. /// /// The hard behavior restricts the scrolling to a single direction all of the time while the soft one will restrict depending on factors such as the movement angle. If the user scrolls roughly in one direction only, it will only move according to it while if the move was clearly wanted on both axes, it will happen on both of them. /// The single direction scroll policy Elm.Scroller.SingleDirection SingleDirection { get ; set ; } /// Set the callback to run when the content has been moved up. /// The callback ElmInterfaceScrollableCb ScrollUpCb { set ; } /// Set the callback to run when the horizontal scrollbar is dragged. /// The callback ElmInterfaceScrollableCb HbarDragCb { set ; } /// Set the callback to run when dragging of the contents has started. /// The callback ElmInterfaceScrollableCb DragStartCb { set ; } /// Set the callback to run when scrolling of the contents has started. /// The callback ElmInterfaceScrollableCb ScrollStartCb { set ; } /// Freeze property /// true if freeze, false otherwise bool Freeze { set ; } /// When the viewport is resized, the callback is called. /// The callback ElmInterfaceScrollableResizeCb ContentViewportResizeCb { set ; } /// Set the callback to run when the content has been moved to the left /// The callback ElmInterfaceScrollableCb ScrollLeftCb { set ; } /// Set the callback to run when the vertical scrollbar is pressed. /// The callback ElmInterfaceScrollableCb VbarPressCb { set ; } /// Set the callback to run when the horizontal scrollbar is pressed. /// The callback ElmInterfaceScrollableCb HbarPressCb { set ; } /// Set the callback to run when the horizontal scrollbar is unpressed. /// The callback ElmInterfaceScrollableCb HbarUnpressCb { set ; } /// Set the callback to run when dragging of the contents has stopped. /// The callback ElmInterfaceScrollableCb DragStopCb { set ; } /// Set the callback to run when scrolling of the contents has stopped. /// The callback ElmInterfaceScrollableCb ScrollStopCb { set ; } /// Extern pan /// Pan object Efl.Canvas.Object ExternPan { set ; } /// Set the callback to run when the visible page changes. /// The callback ElmInterfaceScrollableCb PageChangeCb { set ; } /// Hold property /// true if hold, false otherwise bool Hold { set ; } /// Set the callback to run when the scrolling animation has started. /// The callback ElmInterfaceScrollableCb AnimateStartCb { set ; } /// Set the callback to run when the content has been moved down. /// The callback ElmInterfaceScrollableCb ScrollDownCb { set ; } /// Set the callback to run when the content has been moved. /// The callback ElmInterfaceScrollableCb ScrollCb { set ; } /// Set the callback to run when the scrolling animation has stopped. /// The callback ElmInterfaceScrollableCb AnimateStopCb { set ; } /// set the callback to run on minimal limit content /// The callback ElmInterfaceScrollableMinLimitCb ContentMinLimitCb { set ; } /// Set the callback to run when the content has been moved to the right. /// The callback ElmInterfaceScrollableCb ScrollRightCb { set ; } /// Content property /// Content object Efl.Canvas.Object ScrollableContent { set ; } /// Set the callback to run when the left edge of the content has been reached. /// The callback ElmInterfaceScrollableCb EdgeLeftCb { set ; } /// Set the callback to run when the horizontal scrollbar is dragged. /// The callback ElmInterfaceScrollableCb VbarDragCb { set ; } /// Set the callback to run when the horizontal scrollbar is unpressed. /// The callback ElmInterfaceScrollableCb VbarUnpressCb { set ; } /// Set the callback to run when the bottom edge of the content has been reached. /// The callback ElmInterfaceScrollableCb EdgeBottomCb { set ; } /// Set the callback to run when the right edge of the content has been reached. /// The callback ElmInterfaceScrollableCb EdgeRightCb { set ; } /// Set the callback to run when the top edge of the content has been reached. /// The callback ElmInterfaceScrollableCb EdgeTopCb { set ; } /// Whether scrolling should loop around. /// True to enable looping. bool ItemLoopEnabled { get ; set ; } } /// Elm scrollable mixin sealed public class IInterfaceScrollableConcrete : Efl.Eo.EoWrapper , IInterfaceScrollable , Efl.Ui.IScrollable, Efl.Ui.IWidgetFocusManager, Efl.Ui.Focus.IManager, Efl.Ui.Focus.IManagerSub { ///Pointer to the native class description. public override System.IntPtr NativeClass { get { if (((object)this).GetType() == typeof(IInterfaceScrollableConcrete)) { return GetEflClassStatic(); } else { return Efl.Eo.ClassRegister.klassFromType[((object)this).GetType()]; } } } /// Constructor to be used when objects are expected to be constructed from native code. /// Tag struct storing the native handle of the object being constructed. private IInterfaceScrollableConcrete(ConstructingHandle ch) : base(ch) { } [System.Runtime.InteropServices.DllImport(efl.Libs.Elementary)] internal static extern System.IntPtr elm_interface_scrollable_mixin_get(); /// Initializes a new instance of the class. /// Internal usage: This is used when interacting with C code and should not be used directly. /// The native pointer to be wrapped. private IInterfaceScrollableConcrete(Efl.Eo.Globals.WrappingHandle wh) : base(wh) { } /// Called when content changed public event EventHandler ChangedEvt { add { lock (eflBindingEventLock) { Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) => { var obj = Efl.Eo.Globals.WrapperSupervisorPtrToManaged(data).Target; if (obj != null) { EventArgs args = EventArgs.Empty; try { value?.Invoke(obj, args); } catch (Exception e) { Eina.Log.Error(e.ToString()); Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); } } }; string key = "_ELM_INTERFACE_SCROLLABLE_EVENT_CHANGED"; AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value); } } remove { lock (eflBindingEventLock) { string key = "_ELM_INTERFACE_SCROLLABLE_EVENT_CHANGED"; RemoveNativeEventHandler(efl.Libs.Elementary, key, value); } } } ///Method to raise event ChangedEvt. public void OnChangedEvt(EventArgs e) { var key = "_ELM_INTERFACE_SCROLLABLE_EVENT_CHANGED"; IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key); if (desc == IntPtr.Zero) { Eina.Log.Error($"Failed to get native event {key}"); return; } Efl.Eo.Globals.efl_event_callback_call(this.NativeHandle, desc, IntPtr.Zero); } /// Called when scroll operation starts public event EventHandler ScrollStartEvt { add { lock (eflBindingEventLock) { Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) => { var obj = Efl.Eo.Globals.WrapperSupervisorPtrToManaged(data).Target; if (obj != null) { EventArgs args = EventArgs.Empty; try { value?.Invoke(obj, args); } catch (Exception e) { Eina.Log.Error(e.ToString()); Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); } } }; string key = "_EFL_UI_EVENT_SCROLL_START"; AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value); } } remove { lock (eflBindingEventLock) { string key = "_EFL_UI_EVENT_SCROLL_START"; RemoveNativeEventHandler(efl.Libs.Elementary, key, value); } } } ///Method to raise event ScrollStartEvt. public void OnScrollStartEvt(EventArgs e) { var key = "_EFL_UI_EVENT_SCROLL_START"; IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key); if (desc == IntPtr.Zero) { Eina.Log.Error($"Failed to get native event {key}"); return; } Efl.Eo.Globals.efl_event_callback_call(this.NativeHandle, desc, IntPtr.Zero); } /// Called when scrolling public event EventHandler ScrollEvt { add { lock (eflBindingEventLock) { Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) => { var obj = Efl.Eo.Globals.WrapperSupervisorPtrToManaged(data).Target; if (obj != null) { EventArgs args = EventArgs.Empty; try { value?.Invoke(obj, args); } catch (Exception e) { Eina.Log.Error(e.ToString()); Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); } } }; string key = "_EFL_UI_EVENT_SCROLL"; AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value); } } remove { lock (eflBindingEventLock) { string key = "_EFL_UI_EVENT_SCROLL"; RemoveNativeEventHandler(efl.Libs.Elementary, key, value); } } } ///Method to raise event ScrollEvt. public void OnScrollEvt(EventArgs e) { var key = "_EFL_UI_EVENT_SCROLL"; IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key); if (desc == IntPtr.Zero) { Eina.Log.Error($"Failed to get native event {key}"); return; } Efl.Eo.Globals.efl_event_callback_call(this.NativeHandle, desc, IntPtr.Zero); } /// Called when scroll operation stops public event EventHandler ScrollStopEvt { add { lock (eflBindingEventLock) { Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) => { var obj = Efl.Eo.Globals.WrapperSupervisorPtrToManaged(data).Target; if (obj != null) { EventArgs args = EventArgs.Empty; try { value?.Invoke(obj, args); } catch (Exception e) { Eina.Log.Error(e.ToString()); Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); } } }; string key = "_EFL_UI_EVENT_SCROLL_STOP"; AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value); } } remove { lock (eflBindingEventLock) { string key = "_EFL_UI_EVENT_SCROLL_STOP"; RemoveNativeEventHandler(efl.Libs.Elementary, key, value); } } } ///Method to raise event ScrollStopEvt. public void OnScrollStopEvt(EventArgs e) { var key = "_EFL_UI_EVENT_SCROLL_STOP"; IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key); if (desc == IntPtr.Zero) { Eina.Log.Error($"Failed to get native event {key}"); return; } Efl.Eo.Globals.efl_event_callback_call(this.NativeHandle, desc, IntPtr.Zero); } /// Called when scrolling upwards public event EventHandler ScrollUpEvt { add { lock (eflBindingEventLock) { Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) => { var obj = Efl.Eo.Globals.WrapperSupervisorPtrToManaged(data).Target; if (obj != null) { EventArgs args = EventArgs.Empty; try { value?.Invoke(obj, args); } catch (Exception e) { Eina.Log.Error(e.ToString()); Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); } } }; string key = "_EFL_UI_EVENT_SCROLL_UP"; AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value); } } remove { lock (eflBindingEventLock) { string key = "_EFL_UI_EVENT_SCROLL_UP"; RemoveNativeEventHandler(efl.Libs.Elementary, key, value); } } } ///Method to raise event ScrollUpEvt. public void OnScrollUpEvt(EventArgs e) { var key = "_EFL_UI_EVENT_SCROLL_UP"; IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key); if (desc == IntPtr.Zero) { Eina.Log.Error($"Failed to get native event {key}"); return; } Efl.Eo.Globals.efl_event_callback_call(this.NativeHandle, desc, IntPtr.Zero); } /// Called when scrolling downwards public event EventHandler ScrollDownEvt { add { lock (eflBindingEventLock) { Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) => { var obj = Efl.Eo.Globals.WrapperSupervisorPtrToManaged(data).Target; if (obj != null) { EventArgs args = EventArgs.Empty; try { value?.Invoke(obj, args); } catch (Exception e) { Eina.Log.Error(e.ToString()); Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); } } }; string key = "_EFL_UI_EVENT_SCROLL_DOWN"; AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value); } } remove { lock (eflBindingEventLock) { string key = "_EFL_UI_EVENT_SCROLL_DOWN"; RemoveNativeEventHandler(efl.Libs.Elementary, key, value); } } } ///Method to raise event ScrollDownEvt. public void OnScrollDownEvt(EventArgs e) { var key = "_EFL_UI_EVENT_SCROLL_DOWN"; IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key); if (desc == IntPtr.Zero) { Eina.Log.Error($"Failed to get native event {key}"); return; } Efl.Eo.Globals.efl_event_callback_call(this.NativeHandle, desc, IntPtr.Zero); } /// Called when scrolling left public event EventHandler ScrollLeftEvt { add { lock (eflBindingEventLock) { Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) => { var obj = Efl.Eo.Globals.WrapperSupervisorPtrToManaged(data).Target; if (obj != null) { EventArgs args = EventArgs.Empty; try { value?.Invoke(obj, args); } catch (Exception e) { Eina.Log.Error(e.ToString()); Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); } } }; string key = "_EFL_UI_EVENT_SCROLL_LEFT"; AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value); } } remove { lock (eflBindingEventLock) { string key = "_EFL_UI_EVENT_SCROLL_LEFT"; RemoveNativeEventHandler(efl.Libs.Elementary, key, value); } } } ///Method to raise event ScrollLeftEvt. public void OnScrollLeftEvt(EventArgs e) { var key = "_EFL_UI_EVENT_SCROLL_LEFT"; IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key); if (desc == IntPtr.Zero) { Eina.Log.Error($"Failed to get native event {key}"); return; } Efl.Eo.Globals.efl_event_callback_call(this.NativeHandle, desc, IntPtr.Zero); } /// Called when scrolling right public event EventHandler ScrollRightEvt { add { lock (eflBindingEventLock) { Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) => { var obj = Efl.Eo.Globals.WrapperSupervisorPtrToManaged(data).Target; if (obj != null) { EventArgs args = EventArgs.Empty; try { value?.Invoke(obj, args); } catch (Exception e) { Eina.Log.Error(e.ToString()); Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); } } }; string key = "_EFL_UI_EVENT_SCROLL_RIGHT"; AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value); } } remove { lock (eflBindingEventLock) { string key = "_EFL_UI_EVENT_SCROLL_RIGHT"; RemoveNativeEventHandler(efl.Libs.Elementary, key, value); } } } ///Method to raise event ScrollRightEvt. public void OnScrollRightEvt(EventArgs e) { var key = "_EFL_UI_EVENT_SCROLL_RIGHT"; IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key); if (desc == IntPtr.Zero) { Eina.Log.Error($"Failed to get native event {key}"); return; } Efl.Eo.Globals.efl_event_callback_call(this.NativeHandle, desc, IntPtr.Zero); } /// Called when hitting the top edge public event EventHandler EdgeUpEvt { add { lock (eflBindingEventLock) { Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) => { var obj = Efl.Eo.Globals.WrapperSupervisorPtrToManaged(data).Target; if (obj != null) { EventArgs args = EventArgs.Empty; try { value?.Invoke(obj, args); } catch (Exception e) { Eina.Log.Error(e.ToString()); Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); } } }; string key = "_EFL_UI_EVENT_EDGE_UP"; AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value); } } remove { lock (eflBindingEventLock) { string key = "_EFL_UI_EVENT_EDGE_UP"; RemoveNativeEventHandler(efl.Libs.Elementary, key, value); } } } ///Method to raise event EdgeUpEvt. public void OnEdgeUpEvt(EventArgs e) { var key = "_EFL_UI_EVENT_EDGE_UP"; IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key); if (desc == IntPtr.Zero) { Eina.Log.Error($"Failed to get native event {key}"); return; } Efl.Eo.Globals.efl_event_callback_call(this.NativeHandle, desc, IntPtr.Zero); } /// Called when hitting the bottom edge public event EventHandler EdgeDownEvt { add { lock (eflBindingEventLock) { Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) => { var obj = Efl.Eo.Globals.WrapperSupervisorPtrToManaged(data).Target; if (obj != null) { EventArgs args = EventArgs.Empty; try { value?.Invoke(obj, args); } catch (Exception e) { Eina.Log.Error(e.ToString()); Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); } } }; string key = "_EFL_UI_EVENT_EDGE_DOWN"; AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value); } } remove { lock (eflBindingEventLock) { string key = "_EFL_UI_EVENT_EDGE_DOWN"; RemoveNativeEventHandler(efl.Libs.Elementary, key, value); } } } ///Method to raise event EdgeDownEvt. public void OnEdgeDownEvt(EventArgs e) { var key = "_EFL_UI_EVENT_EDGE_DOWN"; IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key); if (desc == IntPtr.Zero) { Eina.Log.Error($"Failed to get native event {key}"); return; } Efl.Eo.Globals.efl_event_callback_call(this.NativeHandle, desc, IntPtr.Zero); } /// Called when hitting the left edge public event EventHandler EdgeLeftEvt { add { lock (eflBindingEventLock) { Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) => { var obj = Efl.Eo.Globals.WrapperSupervisorPtrToManaged(data).Target; if (obj != null) { EventArgs args = EventArgs.Empty; try { value?.Invoke(obj, args); } catch (Exception e) { Eina.Log.Error(e.ToString()); Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); } } }; string key = "_EFL_UI_EVENT_EDGE_LEFT"; AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value); } } remove { lock (eflBindingEventLock) { string key = "_EFL_UI_EVENT_EDGE_LEFT"; RemoveNativeEventHandler(efl.Libs.Elementary, key, value); } } } ///Method to raise event EdgeLeftEvt. public void OnEdgeLeftEvt(EventArgs e) { var key = "_EFL_UI_EVENT_EDGE_LEFT"; IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key); if (desc == IntPtr.Zero) { Eina.Log.Error($"Failed to get native event {key}"); return; } Efl.Eo.Globals.efl_event_callback_call(this.NativeHandle, desc, IntPtr.Zero); } /// Called when hitting the right edge public event EventHandler EdgeRightEvt { add { lock (eflBindingEventLock) { Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) => { var obj = Efl.Eo.Globals.WrapperSupervisorPtrToManaged(data).Target; if (obj != null) { EventArgs args = EventArgs.Empty; try { value?.Invoke(obj, args); } catch (Exception e) { Eina.Log.Error(e.ToString()); Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); } } }; string key = "_EFL_UI_EVENT_EDGE_RIGHT"; AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value); } } remove { lock (eflBindingEventLock) { string key = "_EFL_UI_EVENT_EDGE_RIGHT"; RemoveNativeEventHandler(efl.Libs.Elementary, key, value); } } } ///Method to raise event EdgeRightEvt. public void OnEdgeRightEvt(EventArgs e) { var key = "_EFL_UI_EVENT_EDGE_RIGHT"; IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key); if (desc == IntPtr.Zero) { Eina.Log.Error($"Failed to get native event {key}"); return; } Efl.Eo.Globals.efl_event_callback_call(this.NativeHandle, desc, IntPtr.Zero); } /// Called when scroll animation starts public event EventHandler ScrollAnimStartEvt { add { lock (eflBindingEventLock) { Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) => { var obj = Efl.Eo.Globals.WrapperSupervisorPtrToManaged(data).Target; if (obj != null) { EventArgs args = EventArgs.Empty; try { value?.Invoke(obj, args); } catch (Exception e) { Eina.Log.Error(e.ToString()); Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); } } }; string key = "_EFL_UI_EVENT_SCROLL_ANIM_START"; AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value); } } remove { lock (eflBindingEventLock) { string key = "_EFL_UI_EVENT_SCROLL_ANIM_START"; RemoveNativeEventHandler(efl.Libs.Elementary, key, value); } } } ///Method to raise event ScrollAnimStartEvt. public void OnScrollAnimStartEvt(EventArgs e) { var key = "_EFL_UI_EVENT_SCROLL_ANIM_START"; IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key); if (desc == IntPtr.Zero) { Eina.Log.Error($"Failed to get native event {key}"); return; } Efl.Eo.Globals.efl_event_callback_call(this.NativeHandle, desc, IntPtr.Zero); } /// Called when scroll animation stopps public event EventHandler ScrollAnimStopEvt { add { lock (eflBindingEventLock) { Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) => { var obj = Efl.Eo.Globals.WrapperSupervisorPtrToManaged(data).Target; if (obj != null) { EventArgs args = EventArgs.Empty; try { value?.Invoke(obj, args); } catch (Exception e) { Eina.Log.Error(e.ToString()); Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); } } }; string key = "_EFL_UI_EVENT_SCROLL_ANIM_STOP"; AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value); } } remove { lock (eflBindingEventLock) { string key = "_EFL_UI_EVENT_SCROLL_ANIM_STOP"; RemoveNativeEventHandler(efl.Libs.Elementary, key, value); } } } ///Method to raise event ScrollAnimStopEvt. public void OnScrollAnimStopEvt(EventArgs e) { var key = "_EFL_UI_EVENT_SCROLL_ANIM_STOP"; IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key); if (desc == IntPtr.Zero) { Eina.Log.Error($"Failed to get native event {key}"); return; } Efl.Eo.Globals.efl_event_callback_call(this.NativeHandle, desc, IntPtr.Zero); } /// Called when scroll drag starts public event EventHandler ScrollDragStartEvt { add { lock (eflBindingEventLock) { Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) => { var obj = Efl.Eo.Globals.WrapperSupervisorPtrToManaged(data).Target; if (obj != null) { EventArgs args = EventArgs.Empty; try { value?.Invoke(obj, args); } catch (Exception e) { Eina.Log.Error(e.ToString()); Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); } } }; string key = "_EFL_UI_EVENT_SCROLL_DRAG_START"; AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value); } } remove { lock (eflBindingEventLock) { string key = "_EFL_UI_EVENT_SCROLL_DRAG_START"; RemoveNativeEventHandler(efl.Libs.Elementary, key, value); } } } ///Method to raise event ScrollDragStartEvt. public void OnScrollDragStartEvt(EventArgs e) { var key = "_EFL_UI_EVENT_SCROLL_DRAG_START"; IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key); if (desc == IntPtr.Zero) { Eina.Log.Error($"Failed to get native event {key}"); return; } Efl.Eo.Globals.efl_event_callback_call(this.NativeHandle, desc, IntPtr.Zero); } /// Called when scroll drag stops public event EventHandler ScrollDragStopEvt { add { lock (eflBindingEventLock) { Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) => { var obj = Efl.Eo.Globals.WrapperSupervisorPtrToManaged(data).Target; if (obj != null) { EventArgs args = EventArgs.Empty; try { value?.Invoke(obj, args); } catch (Exception e) { Eina.Log.Error(e.ToString()); Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); } } }; string key = "_EFL_UI_EVENT_SCROLL_DRAG_STOP"; AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value); } } remove { lock (eflBindingEventLock) { string key = "_EFL_UI_EVENT_SCROLL_DRAG_STOP"; RemoveNativeEventHandler(efl.Libs.Elementary, key, value); } } } ///Method to raise event ScrollDragStopEvt. public void OnScrollDragStopEvt(EventArgs e) { var key = "_EFL_UI_EVENT_SCROLL_DRAG_STOP"; IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key); if (desc == IntPtr.Zero) { Eina.Log.Error($"Failed to get native event {key}"); return; } Efl.Eo.Globals.efl_event_callback_call(this.NativeHandle, desc, IntPtr.Zero); } /// Redirect object has changed, the old manager is passed as an event argument. /// (Since EFL 1.22) public event EventHandler RedirectChangedEvt { add { lock (eflBindingEventLock) { Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) => { var obj = Efl.Eo.Globals.WrapperSupervisorPtrToManaged(data).Target; if (obj != null) { Efl.Ui.Focus.IManagerRedirectChangedEvt_Args args = new Efl.Ui.Focus.IManagerRedirectChangedEvt_Args(); args.arg = (Efl.Eo.Globals.CreateWrapperFor(evt.Info) as Efl.Ui.Focus.IManagerConcrete); try { value?.Invoke(obj, args); } catch (Exception e) { Eina.Log.Error(e.ToString()); Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); } } }; string key = "_EFL_UI_FOCUS_MANAGER_EVENT_REDIRECT_CHANGED"; AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value); } } remove { lock (eflBindingEventLock) { string key = "_EFL_UI_FOCUS_MANAGER_EVENT_REDIRECT_CHANGED"; RemoveNativeEventHandler(efl.Libs.Elementary, key, value); } } } ///Method to raise event RedirectChangedEvt. public void OnRedirectChangedEvt(Efl.Ui.Focus.IManagerRedirectChangedEvt_Args e) { var key = "_EFL_UI_FOCUS_MANAGER_EVENT_REDIRECT_CHANGED"; IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key); if (desc == IntPtr.Zero) { Eina.Log.Error($"Failed to get native event {key}"); return; } IntPtr info = e.arg.NativeHandle; Efl.Eo.Globals.efl_event_callback_call(this.NativeHandle, desc, info); } /// After this event, the manager object will calculate relations in the graph. Can be used to add / remove children in a lazy fashion. /// (Since EFL 1.22) public event EventHandler FlushPreEvt { add { lock (eflBindingEventLock) { Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) => { var obj = Efl.Eo.Globals.WrapperSupervisorPtrToManaged(data).Target; if (obj != null) { EventArgs args = EventArgs.Empty; try { value?.Invoke(obj, args); } catch (Exception e) { Eina.Log.Error(e.ToString()); Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); } } }; string key = "_EFL_UI_FOCUS_MANAGER_EVENT_FLUSH_PRE"; AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value); } } remove { lock (eflBindingEventLock) { string key = "_EFL_UI_FOCUS_MANAGER_EVENT_FLUSH_PRE"; RemoveNativeEventHandler(efl.Libs.Elementary, key, value); } } } ///Method to raise event FlushPreEvt. public void OnFlushPreEvt(EventArgs e) { var key = "_EFL_UI_FOCUS_MANAGER_EVENT_FLUSH_PRE"; IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key); if (desc == IntPtr.Zero) { Eina.Log.Error($"Failed to get native event {key}"); return; } Efl.Eo.Globals.efl_event_callback_call(this.NativeHandle, desc, IntPtr.Zero); } /// Cached relationship calculation results have been invalidated. /// (Since EFL 1.22) public event EventHandler CoordsDirtyEvt { add { lock (eflBindingEventLock) { Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) => { var obj = Efl.Eo.Globals.WrapperSupervisorPtrToManaged(data).Target; if (obj != null) { EventArgs args = EventArgs.Empty; try { value?.Invoke(obj, args); } catch (Exception e) { Eina.Log.Error(e.ToString()); Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); } } }; string key = "_EFL_UI_FOCUS_MANAGER_EVENT_COORDS_DIRTY"; AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value); } } remove { lock (eflBindingEventLock) { string key = "_EFL_UI_FOCUS_MANAGER_EVENT_COORDS_DIRTY"; RemoveNativeEventHandler(efl.Libs.Elementary, key, value); } } } ///Method to raise event CoordsDirtyEvt. public void OnCoordsDirtyEvt(EventArgs e) { var key = "_EFL_UI_FOCUS_MANAGER_EVENT_COORDS_DIRTY"; IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key); if (desc == IntPtr.Zero) { Eina.Log.Error($"Failed to get native event {key}"); return; } Efl.Eo.Globals.efl_event_callback_call(this.NativeHandle, desc, IntPtr.Zero); } /// The manager_focus property has changed. The previously focused object is passed as an event argument. /// (Since EFL 1.22) public event EventHandler ManagerFocusChangedEvt { add { lock (eflBindingEventLock) { Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) => { var obj = Efl.Eo.Globals.WrapperSupervisorPtrToManaged(data).Target; if (obj != null) { Efl.Ui.Focus.IManagerManagerFocusChangedEvt_Args args = new Efl.Ui.Focus.IManagerManagerFocusChangedEvt_Args(); args.arg = (Efl.Eo.Globals.CreateWrapperFor(evt.Info) as Efl.Ui.Focus.IObjectConcrete); try { value?.Invoke(obj, args); } catch (Exception e) { Eina.Log.Error(e.ToString()); Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); } } }; string key = "_EFL_UI_FOCUS_MANAGER_EVENT_MANAGER_FOCUS_CHANGED"; AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value); } } remove { lock (eflBindingEventLock) { string key = "_EFL_UI_FOCUS_MANAGER_EVENT_MANAGER_FOCUS_CHANGED"; RemoveNativeEventHandler(efl.Libs.Elementary, key, value); } } } ///Method to raise event ManagerFocusChangedEvt. public void OnManagerFocusChangedEvt(Efl.Ui.Focus.IManagerManagerFocusChangedEvt_Args e) { var key = "_EFL_UI_FOCUS_MANAGER_EVENT_MANAGER_FOCUS_CHANGED"; IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key); if (desc == IntPtr.Zero) { Eina.Log.Error($"Failed to get native event {key}"); return; } IntPtr info = e.arg.NativeHandle; Efl.Eo.Globals.efl_event_callback_call(this.NativeHandle, desc, info); } /// Called when this focus manager is frozen or thawed, even_info being true indicates that it is now frozen, false indicates that it is thawed. /// (Since EFL 1.22) public event EventHandler DirtyLogicFreezeChangedEvt { add { lock (eflBindingEventLock) { Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) => { var obj = Efl.Eo.Globals.WrapperSupervisorPtrToManaged(data).Target; if (obj != null) { Efl.Ui.Focus.IManagerDirtyLogicFreezeChangedEvt_Args args = new Efl.Ui.Focus.IManagerDirtyLogicFreezeChangedEvt_Args(); args.arg = Marshal.ReadByte(evt.Info) != 0; try { value?.Invoke(obj, args); } catch (Exception e) { Eina.Log.Error(e.ToString()); Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); } } }; string key = "_EFL_UI_FOCUS_MANAGER_EVENT_DIRTY_LOGIC_FREEZE_CHANGED"; AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value); } } remove { lock (eflBindingEventLock) { string key = "_EFL_UI_FOCUS_MANAGER_EVENT_DIRTY_LOGIC_FREEZE_CHANGED"; RemoveNativeEventHandler(efl.Libs.Elementary, key, value); } } } ///Method to raise event DirtyLogicFreezeChangedEvt. public void OnDirtyLogicFreezeChangedEvt(Efl.Ui.Focus.IManagerDirtyLogicFreezeChangedEvt_Args e) { var key = "_EFL_UI_FOCUS_MANAGER_EVENT_DIRTY_LOGIC_FREEZE_CHANGED"; IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key); if (desc == IntPtr.Zero) { Eina.Log.Error($"Failed to get native event {key}"); return; } IntPtr info = Eina.PrimitiveConversion.ManagedToPointerAlloc(e.arg ? (byte) 1 : (byte) 0); try { Efl.Eo.Globals.efl_event_callback_call(this.NativeHandle, desc, info); } finally { Marshal.FreeHGlobal(info); } } /// Control scrolling gravity on the scrollable /// The gravity defines how the scroller will adjust its view when the size of the scroller contents increases. /// /// The scroller will adjust the view to glue itself as follows. /// /// 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 /// /// Default values for x and y are 0.0 /// Horizontal scrolling gravity /// Vertical scrolling gravity public void GetGravity(out double x, out double y) { Elm.IInterfaceScrollableConcrete.NativeMethods.elm_interface_scrollable_gravity_get_ptr.Value.Delegate(this.NativeHandle,out x, out y); Eina.Error.RaiseIfUnhandledException(); } /// Control scrolling gravity on the scrollable /// The gravity defines how the scroller will adjust its view when the size of the scroller contents increases. /// /// The scroller will adjust the view to glue itself as follows. /// /// 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 /// /// Default values for x and y are 0.0 /// Horizontal scrolling gravity /// Vertical scrolling gravity public void SetGravity(double x, double y) { Elm.IInterfaceScrollableConcrete.NativeMethods.elm_interface_scrollable_gravity_set_ptr.Value.Delegate(this.NativeHandle,x, y); Eina.Error.RaiseIfUnhandledException(); } /// Bouncing behavior /// When scrolling, the scroller may "bounce" when reaching an edge of the content object. This is a visual way to indicate the end has been reached. This is enabled by default for both axis. This API will set if it is enabled for the given axis with the boolean parameters for each axis. /// Horizontal bounce policy. /// Vertical bounce policy. public void GetBounceAllow(out bool horiz, out bool vert) { Elm.IInterfaceScrollableConcrete.NativeMethods.elm_interface_scrollable_bounce_allow_get_ptr.Value.Delegate(this.NativeHandle,out horiz, out vert); Eina.Error.RaiseIfUnhandledException(); } /// Bouncing behavior /// When scrolling, the scroller may "bounce" when reaching an edge of the content object. This is a visual way to indicate the end has been reached. This is enabled by default for both axis. This API will set if it is enabled for the given axis with the boolean parameters for each axis. /// Horizontal bounce policy. /// Vertical bounce policy. public void SetBounceAllow(bool horiz, bool vert) { Elm.IInterfaceScrollableConcrete.NativeMethods.elm_interface_scrollable_bounce_allow_set_ptr.Value.Delegate(this.NativeHandle,horiz, vert); Eina.Error.RaiseIfUnhandledException(); } /// Control Wheel disable Enable or disable mouse wheel to be used to scroll the scroller content. heel is enabled by default. /// true if wheel is disabled, false otherwise public bool GetWheelDisabled() { var _ret_var = Elm.IInterfaceScrollableConcrete.NativeMethods.elm_interface_scrollable_wheel_disabled_get_ptr.Value.Delegate(this.NativeHandle); Eina.Error.RaiseIfUnhandledException(); return _ret_var; } /// Control Wheel disable Enable or disable mouse wheel to be used to scroll the scroller content. heel is enabled by default. /// true if wheel is disabled, false otherwise public void SetWheelDisabled(bool disabled) { Elm.IInterfaceScrollableConcrete.NativeMethods.elm_interface_scrollable_wheel_disabled_set_ptr.Value.Delegate(this.NativeHandle,disabled); Eina.Error.RaiseIfUnhandledException(); } /// Blocking of scrolling (per axis) /// This function will block scrolling movement (by input of a user) in a given direction. One can disable movements in the X axis, the Y axis or both. The default value is none, where movements are allowed in both directions. /// /// What makes this function different from freeze_push(), hold_push() and lock_x_set() (or lock_y_set()) is that it doesn't propagate its effects to any parent or child widget of obj. Only the target scrollable widget will be locked with regard to scrolling. /// Which axis (or axes) to block public Efl.Ui.ScrollBlock GetMovementBlock() { var _ret_var = Elm.IInterfaceScrollableConcrete.NativeMethods.elm_interface_scrollable_movement_block_get_ptr.Value.Delegate(this.NativeHandle); Eina.Error.RaiseIfUnhandledException(); return _ret_var; } /// Blocking of scrolling (per axis) /// This function will block scrolling movement (by input of a user) in a given direction. One can disable movements in the X axis, the Y axis or both. The default value is none, where movements are allowed in both directions. /// /// What makes this function different from freeze_push(), hold_push() and lock_x_set() (or lock_y_set()) is that it doesn't propagate its effects to any parent or child widget of obj. Only the target scrollable widget will be locked with regard to scrolling. /// Which axis (or axes) to block public void SetMovementBlock(Efl.Ui.ScrollBlock block) { Elm.IInterfaceScrollableConcrete.NativeMethods.elm_interface_scrollable_movement_block_set_ptr.Value.Delegate(this.NativeHandle,block); Eina.Error.RaiseIfUnhandledException(); } /// Momentum animator /// true if disabled, false otherwise public bool GetMomentumAnimatorDisabled() { var _ret_var = Elm.IInterfaceScrollableConcrete.NativeMethods.elm_interface_scrollable_momentum_animator_disabled_get_ptr.Value.Delegate(this.NativeHandle); Eina.Error.RaiseIfUnhandledException(); return _ret_var; } /// Momentum animator /// true if disabled, false otherwise public void SetMomentumAnimatorDisabled(bool disabled) { Elm.IInterfaceScrollableConcrete.NativeMethods.elm_interface_scrollable_momentum_animator_disabled_set_ptr.Value.Delegate(this.NativeHandle,disabled); Eina.Error.RaiseIfUnhandledException(); } /// Scrollbar visibility policy /// #ELM_SCROLLER_POLICY_AUTO means the scrollbar is made visible if it is needed, and otherwise kept hidden. #ELM_SCROLLER_POLICY_ON turns it on all the time, and #ELM_SCROLLER_POLICY_OFF always keeps it off. This applies respectively for the horizontal and vertical scrollbars. /// Horizontal scrollbar policy /// Vertical scrollbar policy public void GetPolicy(out Elm.Scroller.Policy hbar, out Elm.Scroller.Policy vbar) { Elm.IInterfaceScrollableConcrete.NativeMethods.elm_interface_scrollable_policy_get_ptr.Value.Delegate(this.NativeHandle,out hbar, out vbar); Eina.Error.RaiseIfUnhandledException(); } /// Scrollbar visibility policy /// #ELM_SCROLLER_POLICY_AUTO means the scrollbar is made visible if it is needed, and otherwise kept hidden. #ELM_SCROLLER_POLICY_ON turns it on all the time, and #ELM_SCROLLER_POLICY_OFF always keeps it off. This applies respectively for the horizontal and vertical scrollbars. /// Horizontal scrollbar policy /// Vertical scrollbar policy public void SetPolicy(Elm.Scroller.Policy hbar, Elm.Scroller.Policy vbar) { Elm.IInterfaceScrollableConcrete.NativeMethods.elm_interface_scrollable_policy_set_ptr.Value.Delegate(this.NativeHandle,hbar, vbar); Eina.Error.RaiseIfUnhandledException(); } /// Currently visible content region /// This gets the current region in the content object that is visible through the scroller. The region co-ordinates are returned in the x, y, w, h values pointed to. /// /// Note: All coordinates are relative to the content. /// /// See: . /// X coordinate of the region /// Y coordinate of the region /// Width of the region /// Height of the region public void GetContentRegion(out int x, out int y, out int w, out int h) { Elm.IInterfaceScrollableConcrete.NativeMethods.elm_interface_scrollable_content_region_get_ptr.Value.Delegate(this.NativeHandle,out x, out y, out w, out h); Eina.Error.RaiseIfUnhandledException(); } /// Currently visible content region /// This gets the current region in the content object that is visible through the scroller. The region co-ordinates are returned in the x, y, w, h values pointed to. /// /// Note: All coordinates are relative to the content. /// /// See: . /// X coordinate of the region /// Y coordinate of the region /// Width of the region /// Height of the region public void SetContentRegion(int x, int y, int w, int h) { Elm.IInterfaceScrollableConcrete.NativeMethods.elm_interface_scrollable_content_region_set_ptr.Value.Delegate(this.NativeHandle,x, y, w, h); Eina.Error.RaiseIfUnhandledException(); } /// It decides whether the scrollable object propagates the events to content object or not. /// true if events are propagated, false otherwise public bool GetContentEvents() { var _ret_var = Elm.IInterfaceScrollableConcrete.NativeMethods.elm_interface_scrollable_content_events_get_ptr.Value.Delegate(this.NativeHandle); Eina.Error.RaiseIfUnhandledException(); return _ret_var; } /// It decides whether the scrollable object propagates the events to content object or not. /// true if events are propagated, false otherwise public void SetContentEvents(bool repeat_events) { Elm.IInterfaceScrollableConcrete.NativeMethods.elm_interface_scrollable_content_events_set_ptr.Value.Delegate(this.NativeHandle,repeat_events); Eina.Error.RaiseIfUnhandledException(); } /// Scroll page size relative to viewport size. /// The scroller is capable of limiting scrolling by the user to "pages". That is to jump by and only show a "whole page" at a time as if the continuous area of the scroller content is split into page sized pieces. This sets the size of a page relative to the viewport of the scroller. 1.0 is "1 viewport" is size (horizontally or vertically). 0.0 turns it off in that axis. This is mutually exclusive with page size (see for more information). Likewise 0.5 is "half a viewport". Sane usable values are normally between 0.0 and 1.0 including 1.0. If you only want 1 axis to be page "limited", use 0.0 for the other axis. /// The horizontal page relative size /// The vertical page relative size public void GetPageSize(out int x, out int y) { Elm.IInterfaceScrollableConcrete.NativeMethods.elm_interface_scrollable_page_size_get_ptr.Value.Delegate(this.NativeHandle,out x, out y); Eina.Error.RaiseIfUnhandledException(); } /// Scroll page size relative to viewport size. /// The scroller is capable of limiting scrolling by the user to "pages". That is to jump by and only show a "whole page" at a time as if the continuous area of the scroller content is split into page sized pieces. This sets the size of a page relative to the viewport of the scroller. 1.0 is "1 viewport" is size (horizontally or vertically). 0.0 turns it off in that axis. This is mutually exclusive with page size (see for more information). Likewise 0.5 is "half a viewport". Sane usable values are normally between 0.0 and 1.0 including 1.0. If you only want 1 axis to be page "limited", use 0.0 for the other axis. /// The horizontal page relative size /// The vertical page relative size public void SetPageSize(int x, int y) { Elm.IInterfaceScrollableConcrete.NativeMethods.elm_interface_scrollable_page_size_set_ptr.Value.Delegate(this.NativeHandle,x, y); Eina.Error.RaiseIfUnhandledException(); } /// Bounce animator /// true if bounce animation is disabled, false otherwise public bool GetBounceAnimatorDisabled() { var _ret_var = Elm.IInterfaceScrollableConcrete.NativeMethods.elm_interface_scrollable_bounce_animator_disabled_get_ptr.Value.Delegate(this.NativeHandle); Eina.Error.RaiseIfUnhandledException(); return _ret_var; } /// Bounce animator /// true if bounce animation is disabled, false otherwise public void SetBounceAnimatorDisabled(bool disabled) { Elm.IInterfaceScrollableConcrete.NativeMethods.elm_interface_scrollable_bounce_animator_disabled_set_ptr.Value.Delegate(this.NativeHandle,disabled); Eina.Error.RaiseIfUnhandledException(); } /// Page scroll limit /// Page limit horizontal /// Page limit vertical public void GetPageScrollLimit(out int page_limit_h, out int page_limit_v) { Elm.IInterfaceScrollableConcrete.NativeMethods.elm_interface_scrollable_page_scroll_limit_get_ptr.Value.Delegate(this.NativeHandle,out page_limit_h, out page_limit_v); Eina.Error.RaiseIfUnhandledException(); } /// Page scroll limit /// Page limit horizontal /// Page limit vertical public void SetPageScrollLimit(int page_limit_h, int page_limit_v) { Elm.IInterfaceScrollableConcrete.NativeMethods.elm_interface_scrollable_page_scroll_limit_set_ptr.Value.Delegate(this.NativeHandle,page_limit_h, page_limit_v); Eina.Error.RaiseIfUnhandledException(); } /// Page snapping behavior /// When scrolling, if a scroller is paged (see elm_scroller_page_size_set() and elm_scroller_page_relative_set()), the scroller may snap to pages when being scrolled, i.e., even if it had momentum to scroll further, it will stop at the next page boundaries. This is disabled, by default, for both axis. This function will set if it that is enabled or not, for each axis. /// /// Note: If obj is not set to have pages, nothing will happen after this call. /// Allow snap horizontally /// Allow snap vertically public void GetPageSnapAllow(out bool horiz, out bool vert) { Elm.IInterfaceScrollableConcrete.NativeMethods.elm_interface_scrollable_page_snap_allow_get_ptr.Value.Delegate(this.NativeHandle,out horiz, out vert); Eina.Error.RaiseIfUnhandledException(); } /// Page snapping behavior /// When scrolling, if a scroller is paged (see elm_scroller_page_size_set() and elm_scroller_page_relative_set()), the scroller may snap to pages when being scrolled, i.e., even if it had momentum to scroll further, it will stop at the next page boundaries. This is disabled, by default, for both axis. This function will set if it that is enabled or not, for each axis. /// /// Note: If obj is not set to have pages, nothing will happen after this call. /// Allow snap horizontally /// Allow snap vertically public void SetPageSnapAllow(bool horiz, bool vert) { Elm.IInterfaceScrollableConcrete.NativeMethods.elm_interface_scrollable_page_snap_allow_set_ptr.Value.Delegate(this.NativeHandle,horiz, vert); Eina.Error.RaiseIfUnhandledException(); } /// Pagin property /// Page relation horizontal /// Page relation vertical /// Page size horizontal /// Page size vertical public void GetPaging(out double pagerel_h, out double pagerel_v, out int pagesize_h, out int pagesize_v) { Elm.IInterfaceScrollableConcrete.NativeMethods.elm_interface_scrollable_paging_get_ptr.Value.Delegate(this.NativeHandle,out pagerel_h, out pagerel_v, out pagesize_h, out pagesize_v); Eina.Error.RaiseIfUnhandledException(); } /// Pagin property /// Page relation horizontal /// Page relation vertical /// Page size horizontal /// Page size vertical public void SetPaging(double pagerel_h, double pagerel_v, int pagesize_h, int pagesize_v) { Elm.IInterfaceScrollableConcrete.NativeMethods.elm_interface_scrollable_paging_set_ptr.Value.Delegate(this.NativeHandle,pagerel_h, pagerel_v, pagesize_h, pagesize_v); Eina.Error.RaiseIfUnhandledException(); } /// Single direction scroll configuration /// This makes it possible to restrict scrolling to a single direction, with a "soft" or "hard" behavior. /// /// The hard behavior restricts the scrolling to a single direction all of the time while the soft one will restrict depending on factors such as the movement angle. If the user scrolls roughly in one direction only, it will only move according to it while if the move was clearly wanted on both axes, it will happen on both of them. /// The single direction scroll policy public Elm.Scroller.SingleDirection GetSingleDirection() { var _ret_var = Elm.IInterfaceScrollableConcrete.NativeMethods.elm_interface_scrollable_single_direction_get_ptr.Value.Delegate(this.NativeHandle); Eina.Error.RaiseIfUnhandledException(); return _ret_var; } /// Single direction scroll configuration /// This makes it possible to restrict scrolling to a single direction, with a "soft" or "hard" behavior. /// /// The hard behavior restricts the scrolling to a single direction all of the time while the soft one will restrict depending on factors such as the movement angle. If the user scrolls roughly in one direction only, it will only move according to it while if the move was clearly wanted on both axes, it will happen on both of them. /// The single direction scroll policy public void SetSingleDirection(Elm.Scroller.SingleDirection single_dir) { Elm.IInterfaceScrollableConcrete.NativeMethods.elm_interface_scrollable_single_direction_set_ptr.Value.Delegate(this.NativeHandle,single_dir); Eina.Error.RaiseIfUnhandledException(); } /// Step size /// X coordinate /// Y coordinate public void GetStepSize(out int x, out int y) { Elm.IInterfaceScrollableConcrete.NativeMethods.elm_interface_scrollable_step_size_get_ptr.Value.Delegate(this.NativeHandle,out x, out y); Eina.Error.RaiseIfUnhandledException(); } /// Step size /// X coordinate /// Y coordinate public void SetStepSize(int x, int y) { Elm.IInterfaceScrollableConcrete.NativeMethods.elm_interface_scrollable_step_size_set_ptr.Value.Delegate(this.NativeHandle,x, y); Eina.Error.RaiseIfUnhandledException(); } /// Controls an infinite loop for a scroller. /// The scrolling horizontal loop /// The scrolling vertical loop public void GetContentLoop(out bool loop_h, out bool loop_v) { Elm.IInterfaceScrollableConcrete.NativeMethods.elm_interface_scrollable_content_loop_get_ptr.Value.Delegate(this.NativeHandle,out loop_h, out loop_v); Eina.Error.RaiseIfUnhandledException(); } /// Controls an infinite loop for a scroller. /// The scrolling horizontal loop /// The scrolling vertical loop public void SetContentLoop(bool loop_h, bool loop_v) { Elm.IInterfaceScrollableConcrete.NativeMethods.elm_interface_scrollable_content_loop_set_ptr.Value.Delegate(this.NativeHandle,loop_h, loop_v); Eina.Error.RaiseIfUnhandledException(); } /// Set the callback to run when the content has been moved up. /// The callback public void SetScrollUpCb(ElmInterfaceScrollableCb scroll_up_cb) { Elm.IInterfaceScrollableConcrete.NativeMethods.elm_interface_scrollable_scroll_up_cb_set_ptr.Value.Delegate(this.NativeHandle,scroll_up_cb); Eina.Error.RaiseIfUnhandledException(); } /// Set the callback to run when the horizontal scrollbar is dragged. /// The callback public void SetHbarDragCb(ElmInterfaceScrollableCb hbar_drag_cb) { Elm.IInterfaceScrollableConcrete.NativeMethods.elm_interface_scrollable_hbar_drag_cb_set_ptr.Value.Delegate(this.NativeHandle,hbar_drag_cb); Eina.Error.RaiseIfUnhandledException(); } /// Set the callback to run when dragging of the contents has started. /// The callback public void SetDragStartCb(ElmInterfaceScrollableCb drag_start_cb) { Elm.IInterfaceScrollableConcrete.NativeMethods.elm_interface_scrollable_drag_start_cb_set_ptr.Value.Delegate(this.NativeHandle,drag_start_cb); Eina.Error.RaiseIfUnhandledException(); } /// Set the callback to run when scrolling of the contents has started. /// The callback public void SetScrollStartCb(ElmInterfaceScrollableCb scroll_start_cb) { Elm.IInterfaceScrollableConcrete.NativeMethods.elm_interface_scrollable_scroll_start_cb_set_ptr.Value.Delegate(this.NativeHandle,scroll_start_cb); Eina.Error.RaiseIfUnhandledException(); } /// Freeze property /// true if freeze, false otherwise public void SetFreeze(bool freeze) { Elm.IInterfaceScrollableConcrete.NativeMethods.elm_interface_scrollable_freeze_set_ptr.Value.Delegate(this.NativeHandle,freeze); Eina.Error.RaiseIfUnhandledException(); } /// When the viewport is resized, the callback is called. /// The callback public void SetContentViewportResizeCb(ElmInterfaceScrollableResizeCb viewport_resize_cb) { Elm.IInterfaceScrollableConcrete.NativeMethods.elm_interface_scrollable_content_viewport_resize_cb_set_ptr.Value.Delegate(this.NativeHandle,viewport_resize_cb); Eina.Error.RaiseIfUnhandledException(); } /// Set the callback to run when the content has been moved to the left /// The callback public void SetScrollLeftCb(ElmInterfaceScrollableCb scroll_left_cb) { Elm.IInterfaceScrollableConcrete.NativeMethods.elm_interface_scrollable_scroll_left_cb_set_ptr.Value.Delegate(this.NativeHandle,scroll_left_cb); Eina.Error.RaiseIfUnhandledException(); } /// Set the callback to run when the vertical scrollbar is pressed. /// The callback public void SetVbarPressCb(ElmInterfaceScrollableCb vbar_press_cb) { Elm.IInterfaceScrollableConcrete.NativeMethods.elm_interface_scrollable_vbar_press_cb_set_ptr.Value.Delegate(this.NativeHandle,vbar_press_cb); Eina.Error.RaiseIfUnhandledException(); } /// Set the callback to run when the horizontal scrollbar is pressed. /// The callback public void SetHbarPressCb(ElmInterfaceScrollableCb hbar_press_cb) { Elm.IInterfaceScrollableConcrete.NativeMethods.elm_interface_scrollable_hbar_press_cb_set_ptr.Value.Delegate(this.NativeHandle,hbar_press_cb); Eina.Error.RaiseIfUnhandledException(); } /// Set the callback to run when the horizontal scrollbar is unpressed. /// The callback public void SetHbarUnpressCb(ElmInterfaceScrollableCb hbar_unpress_cb) { Elm.IInterfaceScrollableConcrete.NativeMethods.elm_interface_scrollable_hbar_unpress_cb_set_ptr.Value.Delegate(this.NativeHandle,hbar_unpress_cb); Eina.Error.RaiseIfUnhandledException(); } /// Set the callback to run when dragging of the contents has stopped. /// The callback public void SetDragStopCb(ElmInterfaceScrollableCb drag_stop_cb) { Elm.IInterfaceScrollableConcrete.NativeMethods.elm_interface_scrollable_drag_stop_cb_set_ptr.Value.Delegate(this.NativeHandle,drag_stop_cb); Eina.Error.RaiseIfUnhandledException(); } /// Set the callback to run when scrolling of the contents has stopped. /// The callback public void SetScrollStopCb(ElmInterfaceScrollableCb scroll_stop_cb) { Elm.IInterfaceScrollableConcrete.NativeMethods.elm_interface_scrollable_scroll_stop_cb_set_ptr.Value.Delegate(this.NativeHandle,scroll_stop_cb); Eina.Error.RaiseIfUnhandledException(); } /// Extern pan /// Pan object public void SetExternPan(Efl.Canvas.Object pan) { Elm.IInterfaceScrollableConcrete.NativeMethods.elm_interface_scrollable_extern_pan_set_ptr.Value.Delegate(this.NativeHandle,pan); Eina.Error.RaiseIfUnhandledException(); } /// Set the callback to run when the visible page changes. /// The callback public void SetPageChangeCb(ElmInterfaceScrollableCb page_change_cb) { Elm.IInterfaceScrollableConcrete.NativeMethods.elm_interface_scrollable_page_change_cb_set_ptr.Value.Delegate(this.NativeHandle,page_change_cb); Eina.Error.RaiseIfUnhandledException(); } /// Hold property /// true if hold, false otherwise public void SetHold(bool hold) { Elm.IInterfaceScrollableConcrete.NativeMethods.elm_interface_scrollable_hold_set_ptr.Value.Delegate(this.NativeHandle,hold); Eina.Error.RaiseIfUnhandledException(); } /// Set the callback to run when the scrolling animation has started. /// The callback public void SetAnimateStartCb(ElmInterfaceScrollableCb animate_start_cb) { Elm.IInterfaceScrollableConcrete.NativeMethods.elm_interface_scrollable_animate_start_cb_set_ptr.Value.Delegate(this.NativeHandle,animate_start_cb); Eina.Error.RaiseIfUnhandledException(); } /// Set the callback to run when the content has been moved down. /// The callback public void SetScrollDownCb(ElmInterfaceScrollableCb scroll_down_cb) { Elm.IInterfaceScrollableConcrete.NativeMethods.elm_interface_scrollable_scroll_down_cb_set_ptr.Value.Delegate(this.NativeHandle,scroll_down_cb); Eina.Error.RaiseIfUnhandledException(); } /// Set scroll page size relative to viewport size. /// Page relation horizontal /// Page relation vertical public void SetPageRelative(double h_pagerel, double v_pagerel) { Elm.IInterfaceScrollableConcrete.NativeMethods.elm_interface_scrollable_page_relative_set_ptr.Value.Delegate(this.NativeHandle,h_pagerel, v_pagerel); Eina.Error.RaiseIfUnhandledException(); } /// Set the callback to run when the content has been moved. /// The callback public void SetScrollCb(ElmInterfaceScrollableCb scroll_cb) { Elm.IInterfaceScrollableConcrete.NativeMethods.elm_interface_scrollable_scroll_cb_set_ptr.Value.Delegate(this.NativeHandle,scroll_cb); Eina.Error.RaiseIfUnhandledException(); } /// Set the callback to run when the scrolling animation has stopped. /// The callback public void SetAnimateStopCb(ElmInterfaceScrollableCb animate_stop_cb) { Elm.IInterfaceScrollableConcrete.NativeMethods.elm_interface_scrollable_animate_stop_cb_set_ptr.Value.Delegate(this.NativeHandle,animate_stop_cb); Eina.Error.RaiseIfUnhandledException(); } /// set the callback to run on minimal limit content /// The callback public void SetContentMinLimitCb(ElmInterfaceScrollableMinLimitCb min_limit_cb) { Elm.IInterfaceScrollableConcrete.NativeMethods.elm_interface_scrollable_content_min_limit_cb_set_ptr.Value.Delegate(this.NativeHandle,min_limit_cb); Eina.Error.RaiseIfUnhandledException(); } /// Set the callback to run when the content has been moved to the right. /// The callback public void SetScrollRightCb(ElmInterfaceScrollableCb scroll_right_cb) { Elm.IInterfaceScrollableConcrete.NativeMethods.elm_interface_scrollable_scroll_right_cb_set_ptr.Value.Delegate(this.NativeHandle,scroll_right_cb); Eina.Error.RaiseIfUnhandledException(); } /// Content property /// Content object public void SetScrollableContent(Efl.Canvas.Object content) { Elm.IInterfaceScrollableConcrete.NativeMethods.elm_interface_scrollable_content_set_ptr.Value.Delegate(this.NativeHandle,content); Eina.Error.RaiseIfUnhandledException(); } /// Set the callback to run when the left edge of the content has been reached. /// The callback public void SetEdgeLeftCb(ElmInterfaceScrollableCb edge_left_cb) { Elm.IInterfaceScrollableConcrete.NativeMethods.elm_interface_scrollable_edge_left_cb_set_ptr.Value.Delegate(this.NativeHandle,edge_left_cb); Eina.Error.RaiseIfUnhandledException(); } /// Set the callback to run when the horizontal scrollbar is dragged. /// The callback public void SetVbarDragCb(ElmInterfaceScrollableCb vbar_drag_cb) { Elm.IInterfaceScrollableConcrete.NativeMethods.elm_interface_scrollable_vbar_drag_cb_set_ptr.Value.Delegate(this.NativeHandle,vbar_drag_cb); Eina.Error.RaiseIfUnhandledException(); } /// Set the callback to run when the horizontal scrollbar is unpressed. /// The callback public void SetVbarUnpressCb(ElmInterfaceScrollableCb vbar_unpress_cb) { Elm.IInterfaceScrollableConcrete.NativeMethods.elm_interface_scrollable_vbar_unpress_cb_set_ptr.Value.Delegate(this.NativeHandle,vbar_unpress_cb); Eina.Error.RaiseIfUnhandledException(); } /// Set the callback to run when the bottom edge of the content has been reached. /// The callback public void SetEdgeBottomCb(ElmInterfaceScrollableCb edge_bottom_cb) { Elm.IInterfaceScrollableConcrete.NativeMethods.elm_interface_scrollable_edge_bottom_cb_set_ptr.Value.Delegate(this.NativeHandle,edge_bottom_cb); Eina.Error.RaiseIfUnhandledException(); } /// Set the callback to run when the right edge of the content has been reached. /// The callback public void SetEdgeRightCb(ElmInterfaceScrollableCb edge_right_cb) { Elm.IInterfaceScrollableConcrete.NativeMethods.elm_interface_scrollable_edge_right_cb_set_ptr.Value.Delegate(this.NativeHandle,edge_right_cb); Eina.Error.RaiseIfUnhandledException(); } /// Set the callback to run when the top edge of the content has been reached. /// The callback public void SetEdgeTopCb(ElmInterfaceScrollableCb edge_top_cb) { Elm.IInterfaceScrollableConcrete.NativeMethods.elm_interface_scrollable_edge_top_cb_set_ptr.Value.Delegate(this.NativeHandle,edge_top_cb); Eina.Error.RaiseIfUnhandledException(); } /// Object property /// Edje object /// Evas object public void SetObjects(Efl.Canvas.Object edje_object, Efl.Canvas.Object hit_rectangle) { Elm.IInterfaceScrollableConcrete.NativeMethods.elm_interface_scrollable_objects_set_ptr.Value.Delegate(this.NativeHandle,edje_object, hit_rectangle); Eina.Error.RaiseIfUnhandledException(); } /// Get scroll last page number. /// The page number starts from 0. 0 is the first page. This returns the last page number among the pages. /// /// See: , and . /// The horizontal page number /// The vertical page number public void GetLastPage(out int pagenumber_h, out int pagenumber_v) { Elm.IInterfaceScrollableConcrete.NativeMethods.elm_interface_scrollable_last_page_get_ptr.Value.Delegate(this.NativeHandle,out pagenumber_h, out pagenumber_v); Eina.Error.RaiseIfUnhandledException(); } /// Get scroll current page number. /// The page number starts from 0. 0 is the first page. Current page means the page which meets the top-left of the viewport. If there are two or more pages in the viewport, it returns the number of the page which meets the top-left of the viewport. /// /// See: , and . /// The horizontal page number /// The vertical page number public void GetCurrentPage(out int pagenumber_h, out int pagenumber_v) { Elm.IInterfaceScrollableConcrete.NativeMethods.elm_interface_scrollable_current_page_get_ptr.Value.Delegate(this.NativeHandle,out pagenumber_h, out pagenumber_v); Eina.Error.RaiseIfUnhandledException(); } /// Content viewport geometry /// X coordinate /// Y coordinate /// Width /// Height public void GetContentViewportGeometry(out int x, out int y, out int w, out int h) { Elm.IInterfaceScrollableConcrete.NativeMethods.elm_interface_scrollable_content_viewport_geometry_get_ptr.Value.Delegate(this.NativeHandle,out x, out y, out w, out h); Eina.Error.RaiseIfUnhandledException(); } /// Get the size of the content object /// This gets the size of the content object of the scroller. /// Width of the content object. /// Height of the content object. public void GetContentSize(out int w, out int h) { Elm.IInterfaceScrollableConcrete.NativeMethods.elm_interface_scrollable_content_size_get_ptr.Value.Delegate(this.NativeHandle,out w, out h); Eina.Error.RaiseIfUnhandledException(); } /// Whether scrolling should loop around. /// True to enable looping. public bool GetItemLoopEnabled() { var _ret_var = Elm.IInterfaceScrollableConcrete.NativeMethods.elm_interface_scrollable_item_loop_enabled_get_ptr.Value.Delegate(this.NativeHandle); Eina.Error.RaiseIfUnhandledException(); return _ret_var; } /// Whether scrolling should loop around. /// True to enable looping. public void SetItemLoopEnabled(bool enable) { Elm.IInterfaceScrollableConcrete.NativeMethods.elm_interface_scrollable_item_loop_enabled_set_ptr.Value.Delegate(this.NativeHandle,enable); Eina.Error.RaiseIfUnhandledException(); } /// Set the content position /// X coordinate /// Y coordinate /// Send signals to the theme corresponding to the scroll direction, or if an edge was reached. public void SetContentPos(int x, int y, bool sig) { Elm.IInterfaceScrollableConcrete.NativeMethods.elm_interface_scrollable_content_pos_set_ptr.Value.Delegate(this.NativeHandle,x, y, sig); Eina.Error.RaiseIfUnhandledException(); } /// Get content position /// X coordinate /// Y coordinate public void GetContentPos(out int x, out int y) { Elm.IInterfaceScrollableConcrete.NativeMethods.elm_interface_scrollable_content_pos_get_ptr.Value.Delegate(this.NativeHandle,out x, out y); Eina.Error.RaiseIfUnhandledException(); } /// Show a specific virtual region within the scroller content object by page number. /// 0, 0 of the indicated page is located at the top-left of the viewport. This will jump to the page directly without animation. /// /// See . /// The horizontal page number /// The vertical page number public void ShowPage(int pagenumber_h, int pagenumber_v) { Elm.IInterfaceScrollableConcrete.NativeMethods.elm_interface_scrollable_page_show_ptr.Value.Delegate(this.NativeHandle,pagenumber_h, pagenumber_v); Eina.Error.RaiseIfUnhandledException(); } /// Show a specific virtual region within the scroller content object. /// 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. Unlike elm_scroller_region_show(), 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. /// /// See /// X coordinate of the region /// Y coordinate of the region /// Width of the region /// Height of the region public void RegionBringIn(int x, int y, int w, int h) { Elm.IInterfaceScrollableConcrete.NativeMethods.elm_interface_scrollable_region_bring_in_ptr.Value.Delegate(this.NativeHandle,x, y, w, h); Eina.Error.RaiseIfUnhandledException(); } /// Show a specific virtual region within the scroller content object by page number. /// 0, 0 of the indicated page is located at the top-left of the viewport. This will slide to the page with animation. /// /// /// The horizontal page number /// The vertical page number public void PageBringIn(int pagenumber_h, int pagenumber_v) { Elm.IInterfaceScrollableConcrete.NativeMethods.elm_interface_scrollable_page_bring_in_ptr.Value.Delegate(this.NativeHandle,pagenumber_h, pagenumber_v); Eina.Error.RaiseIfUnhandledException(); } /// Show a specific virtual region within the scroller content object /// 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. /// X coordinate of the region /// Y coordinate of the region /// Width of the region /// Height of the region public void ShowContentRegion(int x, int y, int w, int h) { Elm.IInterfaceScrollableConcrete.NativeMethods.elm_interface_scrollable_content_region_show_ptr.Value.Delegate(this.NativeHandle,x, y, w, h); Eina.Error.RaiseIfUnhandledException(); } /// Prevent the scrollable from being smaller than the minimum size of the content. /// 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. /// Whether to limit the minimum horizontal size /// Whether to limit the minimum vertical size public void ContentMinLimit(bool w, bool h) { Elm.IInterfaceScrollableConcrete.NativeMethods.elm_interface_scrollable_content_min_limit_ptr.Value.Delegate(this.NativeHandle,w, h); Eina.Error.RaiseIfUnhandledException(); } public void SetWantedRegion(int x, int y) { Elm.IInterfaceScrollableConcrete.NativeMethods.elm_interface_scrollable_wanted_region_set_ptr.Value.Delegate(this.NativeHandle,x, y); Eina.Error.RaiseIfUnhandledException(); } public void CustomPanPosAdjust(int x, int y) { var _in_x = Eina.PrimitiveConversion.ManagedToPointerAlloc(x); var _in_y = Eina.PrimitiveConversion.ManagedToPointerAlloc(y); Elm.IInterfaceScrollableConcrete.NativeMethods.elm_interface_scrollable_custom_pan_pos_adjust_ptr.Value.Delegate(this.NativeHandle,_in_x, _in_y); Eina.Error.RaiseIfUnhandledException(); } /// If the widget needs a focus manager, this function will be called. /// It can be used and overriden to inject your own manager or set custom options on the focus manager. /// (Since EFL 1.22) /// The logical root object for focus. /// The focus manager. public Efl.Ui.Focus.IManager FocusManagerCreate(Efl.Ui.Focus.IObject root) { var _ret_var = Efl.Ui.IWidgetFocusManagerConcrete.NativeMethods.efl_ui_widget_focus_manager_create_ptr.Value.Delegate(this.NativeHandle,root); Eina.Error.RaiseIfUnhandledException(); return _ret_var; } /// The element which is currently focused by this manager /// Use this property to retrieve the object currently being focused, or to set the focus to a new one. When focus is a logical child (which cannot receive focus), the next non-logical object is selected instead. If there is no such object, focus does not change. /// (Since EFL 1.22) /// Currently focused element. public Efl.Ui.Focus.IObject GetManagerFocus() { var _ret_var = Efl.Ui.Focus.IManagerConcrete.NativeMethods.efl_ui_focus_manager_focus_get_ptr.Value.Delegate(this.NativeHandle); Eina.Error.RaiseIfUnhandledException(); return _ret_var; } /// The element which is currently focused by this manager /// Use this property to retrieve the object currently being focused, or to set the focus to a new one. When focus is a logical child (which cannot receive focus), the next non-logical object is selected instead. If there is no such object, focus does not change. /// (Since EFL 1.22) /// Currently focused element. public void SetManagerFocus(Efl.Ui.Focus.IObject focus) { Efl.Ui.Focus.IManagerConcrete.NativeMethods.efl_ui_focus_manager_focus_set_ptr.Value.Delegate(this.NativeHandle,focus); Eina.Error.RaiseIfUnhandledException(); } /// Add another manager to serve the move requests. /// If this value is set, all move requests are redirected to this manager object. Set it to null once nothing should be redirected anymore. /// (Since EFL 1.22) /// The redirect manager. public Efl.Ui.Focus.IManager GetRedirect() { var _ret_var = Efl.Ui.Focus.IManagerConcrete.NativeMethods.efl_ui_focus_manager_redirect_get_ptr.Value.Delegate(this.NativeHandle); Eina.Error.RaiseIfUnhandledException(); return _ret_var; } /// Add another manager to serve the move requests. /// If this value is set, all move requests are redirected to this manager object. Set it to null once nothing should be redirected anymore. /// (Since EFL 1.22) /// The redirect manager. public void SetRedirect(Efl.Ui.Focus.IManager redirect) { Efl.Ui.Focus.IManagerConcrete.NativeMethods.efl_ui_focus_manager_redirect_set_ptr.Value.Delegate(this.NativeHandle,redirect); Eina.Error.RaiseIfUnhandledException(); } /// The list of elements which are at the border of the graph. /// This means one of the relations right,left or down,up are not set. This call flushes all changes. See /// (Since EFL 1.22) /// An iterator over the border objects. public Eina.Iterator GetBorderElements() { var _ret_var = Efl.Ui.Focus.IManagerConcrete.NativeMethods.efl_ui_focus_manager_border_elements_get_ptr.Value.Delegate(this.NativeHandle); Eina.Error.RaiseIfUnhandledException(); return new Eina.Iterator(_ret_var, false); } /// Get all elements that are at the border of the viewport /// Every element returned by this is located inside the viewport rectangle, but has a right, left, down or up neighbor outside the viewport. /// (Since EFL 1.22) /// The rectangle defining the viewport. /// The list of border objects. public Eina.Iterator GetViewportElements(Eina.Rect viewport) { Eina.Rect.NativeStruct _in_viewport = viewport; var _ret_var = Efl.Ui.Focus.IManagerConcrete.NativeMethods.efl_ui_focus_manager_viewport_elements_get_ptr.Value.Delegate(this.NativeHandle,_in_viewport); Eina.Error.RaiseIfUnhandledException(); return new Eina.Iterator(_ret_var, false); } /// Root node for all logical subtrees. /// This property can only be set once. /// (Since EFL 1.22) /// Will be registered into this manager object. public Efl.Ui.Focus.IObject GetRoot() { var _ret_var = Efl.Ui.Focus.IManagerConcrete.NativeMethods.efl_ui_focus_manager_root_get_ptr.Value.Delegate(this.NativeHandle); Eina.Error.RaiseIfUnhandledException(); return _ret_var; } /// Root node for all logical subtrees. /// This property can only be set once. /// (Since EFL 1.22) /// Will be registered into this manager object. /// If true, this is the root node public bool SetRoot(Efl.Ui.Focus.IObject root) { var _ret_var = Efl.Ui.Focus.IManagerConcrete.NativeMethods.efl_ui_focus_manager_root_set_ptr.Value.Delegate(this.NativeHandle,root); Eina.Error.RaiseIfUnhandledException(); return _ret_var; } /// Move the focus in the given direction. /// This call flushes all changes. This means all changes between the last flush and now are computed. /// (Since EFL 1.22) /// The direction to move to. /// The element which is now focused. public Efl.Ui.Focus.IObject Move(Efl.Ui.Focus.Direction direction) { var _ret_var = Efl.Ui.Focus.IManagerConcrete.NativeMethods.efl_ui_focus_manager_move_ptr.Value.Delegate(this.NativeHandle,direction); Eina.Error.RaiseIfUnhandledException(); return _ret_var; } /// Return the object in the direction from child. /// (Since EFL 1.22) /// Direction to move focus. /// The child to move from. Pass null to indicate the currently focused child. /// Wether you want to have a logical node as result or a non-logical. Note, in a call no logical node will get focus. /// Object that would receive focus if moved in the given direction. public Efl.Ui.Focus.IObject MoveRequest(Efl.Ui.Focus.Direction direction, Efl.Ui.Focus.IObject child, bool logical) { var _ret_var = Efl.Ui.Focus.IManagerConcrete.NativeMethods.efl_ui_focus_manager_request_move_ptr.Value.Delegate(this.NativeHandle,direction, child, logical); Eina.Error.RaiseIfUnhandledException(); return _ret_var; } /// Return the widget in the direction next. /// The returned widget is a child of root. It's guaranteed that child will not be prepared once again, so you can call this function inside a call. /// (Since EFL 1.22) /// Parent for returned child. /// Child of passed parameter. public Efl.Ui.Focus.IObject RequestSubchild(Efl.Ui.Focus.IObject root) { var _ret_var = Efl.Ui.Focus.IManagerConcrete.NativeMethods.efl_ui_focus_manager_request_subchild_ptr.Value.Delegate(this.NativeHandle,root); Eina.Error.RaiseIfUnhandledException(); return _ret_var; } /// This will fetch the data from a registered node. /// Be aware this function will trigger a computation of all dirty nodes. /// (Since EFL 1.22) /// The child object to inspect. /// The list of relations starting from child. public Efl.Ui.Focus.Relations Fetch(Efl.Ui.Focus.IObject child) { var _ret_var = Efl.Ui.Focus.IManagerConcrete.NativeMethods.efl_ui_focus_manager_fetch_ptr.Value.Delegate(this.NativeHandle,child); Eina.Error.RaiseIfUnhandledException(); var __ret_tmp = Eina.PrimitiveConversion.PointerToManaged(_ret_var); Marshal.FreeHGlobal(_ret_var); return __ret_tmp; } /// Return the last logical object. /// The returned object is the last object that would be returned if you start at the root and move the direction into next. /// (Since EFL 1.22) /// Last object. public Efl.Ui.Focus.ManagerLogicalEndDetail LogicalEnd() { var _ret_var = Efl.Ui.Focus.IManagerConcrete.NativeMethods.efl_ui_focus_manager_logical_end_ptr.Value.Delegate(this.NativeHandle); Eina.Error.RaiseIfUnhandledException(); return _ret_var; } /// Reset the history stack of this manager object. This means the uppermost element will be unfocused, and all other elements will be removed from the remembered list. /// You should focus another element immediately after calling this, in order to always have a focused object. /// (Since EFL 1.22) public void ResetHistory() { Efl.Ui.Focus.IManagerConcrete.NativeMethods.efl_ui_focus_manager_reset_history_ptr.Value.Delegate(this.NativeHandle); Eina.Error.RaiseIfUnhandledException(); } /// Remove the uppermost history element, and focus the previous one. /// If there is an element that was focused before, it will be used. Otherwise, the best fitting element from the registered elements will be focused. /// (Since EFL 1.22) public void PopHistoryStack() { Efl.Ui.Focus.IManagerConcrete.NativeMethods.efl_ui_focus_manager_pop_history_stack_ptr.Value.Delegate(this.NativeHandle); Eina.Error.RaiseIfUnhandledException(); } /// Called when this manager is set as redirect. /// In case that this is called as an result of a move call, direction and entry will be set to the direction of the move call, and the entry object will be set to the object that had this manager as redirect property. /// (Since EFL 1.22) /// The direction in which this should be setup. /// The object that caused this manager to be redirect. public void SetupOnFirstTouch(Efl.Ui.Focus.Direction direction, Efl.Ui.Focus.IObject entry) { Efl.Ui.Focus.IManagerConcrete.NativeMethods.efl_ui_focus_manager_setup_on_first_touch_ptr.Value.Delegate(this.NativeHandle,direction, entry); Eina.Error.RaiseIfUnhandledException(); } /// This disables the cache invalidation when an object is moved. /// Even if an object is moved, the focus manager will not recalculate its relations. This can be used when you know that the set of widgets in the focus manager is moved the same way, so the relations between the widets in the set do not change and the complex calculations can be avoided. Use to re-enable relationship calculation. /// (Since EFL 1.22) public void FreezeDirtyLogic() { Efl.Ui.Focus.IManagerConcrete.NativeMethods.efl_ui_focus_manager_dirty_logic_freeze_ptr.Value.Delegate(this.NativeHandle); Eina.Error.RaiseIfUnhandledException(); } /// This enables the cache invalidation when an object is moved. /// This is the counterpart to . /// (Since EFL 1.22) public void DirtyLogicUnfreeze() { Efl.Ui.Focus.IManagerConcrete.NativeMethods.efl_ui_focus_manager_dirty_logic_unfreeze_ptr.Value.Delegate(this.NativeHandle); Eina.Error.RaiseIfUnhandledException(); } /// Control Wheel disable Enable or disable mouse wheel to be used to scroll the scroller content. heel is enabled by default. /// true if wheel is disabled, false otherwise public bool WheelDisabled { get { return GetWheelDisabled(); } set { SetWheelDisabled(value); } } /// Blocking of scrolling (per axis) /// This function will block scrolling movement (by input of a user) in a given direction. One can disable movements in the X axis, the Y axis or both. The default value is none, where movements are allowed in both directions. /// /// What makes this function different from freeze_push(), hold_push() and lock_x_set() (or lock_y_set()) is that it doesn't propagate its effects to any parent or child widget of obj. Only the target scrollable widget will be locked with regard to scrolling. /// Which axis (or axes) to block public Efl.Ui.ScrollBlock MovementBlock { get { return GetMovementBlock(); } set { SetMovementBlock(value); } } /// Momentum animator /// true if disabled, false otherwise public bool MomentumAnimatorDisabled { get { return GetMomentumAnimatorDisabled(); } set { SetMomentumAnimatorDisabled(value); } } /// It decides whether the scrollable object propagates the events to content object or not. /// true if events are propagated, false otherwise public bool ContentEvents { get { return GetContentEvents(); } set { SetContentEvents(value); } } /// Bounce animator /// true if bounce animation is disabled, false otherwise public bool BounceAnimatorDisabled { get { return GetBounceAnimatorDisabled(); } set { SetBounceAnimatorDisabled(value); } } /// Single direction scroll configuration /// This makes it possible to restrict scrolling to a single direction, with a "soft" or "hard" behavior. /// /// The hard behavior restricts the scrolling to a single direction all of the time while the soft one will restrict depending on factors such as the movement angle. If the user scrolls roughly in one direction only, it will only move according to it while if the move was clearly wanted on both axes, it will happen on both of them. /// The single direction scroll policy public Elm.Scroller.SingleDirection SingleDirection { get { return GetSingleDirection(); } set { SetSingleDirection(value); } } /// Set the callback to run when the content has been moved up. /// The callback public ElmInterfaceScrollableCb ScrollUpCb { set { SetScrollUpCb(value); } } /// Set the callback to run when the horizontal scrollbar is dragged. /// The callback public ElmInterfaceScrollableCb HbarDragCb { set { SetHbarDragCb(value); } } /// Set the callback to run when dragging of the contents has started. /// The callback public ElmInterfaceScrollableCb DragStartCb { set { SetDragStartCb(value); } } /// Set the callback to run when scrolling of the contents has started. /// The callback public ElmInterfaceScrollableCb ScrollStartCb { set { SetScrollStartCb(value); } } /// Freeze property /// true if freeze, false otherwise public bool Freeze { set { SetFreeze(value); } } /// When the viewport is resized, the callback is called. /// The callback public ElmInterfaceScrollableResizeCb ContentViewportResizeCb { set { SetContentViewportResizeCb(value); } } /// Set the callback to run when the content has been moved to the left /// The callback public ElmInterfaceScrollableCb ScrollLeftCb { set { SetScrollLeftCb(value); } } /// Set the callback to run when the vertical scrollbar is pressed. /// The callback public ElmInterfaceScrollableCb VbarPressCb { set { SetVbarPressCb(value); } } /// Set the callback to run when the horizontal scrollbar is pressed. /// The callback public ElmInterfaceScrollableCb HbarPressCb { set { SetHbarPressCb(value); } } /// Set the callback to run when the horizontal scrollbar is unpressed. /// The callback public ElmInterfaceScrollableCb HbarUnpressCb { set { SetHbarUnpressCb(value); } } /// Set the callback to run when dragging of the contents has stopped. /// The callback public ElmInterfaceScrollableCb DragStopCb { set { SetDragStopCb(value); } } /// Set the callback to run when scrolling of the contents has stopped. /// The callback public ElmInterfaceScrollableCb ScrollStopCb { set { SetScrollStopCb(value); } } /// Extern pan /// Pan object public Efl.Canvas.Object ExternPan { set { SetExternPan(value); } } /// Set the callback to run when the visible page changes. /// The callback public ElmInterfaceScrollableCb PageChangeCb { set { SetPageChangeCb(value); } } /// Hold property /// true if hold, false otherwise public bool Hold { set { SetHold(value); } } /// Set the callback to run when the scrolling animation has started. /// The callback public ElmInterfaceScrollableCb AnimateStartCb { set { SetAnimateStartCb(value); } } /// Set the callback to run when the content has been moved down. /// The callback public ElmInterfaceScrollableCb ScrollDownCb { set { SetScrollDownCb(value); } } /// Set the callback to run when the content has been moved. /// The callback public ElmInterfaceScrollableCb ScrollCb { set { SetScrollCb(value); } } /// Set the callback to run when the scrolling animation has stopped. /// The callback public ElmInterfaceScrollableCb AnimateStopCb { set { SetAnimateStopCb(value); } } /// set the callback to run on minimal limit content /// The callback public ElmInterfaceScrollableMinLimitCb ContentMinLimitCb { set { SetContentMinLimitCb(value); } } /// Set the callback to run when the content has been moved to the right. /// The callback public ElmInterfaceScrollableCb ScrollRightCb { set { SetScrollRightCb(value); } } /// Content property /// Content object public Efl.Canvas.Object ScrollableContent { set { SetScrollableContent(value); } } /// Set the callback to run when the left edge of the content has been reached. /// The callback public ElmInterfaceScrollableCb EdgeLeftCb { set { SetEdgeLeftCb(value); } } /// Set the callback to run when the horizontal scrollbar is dragged. /// The callback public ElmInterfaceScrollableCb VbarDragCb { set { SetVbarDragCb(value); } } /// Set the callback to run when the horizontal scrollbar is unpressed. /// The callback public ElmInterfaceScrollableCb VbarUnpressCb { set { SetVbarUnpressCb(value); } } /// Set the callback to run when the bottom edge of the content has been reached. /// The callback public ElmInterfaceScrollableCb EdgeBottomCb { set { SetEdgeBottomCb(value); } } /// Set the callback to run when the right edge of the content has been reached. /// The callback public ElmInterfaceScrollableCb EdgeRightCb { set { SetEdgeRightCb(value); } } /// Set the callback to run when the top edge of the content has been reached. /// The callback public ElmInterfaceScrollableCb EdgeTopCb { set { SetEdgeTopCb(value); } } /// Whether scrolling should loop around. /// True to enable looping. public bool ItemLoopEnabled { get { return GetItemLoopEnabled(); } set { SetItemLoopEnabled(value); } } /// The element which is currently focused by this manager /// Use this property to retrieve the object currently being focused, or to set the focus to a new one. When focus is a logical child (which cannot receive focus), the next non-logical object is selected instead. If there is no such object, focus does not change. /// (Since EFL 1.22) /// Currently focused element. public Efl.Ui.Focus.IObject ManagerFocus { get { return GetManagerFocus(); } set { SetManagerFocus(value); } } /// Add another manager to serve the move requests. /// If this value is set, all move requests are redirected to this manager object. Set it to null once nothing should be redirected anymore. /// (Since EFL 1.22) /// The redirect manager. public Efl.Ui.Focus.IManager Redirect { get { return GetRedirect(); } set { SetRedirect(value); } } /// The list of elements which are at the border of the graph. /// This means one of the relations right,left or down,up are not set. This call flushes all changes. See /// (Since EFL 1.22) /// An iterator over the border objects. public Eina.Iterator BorderElements { get { return GetBorderElements(); } } /// Root node for all logical subtrees. /// This property can only be set once. /// (Since EFL 1.22) /// Will be registered into this manager object. public Efl.Ui.Focus.IObject Root { get { return GetRoot(); } set { SetRoot(value); } } private static IntPtr GetEflClassStatic() { return Elm.IInterfaceScrollableConcrete.elm_interface_scrollable_mixin_get(); } /// Wrapper for native methods and virtual method delegates. /// For internal use by generated code only. public new class NativeMethods : Efl.Eo.EoWrapper.NativeMethods { private static Efl.Eo.NativeModule Module = new Efl.Eo.NativeModule( efl.Libs.Elementary); /// Gets the list of Eo operations to override. /// The list of Eo operations to be overload. public override System.Collections.Generic.List GetEoOps(System.Type type) { var descs = new System.Collections.Generic.List(); var methods = Efl.Eo.Globals.GetUserMethods(type); if (elm_interface_scrollable_gravity_get_static_delegate == null) { elm_interface_scrollable_gravity_get_static_delegate = new elm_interface_scrollable_gravity_get_delegate(gravity_get); } if (methods.FirstOrDefault(m => m.Name == "GetGravity") != null) { descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "elm_interface_scrollable_gravity_get"), func = Marshal.GetFunctionPointerForDelegate(elm_interface_scrollable_gravity_get_static_delegate) }); } if (elm_interface_scrollable_gravity_set_static_delegate == null) { elm_interface_scrollable_gravity_set_static_delegate = new elm_interface_scrollable_gravity_set_delegate(gravity_set); } if (methods.FirstOrDefault(m => m.Name == "SetGravity") != null) { descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "elm_interface_scrollable_gravity_set"), func = Marshal.GetFunctionPointerForDelegate(elm_interface_scrollable_gravity_set_static_delegate) }); } if (elm_interface_scrollable_bounce_allow_get_static_delegate == null) { elm_interface_scrollable_bounce_allow_get_static_delegate = new elm_interface_scrollable_bounce_allow_get_delegate(bounce_allow_get); } if (methods.FirstOrDefault(m => m.Name == "GetBounceAllow") != null) { descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "elm_interface_scrollable_bounce_allow_get"), func = Marshal.GetFunctionPointerForDelegate(elm_interface_scrollable_bounce_allow_get_static_delegate) }); } if (elm_interface_scrollable_bounce_allow_set_static_delegate == null) { elm_interface_scrollable_bounce_allow_set_static_delegate = new elm_interface_scrollable_bounce_allow_set_delegate(bounce_allow_set); } if (methods.FirstOrDefault(m => m.Name == "SetBounceAllow") != null) { descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "elm_interface_scrollable_bounce_allow_set"), func = Marshal.GetFunctionPointerForDelegate(elm_interface_scrollable_bounce_allow_set_static_delegate) }); } if (elm_interface_scrollable_wheel_disabled_get_static_delegate == null) { elm_interface_scrollable_wheel_disabled_get_static_delegate = new elm_interface_scrollable_wheel_disabled_get_delegate(wheel_disabled_get); } if (methods.FirstOrDefault(m => m.Name == "GetWheelDisabled") != null) { descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "elm_interface_scrollable_wheel_disabled_get"), func = Marshal.GetFunctionPointerForDelegate(elm_interface_scrollable_wheel_disabled_get_static_delegate) }); } if (elm_interface_scrollable_wheel_disabled_set_static_delegate == null) { elm_interface_scrollable_wheel_disabled_set_static_delegate = new elm_interface_scrollable_wheel_disabled_set_delegate(wheel_disabled_set); } if (methods.FirstOrDefault(m => m.Name == "SetWheelDisabled") != null) { descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "elm_interface_scrollable_wheel_disabled_set"), func = Marshal.GetFunctionPointerForDelegate(elm_interface_scrollable_wheel_disabled_set_static_delegate) }); } if (elm_interface_scrollable_movement_block_get_static_delegate == null) { elm_interface_scrollable_movement_block_get_static_delegate = new elm_interface_scrollable_movement_block_get_delegate(movement_block_get); } if (methods.FirstOrDefault(m => m.Name == "GetMovementBlock") != null) { descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "elm_interface_scrollable_movement_block_get"), func = Marshal.GetFunctionPointerForDelegate(elm_interface_scrollable_movement_block_get_static_delegate) }); } if (elm_interface_scrollable_movement_block_set_static_delegate == null) { elm_interface_scrollable_movement_block_set_static_delegate = new elm_interface_scrollable_movement_block_set_delegate(movement_block_set); } if (methods.FirstOrDefault(m => m.Name == "SetMovementBlock") != null) { descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "elm_interface_scrollable_movement_block_set"), func = Marshal.GetFunctionPointerForDelegate(elm_interface_scrollable_movement_block_set_static_delegate) }); } if (elm_interface_scrollable_momentum_animator_disabled_get_static_delegate == null) { elm_interface_scrollable_momentum_animator_disabled_get_static_delegate = new elm_interface_scrollable_momentum_animator_disabled_get_delegate(momentum_animator_disabled_get); } if (methods.FirstOrDefault(m => m.Name == "GetMomentumAnimatorDisabled") != null) { descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "elm_interface_scrollable_momentum_animator_disabled_get"), func = Marshal.GetFunctionPointerForDelegate(elm_interface_scrollable_momentum_animator_disabled_get_static_delegate) }); } if (elm_interface_scrollable_momentum_animator_disabled_set_static_delegate == null) { elm_interface_scrollable_momentum_animator_disabled_set_static_delegate = new elm_interface_scrollable_momentum_animator_disabled_set_delegate(momentum_animator_disabled_set); } if (methods.FirstOrDefault(m => m.Name == "SetMomentumAnimatorDisabled") != null) { descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "elm_interface_scrollable_momentum_animator_disabled_set"), func = Marshal.GetFunctionPointerForDelegate(elm_interface_scrollable_momentum_animator_disabled_set_static_delegate) }); } if (elm_interface_scrollable_policy_get_static_delegate == null) { elm_interface_scrollable_policy_get_static_delegate = new elm_interface_scrollable_policy_get_delegate(policy_get); } if (methods.FirstOrDefault(m => m.Name == "GetPolicy") != null) { descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "elm_interface_scrollable_policy_get"), func = Marshal.GetFunctionPointerForDelegate(elm_interface_scrollable_policy_get_static_delegate) }); } if (elm_interface_scrollable_policy_set_static_delegate == null) { elm_interface_scrollable_policy_set_static_delegate = new elm_interface_scrollable_policy_set_delegate(policy_set); } if (methods.FirstOrDefault(m => m.Name == "SetPolicy") != null) { descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "elm_interface_scrollable_policy_set"), func = Marshal.GetFunctionPointerForDelegate(elm_interface_scrollable_policy_set_static_delegate) }); } if (elm_interface_scrollable_content_region_get_static_delegate == null) { elm_interface_scrollable_content_region_get_static_delegate = new elm_interface_scrollable_content_region_get_delegate(content_region_get); } if (methods.FirstOrDefault(m => m.Name == "GetContentRegion") != null) { descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "elm_interface_scrollable_content_region_get"), func = Marshal.GetFunctionPointerForDelegate(elm_interface_scrollable_content_region_get_static_delegate) }); } if (elm_interface_scrollable_content_region_set_static_delegate == null) { elm_interface_scrollable_content_region_set_static_delegate = new elm_interface_scrollable_content_region_set_delegate(content_region_set); } if (methods.FirstOrDefault(m => m.Name == "SetContentRegion") != null) { descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "elm_interface_scrollable_content_region_set"), func = Marshal.GetFunctionPointerForDelegate(elm_interface_scrollable_content_region_set_static_delegate) }); } if (elm_interface_scrollable_content_events_get_static_delegate == null) { elm_interface_scrollable_content_events_get_static_delegate = new elm_interface_scrollable_content_events_get_delegate(content_events_get); } if (methods.FirstOrDefault(m => m.Name == "GetContentEvents") != null) { descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "elm_interface_scrollable_content_events_get"), func = Marshal.GetFunctionPointerForDelegate(elm_interface_scrollable_content_events_get_static_delegate) }); } if (elm_interface_scrollable_content_events_set_static_delegate == null) { elm_interface_scrollable_content_events_set_static_delegate = new elm_interface_scrollable_content_events_set_delegate(content_events_set); } if (methods.FirstOrDefault(m => m.Name == "SetContentEvents") != null) { descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "elm_interface_scrollable_content_events_set"), func = Marshal.GetFunctionPointerForDelegate(elm_interface_scrollable_content_events_set_static_delegate) }); } if (elm_interface_scrollable_page_size_get_static_delegate == null) { elm_interface_scrollable_page_size_get_static_delegate = new elm_interface_scrollable_page_size_get_delegate(page_size_get); } if (methods.FirstOrDefault(m => m.Name == "GetPageSize") != null) { descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "elm_interface_scrollable_page_size_get"), func = Marshal.GetFunctionPointerForDelegate(elm_interface_scrollable_page_size_get_static_delegate) }); } if (elm_interface_scrollable_page_size_set_static_delegate == null) { elm_interface_scrollable_page_size_set_static_delegate = new elm_interface_scrollable_page_size_set_delegate(page_size_set); } if (methods.FirstOrDefault(m => m.Name == "SetPageSize") != null) { descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "elm_interface_scrollable_page_size_set"), func = Marshal.GetFunctionPointerForDelegate(elm_interface_scrollable_page_size_set_static_delegate) }); } if (elm_interface_scrollable_bounce_animator_disabled_get_static_delegate == null) { elm_interface_scrollable_bounce_animator_disabled_get_static_delegate = new elm_interface_scrollable_bounce_animator_disabled_get_delegate(bounce_animator_disabled_get); } if (methods.FirstOrDefault(m => m.Name == "GetBounceAnimatorDisabled") != null) { descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "elm_interface_scrollable_bounce_animator_disabled_get"), func = Marshal.GetFunctionPointerForDelegate(elm_interface_scrollable_bounce_animator_disabled_get_static_delegate) }); } if (elm_interface_scrollable_bounce_animator_disabled_set_static_delegate == null) { elm_interface_scrollable_bounce_animator_disabled_set_static_delegate = new elm_interface_scrollable_bounce_animator_disabled_set_delegate(bounce_animator_disabled_set); } if (methods.FirstOrDefault(m => m.Name == "SetBounceAnimatorDisabled") != null) { descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "elm_interface_scrollable_bounce_animator_disabled_set"), func = Marshal.GetFunctionPointerForDelegate(elm_interface_scrollable_bounce_animator_disabled_set_static_delegate) }); } if (elm_interface_scrollable_page_scroll_limit_get_static_delegate == null) { elm_interface_scrollable_page_scroll_limit_get_static_delegate = new elm_interface_scrollable_page_scroll_limit_get_delegate(page_scroll_limit_get); } if (methods.FirstOrDefault(m => m.Name == "GetPageScrollLimit") != null) { descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "elm_interface_scrollable_page_scroll_limit_get"), func = Marshal.GetFunctionPointerForDelegate(elm_interface_scrollable_page_scroll_limit_get_static_delegate) }); } if (elm_interface_scrollable_page_scroll_limit_set_static_delegate == null) { elm_interface_scrollable_page_scroll_limit_set_static_delegate = new elm_interface_scrollable_page_scroll_limit_set_delegate(page_scroll_limit_set); } if (methods.FirstOrDefault(m => m.Name == "SetPageScrollLimit") != null) { descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "elm_interface_scrollable_page_scroll_limit_set"), func = Marshal.GetFunctionPointerForDelegate(elm_interface_scrollable_page_scroll_limit_set_static_delegate) }); } if (elm_interface_scrollable_page_snap_allow_get_static_delegate == null) { elm_interface_scrollable_page_snap_allow_get_static_delegate = new elm_interface_scrollable_page_snap_allow_get_delegate(page_snap_allow_get); } if (methods.FirstOrDefault(m => m.Name == "GetPageSnapAllow") != null) { descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "elm_interface_scrollable_page_snap_allow_get"), func = Marshal.GetFunctionPointerForDelegate(elm_interface_scrollable_page_snap_allow_get_static_delegate) }); } if (elm_interface_scrollable_page_snap_allow_set_static_delegate == null) { elm_interface_scrollable_page_snap_allow_set_static_delegate = new elm_interface_scrollable_page_snap_allow_set_delegate(page_snap_allow_set); } if (methods.FirstOrDefault(m => m.Name == "SetPageSnapAllow") != null) { descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "elm_interface_scrollable_page_snap_allow_set"), func = Marshal.GetFunctionPointerForDelegate(elm_interface_scrollable_page_snap_allow_set_static_delegate) }); } if (elm_interface_scrollable_paging_get_static_delegate == null) { elm_interface_scrollable_paging_get_static_delegate = new elm_interface_scrollable_paging_get_delegate(paging_get); } if (methods.FirstOrDefault(m => m.Name == "GetPaging") != null) { descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "elm_interface_scrollable_paging_get"), func = Marshal.GetFunctionPointerForDelegate(elm_interface_scrollable_paging_get_static_delegate) }); } if (elm_interface_scrollable_paging_set_static_delegate == null) { elm_interface_scrollable_paging_set_static_delegate = new elm_interface_scrollable_paging_set_delegate(paging_set); } if (methods.FirstOrDefault(m => m.Name == "SetPaging") != null) { descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "elm_interface_scrollable_paging_set"), func = Marshal.GetFunctionPointerForDelegate(elm_interface_scrollable_paging_set_static_delegate) }); } if (elm_interface_scrollable_single_direction_get_static_delegate == null) { elm_interface_scrollable_single_direction_get_static_delegate = new elm_interface_scrollable_single_direction_get_delegate(single_direction_get); } if (methods.FirstOrDefault(m => m.Name == "GetSingleDirection") != null) { descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "elm_interface_scrollable_single_direction_get"), func = Marshal.GetFunctionPointerForDelegate(elm_interface_scrollable_single_direction_get_static_delegate) }); } if (elm_interface_scrollable_single_direction_set_static_delegate == null) { elm_interface_scrollable_single_direction_set_static_delegate = new elm_interface_scrollable_single_direction_set_delegate(single_direction_set); } if (methods.FirstOrDefault(m => m.Name == "SetSingleDirection") != null) { descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "elm_interface_scrollable_single_direction_set"), func = Marshal.GetFunctionPointerForDelegate(elm_interface_scrollable_single_direction_set_static_delegate) }); } if (elm_interface_scrollable_step_size_get_static_delegate == null) { elm_interface_scrollable_step_size_get_static_delegate = new elm_interface_scrollable_step_size_get_delegate(step_size_get); } if (methods.FirstOrDefault(m => m.Name == "GetStepSize") != null) { descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "elm_interface_scrollable_step_size_get"), func = Marshal.GetFunctionPointerForDelegate(elm_interface_scrollable_step_size_get_static_delegate) }); } if (elm_interface_scrollable_step_size_set_static_delegate == null) { elm_interface_scrollable_step_size_set_static_delegate = new elm_interface_scrollable_step_size_set_delegate(step_size_set); } if (methods.FirstOrDefault(m => m.Name == "SetStepSize") != null) { descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "elm_interface_scrollable_step_size_set"), func = Marshal.GetFunctionPointerForDelegate(elm_interface_scrollable_step_size_set_static_delegate) }); } if (elm_interface_scrollable_content_loop_get_static_delegate == null) { elm_interface_scrollable_content_loop_get_static_delegate = new elm_interface_scrollable_content_loop_get_delegate(content_loop_get); } if (methods.FirstOrDefault(m => m.Name == "GetContentLoop") != null) { descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "elm_interface_scrollable_content_loop_get"), func = Marshal.GetFunctionPointerForDelegate(elm_interface_scrollable_content_loop_get_static_delegate) }); } if (elm_interface_scrollable_content_loop_set_static_delegate == null) { elm_interface_scrollable_content_loop_set_static_delegate = new elm_interface_scrollable_content_loop_set_delegate(content_loop_set); } if (methods.FirstOrDefault(m => m.Name == "SetContentLoop") != null) { descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "elm_interface_scrollable_content_loop_set"), func = Marshal.GetFunctionPointerForDelegate(elm_interface_scrollable_content_loop_set_static_delegate) }); } if (elm_interface_scrollable_scroll_up_cb_set_static_delegate == null) { elm_interface_scrollable_scroll_up_cb_set_static_delegate = new elm_interface_scrollable_scroll_up_cb_set_delegate(scroll_up_cb_set); } if (methods.FirstOrDefault(m => m.Name == "SetScrollUpCb") != null) { descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "elm_interface_scrollable_scroll_up_cb_set"), func = Marshal.GetFunctionPointerForDelegate(elm_interface_scrollable_scroll_up_cb_set_static_delegate) }); } if (elm_interface_scrollable_hbar_drag_cb_set_static_delegate == null) { elm_interface_scrollable_hbar_drag_cb_set_static_delegate = new elm_interface_scrollable_hbar_drag_cb_set_delegate(hbar_drag_cb_set); } if (methods.FirstOrDefault(m => m.Name == "SetHbarDragCb") != null) { descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "elm_interface_scrollable_hbar_drag_cb_set"), func = Marshal.GetFunctionPointerForDelegate(elm_interface_scrollable_hbar_drag_cb_set_static_delegate) }); } if (elm_interface_scrollable_drag_start_cb_set_static_delegate == null) { elm_interface_scrollable_drag_start_cb_set_static_delegate = new elm_interface_scrollable_drag_start_cb_set_delegate(drag_start_cb_set); } if (methods.FirstOrDefault(m => m.Name == "SetDragStartCb") != null) { descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "elm_interface_scrollable_drag_start_cb_set"), func = Marshal.GetFunctionPointerForDelegate(elm_interface_scrollable_drag_start_cb_set_static_delegate) }); } if (elm_interface_scrollable_scroll_start_cb_set_static_delegate == null) { elm_interface_scrollable_scroll_start_cb_set_static_delegate = new elm_interface_scrollable_scroll_start_cb_set_delegate(scroll_start_cb_set); } if (methods.FirstOrDefault(m => m.Name == "SetScrollStartCb") != null) { descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "elm_interface_scrollable_scroll_start_cb_set"), func = Marshal.GetFunctionPointerForDelegate(elm_interface_scrollable_scroll_start_cb_set_static_delegate) }); } if (elm_interface_scrollable_freeze_set_static_delegate == null) { elm_interface_scrollable_freeze_set_static_delegate = new elm_interface_scrollable_freeze_set_delegate(freeze_set); } if (methods.FirstOrDefault(m => m.Name == "SetFreeze") != null) { descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "elm_interface_scrollable_freeze_set"), func = Marshal.GetFunctionPointerForDelegate(elm_interface_scrollable_freeze_set_static_delegate) }); } if (elm_interface_scrollable_content_viewport_resize_cb_set_static_delegate == null) { elm_interface_scrollable_content_viewport_resize_cb_set_static_delegate = new elm_interface_scrollable_content_viewport_resize_cb_set_delegate(content_viewport_resize_cb_set); } if (methods.FirstOrDefault(m => m.Name == "SetContentViewportResizeCb") != null) { descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "elm_interface_scrollable_content_viewport_resize_cb_set"), func = Marshal.GetFunctionPointerForDelegate(elm_interface_scrollable_content_viewport_resize_cb_set_static_delegate) }); } if (elm_interface_scrollable_scroll_left_cb_set_static_delegate == null) { elm_interface_scrollable_scroll_left_cb_set_static_delegate = new elm_interface_scrollable_scroll_left_cb_set_delegate(scroll_left_cb_set); } if (methods.FirstOrDefault(m => m.Name == "SetScrollLeftCb") != null) { descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "elm_interface_scrollable_scroll_left_cb_set"), func = Marshal.GetFunctionPointerForDelegate(elm_interface_scrollable_scroll_left_cb_set_static_delegate) }); } if (elm_interface_scrollable_vbar_press_cb_set_static_delegate == null) { elm_interface_scrollable_vbar_press_cb_set_static_delegate = new elm_interface_scrollable_vbar_press_cb_set_delegate(vbar_press_cb_set); } if (methods.FirstOrDefault(m => m.Name == "SetVbarPressCb") != null) { descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "elm_interface_scrollable_vbar_press_cb_set"), func = Marshal.GetFunctionPointerForDelegate(elm_interface_scrollable_vbar_press_cb_set_static_delegate) }); } if (elm_interface_scrollable_hbar_press_cb_set_static_delegate == null) { elm_interface_scrollable_hbar_press_cb_set_static_delegate = new elm_interface_scrollable_hbar_press_cb_set_delegate(hbar_press_cb_set); } if (methods.FirstOrDefault(m => m.Name == "SetHbarPressCb") != null) { descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "elm_interface_scrollable_hbar_press_cb_set"), func = Marshal.GetFunctionPointerForDelegate(elm_interface_scrollable_hbar_press_cb_set_static_delegate) }); } if (elm_interface_scrollable_hbar_unpress_cb_set_static_delegate == null) { elm_interface_scrollable_hbar_unpress_cb_set_static_delegate = new elm_interface_scrollable_hbar_unpress_cb_set_delegate(hbar_unpress_cb_set); } if (methods.FirstOrDefault(m => m.Name == "SetHbarUnpressCb") != null) { descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "elm_interface_scrollable_hbar_unpress_cb_set"), func = Marshal.GetFunctionPointerForDelegate(elm_interface_scrollable_hbar_unpress_cb_set_static_delegate) }); } if (elm_interface_scrollable_drag_stop_cb_set_static_delegate == null) { elm_interface_scrollable_drag_stop_cb_set_static_delegate = new elm_interface_scrollable_drag_stop_cb_set_delegate(drag_stop_cb_set); } if (methods.FirstOrDefault(m => m.Name == "SetDragStopCb") != null) { descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "elm_interface_scrollable_drag_stop_cb_set"), func = Marshal.GetFunctionPointerForDelegate(elm_interface_scrollable_drag_stop_cb_set_static_delegate) }); } if (elm_interface_scrollable_scroll_stop_cb_set_static_delegate == null) { elm_interface_scrollable_scroll_stop_cb_set_static_delegate = new elm_interface_scrollable_scroll_stop_cb_set_delegate(scroll_stop_cb_set); } if (methods.FirstOrDefault(m => m.Name == "SetScrollStopCb") != null) { descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "elm_interface_scrollable_scroll_stop_cb_set"), func = Marshal.GetFunctionPointerForDelegate(elm_interface_scrollable_scroll_stop_cb_set_static_delegate) }); } if (elm_interface_scrollable_extern_pan_set_static_delegate == null) { elm_interface_scrollable_extern_pan_set_static_delegate = new elm_interface_scrollable_extern_pan_set_delegate(extern_pan_set); } if (methods.FirstOrDefault(m => m.Name == "SetExternPan") != null) { descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "elm_interface_scrollable_extern_pan_set"), func = Marshal.GetFunctionPointerForDelegate(elm_interface_scrollable_extern_pan_set_static_delegate) }); } if (elm_interface_scrollable_page_change_cb_set_static_delegate == null) { elm_interface_scrollable_page_change_cb_set_static_delegate = new elm_interface_scrollable_page_change_cb_set_delegate(page_change_cb_set); } if (methods.FirstOrDefault(m => m.Name == "SetPageChangeCb") != null) { descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "elm_interface_scrollable_page_change_cb_set"), func = Marshal.GetFunctionPointerForDelegate(elm_interface_scrollable_page_change_cb_set_static_delegate) }); } if (elm_interface_scrollable_hold_set_static_delegate == null) { elm_interface_scrollable_hold_set_static_delegate = new elm_interface_scrollable_hold_set_delegate(hold_set); } if (methods.FirstOrDefault(m => m.Name == "SetHold") != null) { descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "elm_interface_scrollable_hold_set"), func = Marshal.GetFunctionPointerForDelegate(elm_interface_scrollable_hold_set_static_delegate) }); } if (elm_interface_scrollable_animate_start_cb_set_static_delegate == null) { elm_interface_scrollable_animate_start_cb_set_static_delegate = new elm_interface_scrollable_animate_start_cb_set_delegate(animate_start_cb_set); } if (methods.FirstOrDefault(m => m.Name == "SetAnimateStartCb") != null) { descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "elm_interface_scrollable_animate_start_cb_set"), func = Marshal.GetFunctionPointerForDelegate(elm_interface_scrollable_animate_start_cb_set_static_delegate) }); } if (elm_interface_scrollable_scroll_down_cb_set_static_delegate == null) { elm_interface_scrollable_scroll_down_cb_set_static_delegate = new elm_interface_scrollable_scroll_down_cb_set_delegate(scroll_down_cb_set); } if (methods.FirstOrDefault(m => m.Name == "SetScrollDownCb") != null) { descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "elm_interface_scrollable_scroll_down_cb_set"), func = Marshal.GetFunctionPointerForDelegate(elm_interface_scrollable_scroll_down_cb_set_static_delegate) }); } if (elm_interface_scrollable_page_relative_set_static_delegate == null) { elm_interface_scrollable_page_relative_set_static_delegate = new elm_interface_scrollable_page_relative_set_delegate(page_relative_set); } if (methods.FirstOrDefault(m => m.Name == "SetPageRelative") != null) { descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "elm_interface_scrollable_page_relative_set"), func = Marshal.GetFunctionPointerForDelegate(elm_interface_scrollable_page_relative_set_static_delegate) }); } if (elm_interface_scrollable_scroll_cb_set_static_delegate == null) { elm_interface_scrollable_scroll_cb_set_static_delegate = new elm_interface_scrollable_scroll_cb_set_delegate(scroll_cb_set); } if (methods.FirstOrDefault(m => m.Name == "SetScrollCb") != null) { descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "elm_interface_scrollable_scroll_cb_set"), func = Marshal.GetFunctionPointerForDelegate(elm_interface_scrollable_scroll_cb_set_static_delegate) }); } if (elm_interface_scrollable_animate_stop_cb_set_static_delegate == null) { elm_interface_scrollable_animate_stop_cb_set_static_delegate = new elm_interface_scrollable_animate_stop_cb_set_delegate(animate_stop_cb_set); } if (methods.FirstOrDefault(m => m.Name == "SetAnimateStopCb") != null) { descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "elm_interface_scrollable_animate_stop_cb_set"), func = Marshal.GetFunctionPointerForDelegate(elm_interface_scrollable_animate_stop_cb_set_static_delegate) }); } if (elm_interface_scrollable_content_min_limit_cb_set_static_delegate == null) { elm_interface_scrollable_content_min_limit_cb_set_static_delegate = new elm_interface_scrollable_content_min_limit_cb_set_delegate(content_min_limit_cb_set); } if (methods.FirstOrDefault(m => m.Name == "SetContentMinLimitCb") != null) { descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "elm_interface_scrollable_content_min_limit_cb_set"), func = Marshal.GetFunctionPointerForDelegate(elm_interface_scrollable_content_min_limit_cb_set_static_delegate) }); } if (elm_interface_scrollable_scroll_right_cb_set_static_delegate == null) { elm_interface_scrollable_scroll_right_cb_set_static_delegate = new elm_interface_scrollable_scroll_right_cb_set_delegate(scroll_right_cb_set); } if (methods.FirstOrDefault(m => m.Name == "SetScrollRightCb") != null) { descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "elm_interface_scrollable_scroll_right_cb_set"), func = Marshal.GetFunctionPointerForDelegate(elm_interface_scrollable_scroll_right_cb_set_static_delegate) }); } if (elm_interface_scrollable_content_set_static_delegate == null) { elm_interface_scrollable_content_set_static_delegate = new elm_interface_scrollable_content_set_delegate(scrollable_content_set); } if (methods.FirstOrDefault(m => m.Name == "SetScrollableContent") != null) { descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "elm_interface_scrollable_content_set"), func = Marshal.GetFunctionPointerForDelegate(elm_interface_scrollable_content_set_static_delegate) }); } if (elm_interface_scrollable_edge_left_cb_set_static_delegate == null) { elm_interface_scrollable_edge_left_cb_set_static_delegate = new elm_interface_scrollable_edge_left_cb_set_delegate(edge_left_cb_set); } if (methods.FirstOrDefault(m => m.Name == "SetEdgeLeftCb") != null) { descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "elm_interface_scrollable_edge_left_cb_set"), func = Marshal.GetFunctionPointerForDelegate(elm_interface_scrollable_edge_left_cb_set_static_delegate) }); } if (elm_interface_scrollable_vbar_drag_cb_set_static_delegate == null) { elm_interface_scrollable_vbar_drag_cb_set_static_delegate = new elm_interface_scrollable_vbar_drag_cb_set_delegate(vbar_drag_cb_set); } if (methods.FirstOrDefault(m => m.Name == "SetVbarDragCb") != null) { descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "elm_interface_scrollable_vbar_drag_cb_set"), func = Marshal.GetFunctionPointerForDelegate(elm_interface_scrollable_vbar_drag_cb_set_static_delegate) }); } if (elm_interface_scrollable_vbar_unpress_cb_set_static_delegate == null) { elm_interface_scrollable_vbar_unpress_cb_set_static_delegate = new elm_interface_scrollable_vbar_unpress_cb_set_delegate(vbar_unpress_cb_set); } if (methods.FirstOrDefault(m => m.Name == "SetVbarUnpressCb") != null) { descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "elm_interface_scrollable_vbar_unpress_cb_set"), func = Marshal.GetFunctionPointerForDelegate(elm_interface_scrollable_vbar_unpress_cb_set_static_delegate) }); } if (elm_interface_scrollable_edge_bottom_cb_set_static_delegate == null) { elm_interface_scrollable_edge_bottom_cb_set_static_delegate = new elm_interface_scrollable_edge_bottom_cb_set_delegate(edge_bottom_cb_set); } if (methods.FirstOrDefault(m => m.Name == "SetEdgeBottomCb") != null) { descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "elm_interface_scrollable_edge_bottom_cb_set"), func = Marshal.GetFunctionPointerForDelegate(elm_interface_scrollable_edge_bottom_cb_set_static_delegate) }); } if (elm_interface_scrollable_edge_right_cb_set_static_delegate == null) { elm_interface_scrollable_edge_right_cb_set_static_delegate = new elm_interface_scrollable_edge_right_cb_set_delegate(edge_right_cb_set); } if (methods.FirstOrDefault(m => m.Name == "SetEdgeRightCb") != null) { descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "elm_interface_scrollable_edge_right_cb_set"), func = Marshal.GetFunctionPointerForDelegate(elm_interface_scrollable_edge_right_cb_set_static_delegate) }); } if (elm_interface_scrollable_edge_top_cb_set_static_delegate == null) { elm_interface_scrollable_edge_top_cb_set_static_delegate = new elm_interface_scrollable_edge_top_cb_set_delegate(edge_top_cb_set); } if (methods.FirstOrDefault(m => m.Name == "SetEdgeTopCb") != null) { descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "elm_interface_scrollable_edge_top_cb_set"), func = Marshal.GetFunctionPointerForDelegate(elm_interface_scrollable_edge_top_cb_set_static_delegate) }); } if (elm_interface_scrollable_objects_set_static_delegate == null) { elm_interface_scrollable_objects_set_static_delegate = new elm_interface_scrollable_objects_set_delegate(objects_set); } if (methods.FirstOrDefault(m => m.Name == "SetObjects") != null) { descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "elm_interface_scrollable_objects_set"), func = Marshal.GetFunctionPointerForDelegate(elm_interface_scrollable_objects_set_static_delegate) }); } if (elm_interface_scrollable_last_page_get_static_delegate == null) { elm_interface_scrollable_last_page_get_static_delegate = new elm_interface_scrollable_last_page_get_delegate(last_page_get); } if (methods.FirstOrDefault(m => m.Name == "GetLastPage") != null) { descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "elm_interface_scrollable_last_page_get"), func = Marshal.GetFunctionPointerForDelegate(elm_interface_scrollable_last_page_get_static_delegate) }); } if (elm_interface_scrollable_current_page_get_static_delegate == null) { elm_interface_scrollable_current_page_get_static_delegate = new elm_interface_scrollable_current_page_get_delegate(current_page_get); } if (methods.FirstOrDefault(m => m.Name == "GetCurrentPage") != null) { descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "elm_interface_scrollable_current_page_get"), func = Marshal.GetFunctionPointerForDelegate(elm_interface_scrollable_current_page_get_static_delegate) }); } if (elm_interface_scrollable_content_viewport_geometry_get_static_delegate == null) { elm_interface_scrollable_content_viewport_geometry_get_static_delegate = new elm_interface_scrollable_content_viewport_geometry_get_delegate(content_viewport_geometry_get); } if (methods.FirstOrDefault(m => m.Name == "GetContentViewportGeometry") != null) { descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "elm_interface_scrollable_content_viewport_geometry_get"), func = Marshal.GetFunctionPointerForDelegate(elm_interface_scrollable_content_viewport_geometry_get_static_delegate) }); } if (elm_interface_scrollable_content_size_get_static_delegate == null) { elm_interface_scrollable_content_size_get_static_delegate = new elm_interface_scrollable_content_size_get_delegate(content_size_get); } if (methods.FirstOrDefault(m => m.Name == "GetContentSize") != null) { descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "elm_interface_scrollable_content_size_get"), func = Marshal.GetFunctionPointerForDelegate(elm_interface_scrollable_content_size_get_static_delegate) }); } if (elm_interface_scrollable_item_loop_enabled_get_static_delegate == null) { elm_interface_scrollable_item_loop_enabled_get_static_delegate = new elm_interface_scrollable_item_loop_enabled_get_delegate(item_loop_enabled_get); } if (methods.FirstOrDefault(m => m.Name == "GetItemLoopEnabled") != null) { descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "elm_interface_scrollable_item_loop_enabled_get"), func = Marshal.GetFunctionPointerForDelegate(elm_interface_scrollable_item_loop_enabled_get_static_delegate) }); } if (elm_interface_scrollable_item_loop_enabled_set_static_delegate == null) { elm_interface_scrollable_item_loop_enabled_set_static_delegate = new elm_interface_scrollable_item_loop_enabled_set_delegate(item_loop_enabled_set); } if (methods.FirstOrDefault(m => m.Name == "SetItemLoopEnabled") != null) { descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "elm_interface_scrollable_item_loop_enabled_set"), func = Marshal.GetFunctionPointerForDelegate(elm_interface_scrollable_item_loop_enabled_set_static_delegate) }); } if (elm_interface_scrollable_content_pos_set_static_delegate == null) { elm_interface_scrollable_content_pos_set_static_delegate = new elm_interface_scrollable_content_pos_set_delegate(content_pos_set); } if (methods.FirstOrDefault(m => m.Name == "SetContentPos") != null) { descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "elm_interface_scrollable_content_pos_set"), func = Marshal.GetFunctionPointerForDelegate(elm_interface_scrollable_content_pos_set_static_delegate) }); } if (elm_interface_scrollable_content_pos_get_static_delegate == null) { elm_interface_scrollable_content_pos_get_static_delegate = new elm_interface_scrollable_content_pos_get_delegate(content_pos_get); } if (methods.FirstOrDefault(m => m.Name == "GetContentPos") != null) { descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "elm_interface_scrollable_content_pos_get"), func = Marshal.GetFunctionPointerForDelegate(elm_interface_scrollable_content_pos_get_static_delegate) }); } if (elm_interface_scrollable_page_show_static_delegate == null) { elm_interface_scrollable_page_show_static_delegate = new elm_interface_scrollable_page_show_delegate(page_show); } if (methods.FirstOrDefault(m => m.Name == "ShowPage") != null) { descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "elm_interface_scrollable_page_show"), func = Marshal.GetFunctionPointerForDelegate(elm_interface_scrollable_page_show_static_delegate) }); } if (elm_interface_scrollable_region_bring_in_static_delegate == null) { elm_interface_scrollable_region_bring_in_static_delegate = new elm_interface_scrollable_region_bring_in_delegate(region_bring_in); } if (methods.FirstOrDefault(m => m.Name == "RegionBringIn") != null) { descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "elm_interface_scrollable_region_bring_in"), func = Marshal.GetFunctionPointerForDelegate(elm_interface_scrollable_region_bring_in_static_delegate) }); } if (elm_interface_scrollable_page_bring_in_static_delegate == null) { elm_interface_scrollable_page_bring_in_static_delegate = new elm_interface_scrollable_page_bring_in_delegate(page_bring_in); } if (methods.FirstOrDefault(m => m.Name == "PageBringIn") != null) { descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "elm_interface_scrollable_page_bring_in"), func = Marshal.GetFunctionPointerForDelegate(elm_interface_scrollable_page_bring_in_static_delegate) }); } if (elm_interface_scrollable_content_region_show_static_delegate == null) { elm_interface_scrollable_content_region_show_static_delegate = new elm_interface_scrollable_content_region_show_delegate(content_region_show); } if (methods.FirstOrDefault(m => m.Name == "ShowContentRegion") != null) { descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "elm_interface_scrollable_content_region_show"), func = Marshal.GetFunctionPointerForDelegate(elm_interface_scrollable_content_region_show_static_delegate) }); } if (elm_interface_scrollable_content_min_limit_static_delegate == null) { elm_interface_scrollable_content_min_limit_static_delegate = new elm_interface_scrollable_content_min_limit_delegate(content_min_limit); } if (methods.FirstOrDefault(m => m.Name == "ContentMinLimit") != null) { descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "elm_interface_scrollable_content_min_limit"), func = Marshal.GetFunctionPointerForDelegate(elm_interface_scrollable_content_min_limit_static_delegate) }); } if (elm_interface_scrollable_wanted_region_set_static_delegate == null) { elm_interface_scrollable_wanted_region_set_static_delegate = new elm_interface_scrollable_wanted_region_set_delegate(wanted_region_set); } if (methods.FirstOrDefault(m => m.Name == "SetWantedRegion") != null) { descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "elm_interface_scrollable_wanted_region_set"), func = Marshal.GetFunctionPointerForDelegate(elm_interface_scrollable_wanted_region_set_static_delegate) }); } if (elm_interface_scrollable_custom_pan_pos_adjust_static_delegate == null) { elm_interface_scrollable_custom_pan_pos_adjust_static_delegate = new elm_interface_scrollable_custom_pan_pos_adjust_delegate(custom_pan_pos_adjust); } if (methods.FirstOrDefault(m => m.Name == "CustomPanPosAdjust") != null) { descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "elm_interface_scrollable_custom_pan_pos_adjust"), func = Marshal.GetFunctionPointerForDelegate(elm_interface_scrollable_custom_pan_pos_adjust_static_delegate) }); } if (efl_ui_widget_focus_manager_create_static_delegate == null) { efl_ui_widget_focus_manager_create_static_delegate = new efl_ui_widget_focus_manager_create_delegate(focus_manager_create); } if (methods.FirstOrDefault(m => m.Name == "FocusManagerCreate") != null) { descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_widget_focus_manager_create"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_widget_focus_manager_create_static_delegate) }); } if (efl_ui_focus_manager_focus_get_static_delegate == null) { efl_ui_focus_manager_focus_get_static_delegate = new efl_ui_focus_manager_focus_get_delegate(manager_focus_get); } if (methods.FirstOrDefault(m => m.Name == "GetManagerFocus") != null) { descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_focus_manager_focus_get"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_focus_manager_focus_get_static_delegate) }); } if (efl_ui_focus_manager_focus_set_static_delegate == null) { efl_ui_focus_manager_focus_set_static_delegate = new efl_ui_focus_manager_focus_set_delegate(manager_focus_set); } if (methods.FirstOrDefault(m => m.Name == "SetManagerFocus") != null) { descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_focus_manager_focus_set"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_focus_manager_focus_set_static_delegate) }); } if (efl_ui_focus_manager_redirect_get_static_delegate == null) { efl_ui_focus_manager_redirect_get_static_delegate = new efl_ui_focus_manager_redirect_get_delegate(redirect_get); } if (methods.FirstOrDefault(m => m.Name == "GetRedirect") != null) { descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_focus_manager_redirect_get"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_focus_manager_redirect_get_static_delegate) }); } if (efl_ui_focus_manager_redirect_set_static_delegate == null) { efl_ui_focus_manager_redirect_set_static_delegate = new efl_ui_focus_manager_redirect_set_delegate(redirect_set); } if (methods.FirstOrDefault(m => m.Name == "SetRedirect") != null) { descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_focus_manager_redirect_set"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_focus_manager_redirect_set_static_delegate) }); } if (efl_ui_focus_manager_border_elements_get_static_delegate == null) { efl_ui_focus_manager_border_elements_get_static_delegate = new efl_ui_focus_manager_border_elements_get_delegate(border_elements_get); } if (methods.FirstOrDefault(m => m.Name == "GetBorderElements") != null) { descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_focus_manager_border_elements_get"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_focus_manager_border_elements_get_static_delegate) }); } if (efl_ui_focus_manager_viewport_elements_get_static_delegate == null) { efl_ui_focus_manager_viewport_elements_get_static_delegate = new efl_ui_focus_manager_viewport_elements_get_delegate(viewport_elements_get); } if (methods.FirstOrDefault(m => m.Name == "GetViewportElements") != null) { descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_focus_manager_viewport_elements_get"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_focus_manager_viewport_elements_get_static_delegate) }); } if (efl_ui_focus_manager_root_get_static_delegate == null) { efl_ui_focus_manager_root_get_static_delegate = new efl_ui_focus_manager_root_get_delegate(root_get); } if (methods.FirstOrDefault(m => m.Name == "GetRoot") != null) { descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_focus_manager_root_get"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_focus_manager_root_get_static_delegate) }); } if (efl_ui_focus_manager_root_set_static_delegate == null) { efl_ui_focus_manager_root_set_static_delegate = new efl_ui_focus_manager_root_set_delegate(root_set); } if (methods.FirstOrDefault(m => m.Name == "SetRoot") != null) { descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_focus_manager_root_set"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_focus_manager_root_set_static_delegate) }); } if (efl_ui_focus_manager_move_static_delegate == null) { efl_ui_focus_manager_move_static_delegate = new efl_ui_focus_manager_move_delegate(move); } if (methods.FirstOrDefault(m => m.Name == "Move") != null) { descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_focus_manager_move"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_focus_manager_move_static_delegate) }); } if (efl_ui_focus_manager_request_move_static_delegate == null) { efl_ui_focus_manager_request_move_static_delegate = new efl_ui_focus_manager_request_move_delegate(request_move); } if (methods.FirstOrDefault(m => m.Name == "MoveRequest") != null) { descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_focus_manager_request_move"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_focus_manager_request_move_static_delegate) }); } if (efl_ui_focus_manager_request_subchild_static_delegate == null) { efl_ui_focus_manager_request_subchild_static_delegate = new efl_ui_focus_manager_request_subchild_delegate(request_subchild); } if (methods.FirstOrDefault(m => m.Name == "RequestSubchild") != null) { descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_focus_manager_request_subchild"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_focus_manager_request_subchild_static_delegate) }); } if (efl_ui_focus_manager_fetch_static_delegate == null) { efl_ui_focus_manager_fetch_static_delegate = new efl_ui_focus_manager_fetch_delegate(fetch); } if (methods.FirstOrDefault(m => m.Name == "Fetch") != null) { descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_focus_manager_fetch"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_focus_manager_fetch_static_delegate) }); } if (efl_ui_focus_manager_logical_end_static_delegate == null) { efl_ui_focus_manager_logical_end_static_delegate = new efl_ui_focus_manager_logical_end_delegate(logical_end); } if (methods.FirstOrDefault(m => m.Name == "LogicalEnd") != null) { descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_focus_manager_logical_end"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_focus_manager_logical_end_static_delegate) }); } if (efl_ui_focus_manager_reset_history_static_delegate == null) { efl_ui_focus_manager_reset_history_static_delegate = new efl_ui_focus_manager_reset_history_delegate(reset_history); } if (methods.FirstOrDefault(m => m.Name == "ResetHistory") != null) { descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_focus_manager_reset_history"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_focus_manager_reset_history_static_delegate) }); } if (efl_ui_focus_manager_pop_history_stack_static_delegate == null) { efl_ui_focus_manager_pop_history_stack_static_delegate = new efl_ui_focus_manager_pop_history_stack_delegate(pop_history_stack); } if (methods.FirstOrDefault(m => m.Name == "PopHistoryStack") != null) { descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_focus_manager_pop_history_stack"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_focus_manager_pop_history_stack_static_delegate) }); } if (efl_ui_focus_manager_setup_on_first_touch_static_delegate == null) { efl_ui_focus_manager_setup_on_first_touch_static_delegate = new efl_ui_focus_manager_setup_on_first_touch_delegate(setup_on_first_touch); } if (methods.FirstOrDefault(m => m.Name == "SetupOnFirstTouch") != null) { descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_focus_manager_setup_on_first_touch"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_focus_manager_setup_on_first_touch_static_delegate) }); } if (efl_ui_focus_manager_dirty_logic_freeze_static_delegate == null) { efl_ui_focus_manager_dirty_logic_freeze_static_delegate = new efl_ui_focus_manager_dirty_logic_freeze_delegate(dirty_logic_freeze); } if (methods.FirstOrDefault(m => m.Name == "FreezeDirtyLogic") != null) { descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_focus_manager_dirty_logic_freeze"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_focus_manager_dirty_logic_freeze_static_delegate) }); } if (efl_ui_focus_manager_dirty_logic_unfreeze_static_delegate == null) { efl_ui_focus_manager_dirty_logic_unfreeze_static_delegate = new efl_ui_focus_manager_dirty_logic_unfreeze_delegate(dirty_logic_unfreeze); } if (methods.FirstOrDefault(m => m.Name == "DirtyLogicUnfreeze") != null) { descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_focus_manager_dirty_logic_unfreeze"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_focus_manager_dirty_logic_unfreeze_static_delegate) }); } return descs; } /// Returns the Eo class for the native methods of this class. /// The native class pointer. public override IntPtr GetEflClass() { return Elm.IInterfaceScrollableConcrete.elm_interface_scrollable_mixin_get(); } #pragma warning disable CA1707, CS1591, SA1300, SA1600 private delegate void elm_interface_scrollable_gravity_get_delegate(System.IntPtr obj, System.IntPtr pd, out double x, out double y); public delegate void elm_interface_scrollable_gravity_get_api_delegate(System.IntPtr obj, out double x, out double y); public static Efl.Eo.FunctionWrapper elm_interface_scrollable_gravity_get_ptr = new Efl.Eo.FunctionWrapper(Module, "elm_interface_scrollable_gravity_get"); private static void gravity_get(System.IntPtr obj, System.IntPtr pd, out double x, out double y) { Eina.Log.Debug("function elm_interface_scrollable_gravity_get was called"); var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj); if (ws != null) { x = default(double); y = default(double); try { ((IInterfaceScrollable)ws.Target).GetGravity(out x, out y); } catch (Exception e) { Eina.Log.Warning($"Callback error: {e.ToString()}"); Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); } } else { elm_interface_scrollable_gravity_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), out x, out y); } } private static elm_interface_scrollable_gravity_get_delegate elm_interface_scrollable_gravity_get_static_delegate; private delegate void elm_interface_scrollable_gravity_set_delegate(System.IntPtr obj, System.IntPtr pd, double x, double y); public delegate void elm_interface_scrollable_gravity_set_api_delegate(System.IntPtr obj, double x, double y); public static Efl.Eo.FunctionWrapper elm_interface_scrollable_gravity_set_ptr = new Efl.Eo.FunctionWrapper(Module, "elm_interface_scrollable_gravity_set"); private static void gravity_set(System.IntPtr obj, System.IntPtr pd, double x, double y) { Eina.Log.Debug("function elm_interface_scrollable_gravity_set was called"); var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj); if (ws != null) { try { ((IInterfaceScrollable)ws.Target).SetGravity(x, y); } catch (Exception e) { Eina.Log.Warning($"Callback error: {e.ToString()}"); Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); } } else { elm_interface_scrollable_gravity_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), x, y); } } private static elm_interface_scrollable_gravity_set_delegate elm_interface_scrollable_gravity_set_static_delegate; private delegate void elm_interface_scrollable_bounce_allow_get_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.U1)] out bool horiz, [MarshalAs(UnmanagedType.U1)] out bool vert); public delegate void elm_interface_scrollable_bounce_allow_get_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.U1)] out bool horiz, [MarshalAs(UnmanagedType.U1)] out bool vert); public static Efl.Eo.FunctionWrapper elm_interface_scrollable_bounce_allow_get_ptr = new Efl.Eo.FunctionWrapper(Module, "elm_interface_scrollable_bounce_allow_get"); private static void bounce_allow_get(System.IntPtr obj, System.IntPtr pd, out bool horiz, out bool vert) { Eina.Log.Debug("function elm_interface_scrollable_bounce_allow_get was called"); var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj); if (ws != null) { horiz = default(bool); vert = default(bool); try { ((IInterfaceScrollable)ws.Target).GetBounceAllow(out horiz, out vert); } catch (Exception e) { Eina.Log.Warning($"Callback error: {e.ToString()}"); Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); } } else { elm_interface_scrollable_bounce_allow_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), out horiz, out vert); } } private static elm_interface_scrollable_bounce_allow_get_delegate elm_interface_scrollable_bounce_allow_get_static_delegate; private delegate void elm_interface_scrollable_bounce_allow_set_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.U1)] bool horiz, [MarshalAs(UnmanagedType.U1)] bool vert); public delegate void elm_interface_scrollable_bounce_allow_set_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.U1)] bool horiz, [MarshalAs(UnmanagedType.U1)] bool vert); public static Efl.Eo.FunctionWrapper elm_interface_scrollable_bounce_allow_set_ptr = new Efl.Eo.FunctionWrapper(Module, "elm_interface_scrollable_bounce_allow_set"); private static void bounce_allow_set(System.IntPtr obj, System.IntPtr pd, bool horiz, bool vert) { Eina.Log.Debug("function elm_interface_scrollable_bounce_allow_set was called"); var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj); if (ws != null) { try { ((IInterfaceScrollable)ws.Target).SetBounceAllow(horiz, vert); } catch (Exception e) { Eina.Log.Warning($"Callback error: {e.ToString()}"); Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); } } else { elm_interface_scrollable_bounce_allow_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), horiz, vert); } } private static elm_interface_scrollable_bounce_allow_set_delegate elm_interface_scrollable_bounce_allow_set_static_delegate; [return: MarshalAs(UnmanagedType.U1)] private delegate bool elm_interface_scrollable_wheel_disabled_get_delegate(System.IntPtr obj, System.IntPtr pd); [return: MarshalAs(UnmanagedType.U1)] public delegate bool elm_interface_scrollable_wheel_disabled_get_api_delegate(System.IntPtr obj); public static Efl.Eo.FunctionWrapper elm_interface_scrollable_wheel_disabled_get_ptr = new Efl.Eo.FunctionWrapper(Module, "elm_interface_scrollable_wheel_disabled_get"); private static bool wheel_disabled_get(System.IntPtr obj, System.IntPtr pd) { Eina.Log.Debug("function elm_interface_scrollable_wheel_disabled_get was called"); var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj); if (ws != null) { bool _ret_var = default(bool); try { _ret_var = ((IInterfaceScrollable)ws.Target).GetWheelDisabled(); } catch (Exception e) { Eina.Log.Warning($"Callback error: {e.ToString()}"); Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); } return _ret_var; } else { return elm_interface_scrollable_wheel_disabled_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj))); } } private static elm_interface_scrollable_wheel_disabled_get_delegate elm_interface_scrollable_wheel_disabled_get_static_delegate; private delegate void elm_interface_scrollable_wheel_disabled_set_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.U1)] bool disabled); public delegate void elm_interface_scrollable_wheel_disabled_set_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.U1)] bool disabled); public static Efl.Eo.FunctionWrapper elm_interface_scrollable_wheel_disabled_set_ptr = new Efl.Eo.FunctionWrapper(Module, "elm_interface_scrollable_wheel_disabled_set"); private static void wheel_disabled_set(System.IntPtr obj, System.IntPtr pd, bool disabled) { Eina.Log.Debug("function elm_interface_scrollable_wheel_disabled_set was called"); var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj); if (ws != null) { try { ((IInterfaceScrollable)ws.Target).SetWheelDisabled(disabled); } catch (Exception e) { Eina.Log.Warning($"Callback error: {e.ToString()}"); Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); } } else { elm_interface_scrollable_wheel_disabled_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), disabled); } } private static elm_interface_scrollable_wheel_disabled_set_delegate elm_interface_scrollable_wheel_disabled_set_static_delegate; private delegate Efl.Ui.ScrollBlock elm_interface_scrollable_movement_block_get_delegate(System.IntPtr obj, System.IntPtr pd); public delegate Efl.Ui.ScrollBlock elm_interface_scrollable_movement_block_get_api_delegate(System.IntPtr obj); public static Efl.Eo.FunctionWrapper elm_interface_scrollable_movement_block_get_ptr = new Efl.Eo.FunctionWrapper(Module, "elm_interface_scrollable_movement_block_get"); private static Efl.Ui.ScrollBlock movement_block_get(System.IntPtr obj, System.IntPtr pd) { Eina.Log.Debug("function elm_interface_scrollable_movement_block_get was called"); var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj); if (ws != null) { Efl.Ui.ScrollBlock _ret_var = default(Efl.Ui.ScrollBlock); try { _ret_var = ((IInterfaceScrollable)ws.Target).GetMovementBlock(); } catch (Exception e) { Eina.Log.Warning($"Callback error: {e.ToString()}"); Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); } return _ret_var; } else { return elm_interface_scrollable_movement_block_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj))); } } private static elm_interface_scrollable_movement_block_get_delegate elm_interface_scrollable_movement_block_get_static_delegate; private delegate void elm_interface_scrollable_movement_block_set_delegate(System.IntPtr obj, System.IntPtr pd, Efl.Ui.ScrollBlock block); public delegate void elm_interface_scrollable_movement_block_set_api_delegate(System.IntPtr obj, Efl.Ui.ScrollBlock block); public static Efl.Eo.FunctionWrapper elm_interface_scrollable_movement_block_set_ptr = new Efl.Eo.FunctionWrapper(Module, "elm_interface_scrollable_movement_block_set"); private static void movement_block_set(System.IntPtr obj, System.IntPtr pd, Efl.Ui.ScrollBlock block) { Eina.Log.Debug("function elm_interface_scrollable_movement_block_set was called"); var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj); if (ws != null) { try { ((IInterfaceScrollable)ws.Target).SetMovementBlock(block); } catch (Exception e) { Eina.Log.Warning($"Callback error: {e.ToString()}"); Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); } } else { elm_interface_scrollable_movement_block_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), block); } } private static elm_interface_scrollable_movement_block_set_delegate elm_interface_scrollable_movement_block_set_static_delegate; [return: MarshalAs(UnmanagedType.U1)] private delegate bool elm_interface_scrollable_momentum_animator_disabled_get_delegate(System.IntPtr obj, System.IntPtr pd); [return: MarshalAs(UnmanagedType.U1)] public delegate bool elm_interface_scrollable_momentum_animator_disabled_get_api_delegate(System.IntPtr obj); public static Efl.Eo.FunctionWrapper elm_interface_scrollable_momentum_animator_disabled_get_ptr = new Efl.Eo.FunctionWrapper(Module, "elm_interface_scrollable_momentum_animator_disabled_get"); private static bool momentum_animator_disabled_get(System.IntPtr obj, System.IntPtr pd) { Eina.Log.Debug("function elm_interface_scrollable_momentum_animator_disabled_get was called"); var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj); if (ws != null) { bool _ret_var = default(bool); try { _ret_var = ((IInterfaceScrollable)ws.Target).GetMomentumAnimatorDisabled(); } catch (Exception e) { Eina.Log.Warning($"Callback error: {e.ToString()}"); Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); } return _ret_var; } else { return elm_interface_scrollable_momentum_animator_disabled_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj))); } } private static elm_interface_scrollable_momentum_animator_disabled_get_delegate elm_interface_scrollable_momentum_animator_disabled_get_static_delegate; private delegate void elm_interface_scrollable_momentum_animator_disabled_set_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.U1)] bool disabled); public delegate void elm_interface_scrollable_momentum_animator_disabled_set_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.U1)] bool disabled); public static Efl.Eo.FunctionWrapper elm_interface_scrollable_momentum_animator_disabled_set_ptr = new Efl.Eo.FunctionWrapper(Module, "elm_interface_scrollable_momentum_animator_disabled_set"); private static void momentum_animator_disabled_set(System.IntPtr obj, System.IntPtr pd, bool disabled) { Eina.Log.Debug("function elm_interface_scrollable_momentum_animator_disabled_set was called"); var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj); if (ws != null) { try { ((IInterfaceScrollable)ws.Target).SetMomentumAnimatorDisabled(disabled); } catch (Exception e) { Eina.Log.Warning($"Callback error: {e.ToString()}"); Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); } } else { elm_interface_scrollable_momentum_animator_disabled_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), disabled); } } private static elm_interface_scrollable_momentum_animator_disabled_set_delegate elm_interface_scrollable_momentum_animator_disabled_set_static_delegate; private delegate void elm_interface_scrollable_policy_get_delegate(System.IntPtr obj, System.IntPtr pd, out Elm.Scroller.Policy hbar, out Elm.Scroller.Policy vbar); public delegate void elm_interface_scrollable_policy_get_api_delegate(System.IntPtr obj, out Elm.Scroller.Policy hbar, out Elm.Scroller.Policy vbar); public static Efl.Eo.FunctionWrapper elm_interface_scrollable_policy_get_ptr = new Efl.Eo.FunctionWrapper(Module, "elm_interface_scrollable_policy_get"); private static void policy_get(System.IntPtr obj, System.IntPtr pd, out Elm.Scroller.Policy hbar, out Elm.Scroller.Policy vbar) { Eina.Log.Debug("function elm_interface_scrollable_policy_get was called"); var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj); if (ws != null) { hbar = default(Elm.Scroller.Policy); vbar = default(Elm.Scroller.Policy); try { ((IInterfaceScrollable)ws.Target).GetPolicy(out hbar, out vbar); } catch (Exception e) { Eina.Log.Warning($"Callback error: {e.ToString()}"); Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); } } else { elm_interface_scrollable_policy_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), out hbar, out vbar); } } private static elm_interface_scrollable_policy_get_delegate elm_interface_scrollable_policy_get_static_delegate; private delegate void elm_interface_scrollable_policy_set_delegate(System.IntPtr obj, System.IntPtr pd, Elm.Scroller.Policy hbar, Elm.Scroller.Policy vbar); public delegate void elm_interface_scrollable_policy_set_api_delegate(System.IntPtr obj, Elm.Scroller.Policy hbar, Elm.Scroller.Policy vbar); public static Efl.Eo.FunctionWrapper elm_interface_scrollable_policy_set_ptr = new Efl.Eo.FunctionWrapper(Module, "elm_interface_scrollable_policy_set"); private static void policy_set(System.IntPtr obj, System.IntPtr pd, Elm.Scroller.Policy hbar, Elm.Scroller.Policy vbar) { Eina.Log.Debug("function elm_interface_scrollable_policy_set was called"); var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj); if (ws != null) { try { ((IInterfaceScrollable)ws.Target).SetPolicy(hbar, vbar); } catch (Exception e) { Eina.Log.Warning($"Callback error: {e.ToString()}"); Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); } } else { elm_interface_scrollable_policy_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), hbar, vbar); } } private static elm_interface_scrollable_policy_set_delegate elm_interface_scrollable_policy_set_static_delegate; private delegate void elm_interface_scrollable_content_region_get_delegate(System.IntPtr obj, System.IntPtr pd, out int x, out int y, out int w, out int h); public delegate void elm_interface_scrollable_content_region_get_api_delegate(System.IntPtr obj, out int x, out int y, out int w, out int h); public static Efl.Eo.FunctionWrapper elm_interface_scrollable_content_region_get_ptr = new Efl.Eo.FunctionWrapper(Module, "elm_interface_scrollable_content_region_get"); private static void content_region_get(System.IntPtr obj, System.IntPtr pd, out int x, out int y, out int w, out int h) { Eina.Log.Debug("function elm_interface_scrollable_content_region_get was called"); var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj); if (ws != null) { x = default(int); y = default(int); w = default(int); h = default(int); try { ((IInterfaceScrollable)ws.Target).GetContentRegion(out x, out y, out w, out h); } catch (Exception e) { Eina.Log.Warning($"Callback error: {e.ToString()}"); Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); } } else { elm_interface_scrollable_content_region_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), out x, out y, out w, out h); } } private static elm_interface_scrollable_content_region_get_delegate elm_interface_scrollable_content_region_get_static_delegate; private delegate void elm_interface_scrollable_content_region_set_delegate(System.IntPtr obj, System.IntPtr pd, int x, int y, int w, int h); public delegate void elm_interface_scrollable_content_region_set_api_delegate(System.IntPtr obj, int x, int y, int w, int h); public static Efl.Eo.FunctionWrapper elm_interface_scrollable_content_region_set_ptr = new Efl.Eo.FunctionWrapper(Module, "elm_interface_scrollable_content_region_set"); private static void content_region_set(System.IntPtr obj, System.IntPtr pd, int x, int y, int w, int h) { Eina.Log.Debug("function elm_interface_scrollable_content_region_set was called"); var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj); if (ws != null) { try { ((IInterfaceScrollable)ws.Target).SetContentRegion(x, y, w, h); } catch (Exception e) { Eina.Log.Warning($"Callback error: {e.ToString()}"); Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); } } else { elm_interface_scrollable_content_region_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), x, y, w, h); } } private static elm_interface_scrollable_content_region_set_delegate elm_interface_scrollable_content_region_set_static_delegate; [return: MarshalAs(UnmanagedType.U1)] private delegate bool elm_interface_scrollable_content_events_get_delegate(System.IntPtr obj, System.IntPtr pd); [return: MarshalAs(UnmanagedType.U1)] public delegate bool elm_interface_scrollable_content_events_get_api_delegate(System.IntPtr obj); public static Efl.Eo.FunctionWrapper elm_interface_scrollable_content_events_get_ptr = new Efl.Eo.FunctionWrapper(Module, "elm_interface_scrollable_content_events_get"); private static bool content_events_get(System.IntPtr obj, System.IntPtr pd) { Eina.Log.Debug("function elm_interface_scrollable_content_events_get was called"); var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj); if (ws != null) { bool _ret_var = default(bool); try { _ret_var = ((IInterfaceScrollable)ws.Target).GetContentEvents(); } catch (Exception e) { Eina.Log.Warning($"Callback error: {e.ToString()}"); Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); } return _ret_var; } else { return elm_interface_scrollable_content_events_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj))); } } private static elm_interface_scrollable_content_events_get_delegate elm_interface_scrollable_content_events_get_static_delegate; private delegate void elm_interface_scrollable_content_events_set_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.U1)] bool repeat_events); public delegate void elm_interface_scrollable_content_events_set_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.U1)] bool repeat_events); public static Efl.Eo.FunctionWrapper elm_interface_scrollable_content_events_set_ptr = new Efl.Eo.FunctionWrapper(Module, "elm_interface_scrollable_content_events_set"); private static void content_events_set(System.IntPtr obj, System.IntPtr pd, bool repeat_events) { Eina.Log.Debug("function elm_interface_scrollable_content_events_set was called"); var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj); if (ws != null) { try { ((IInterfaceScrollable)ws.Target).SetContentEvents(repeat_events); } catch (Exception e) { Eina.Log.Warning($"Callback error: {e.ToString()}"); Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); } } else { elm_interface_scrollable_content_events_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), repeat_events); } } private static elm_interface_scrollable_content_events_set_delegate elm_interface_scrollable_content_events_set_static_delegate; private delegate void elm_interface_scrollable_page_size_get_delegate(System.IntPtr obj, System.IntPtr pd, out int x, out int y); public delegate void elm_interface_scrollable_page_size_get_api_delegate(System.IntPtr obj, out int x, out int y); public static Efl.Eo.FunctionWrapper elm_interface_scrollable_page_size_get_ptr = new Efl.Eo.FunctionWrapper(Module, "elm_interface_scrollable_page_size_get"); private static void page_size_get(System.IntPtr obj, System.IntPtr pd, out int x, out int y) { Eina.Log.Debug("function elm_interface_scrollable_page_size_get was called"); var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj); if (ws != null) { x = default(int); y = default(int); try { ((IInterfaceScrollable)ws.Target).GetPageSize(out x, out y); } catch (Exception e) { Eina.Log.Warning($"Callback error: {e.ToString()}"); Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); } } else { elm_interface_scrollable_page_size_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), out x, out y); } } private static elm_interface_scrollable_page_size_get_delegate elm_interface_scrollable_page_size_get_static_delegate; private delegate void elm_interface_scrollable_page_size_set_delegate(System.IntPtr obj, System.IntPtr pd, int x, int y); public delegate void elm_interface_scrollable_page_size_set_api_delegate(System.IntPtr obj, int x, int y); public static Efl.Eo.FunctionWrapper elm_interface_scrollable_page_size_set_ptr = new Efl.Eo.FunctionWrapper(Module, "elm_interface_scrollable_page_size_set"); private static void page_size_set(System.IntPtr obj, System.IntPtr pd, int x, int y) { Eina.Log.Debug("function elm_interface_scrollable_page_size_set was called"); var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj); if (ws != null) { try { ((IInterfaceScrollable)ws.Target).SetPageSize(x, y); } catch (Exception e) { Eina.Log.Warning($"Callback error: {e.ToString()}"); Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); } } else { elm_interface_scrollable_page_size_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), x, y); } } private static elm_interface_scrollable_page_size_set_delegate elm_interface_scrollable_page_size_set_static_delegate; [return: MarshalAs(UnmanagedType.U1)] private delegate bool elm_interface_scrollable_bounce_animator_disabled_get_delegate(System.IntPtr obj, System.IntPtr pd); [return: MarshalAs(UnmanagedType.U1)] public delegate bool elm_interface_scrollable_bounce_animator_disabled_get_api_delegate(System.IntPtr obj); public static Efl.Eo.FunctionWrapper elm_interface_scrollable_bounce_animator_disabled_get_ptr = new Efl.Eo.FunctionWrapper(Module, "elm_interface_scrollable_bounce_animator_disabled_get"); private static bool bounce_animator_disabled_get(System.IntPtr obj, System.IntPtr pd) { Eina.Log.Debug("function elm_interface_scrollable_bounce_animator_disabled_get was called"); var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj); if (ws != null) { bool _ret_var = default(bool); try { _ret_var = ((IInterfaceScrollable)ws.Target).GetBounceAnimatorDisabled(); } catch (Exception e) { Eina.Log.Warning($"Callback error: {e.ToString()}"); Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); } return _ret_var; } else { return elm_interface_scrollable_bounce_animator_disabled_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj))); } } private static elm_interface_scrollable_bounce_animator_disabled_get_delegate elm_interface_scrollable_bounce_animator_disabled_get_static_delegate; private delegate void elm_interface_scrollable_bounce_animator_disabled_set_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.U1)] bool disabled); public delegate void elm_interface_scrollable_bounce_animator_disabled_set_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.U1)] bool disabled); public static Efl.Eo.FunctionWrapper elm_interface_scrollable_bounce_animator_disabled_set_ptr = new Efl.Eo.FunctionWrapper(Module, "elm_interface_scrollable_bounce_animator_disabled_set"); private static void bounce_animator_disabled_set(System.IntPtr obj, System.IntPtr pd, bool disabled) { Eina.Log.Debug("function elm_interface_scrollable_bounce_animator_disabled_set was called"); var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj); if (ws != null) { try { ((IInterfaceScrollable)ws.Target).SetBounceAnimatorDisabled(disabled); } catch (Exception e) { Eina.Log.Warning($"Callback error: {e.ToString()}"); Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); } } else { elm_interface_scrollable_bounce_animator_disabled_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), disabled); } } private static elm_interface_scrollable_bounce_animator_disabled_set_delegate elm_interface_scrollable_bounce_animator_disabled_set_static_delegate; private delegate void elm_interface_scrollable_page_scroll_limit_get_delegate(System.IntPtr obj, System.IntPtr pd, out int page_limit_h, out int page_limit_v); public delegate void elm_interface_scrollable_page_scroll_limit_get_api_delegate(System.IntPtr obj, out int page_limit_h, out int page_limit_v); public static Efl.Eo.FunctionWrapper elm_interface_scrollable_page_scroll_limit_get_ptr = new Efl.Eo.FunctionWrapper(Module, "elm_interface_scrollable_page_scroll_limit_get"); private static void page_scroll_limit_get(System.IntPtr obj, System.IntPtr pd, out int page_limit_h, out int page_limit_v) { Eina.Log.Debug("function elm_interface_scrollable_page_scroll_limit_get was called"); var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj); if (ws != null) { page_limit_h = default(int); page_limit_v = default(int); try { ((IInterfaceScrollable)ws.Target).GetPageScrollLimit(out page_limit_h, out page_limit_v); } catch (Exception e) { Eina.Log.Warning($"Callback error: {e.ToString()}"); Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); } } else { elm_interface_scrollable_page_scroll_limit_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), out page_limit_h, out page_limit_v); } } private static elm_interface_scrollable_page_scroll_limit_get_delegate elm_interface_scrollable_page_scroll_limit_get_static_delegate; private delegate void elm_interface_scrollable_page_scroll_limit_set_delegate(System.IntPtr obj, System.IntPtr pd, int page_limit_h, int page_limit_v); public delegate void elm_interface_scrollable_page_scroll_limit_set_api_delegate(System.IntPtr obj, int page_limit_h, int page_limit_v); public static Efl.Eo.FunctionWrapper elm_interface_scrollable_page_scroll_limit_set_ptr = new Efl.Eo.FunctionWrapper(Module, "elm_interface_scrollable_page_scroll_limit_set"); private static void page_scroll_limit_set(System.IntPtr obj, System.IntPtr pd, int page_limit_h, int page_limit_v) { Eina.Log.Debug("function elm_interface_scrollable_page_scroll_limit_set was called"); var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj); if (ws != null) { try { ((IInterfaceScrollable)ws.Target).SetPageScrollLimit(page_limit_h, page_limit_v); } catch (Exception e) { Eina.Log.Warning($"Callback error: {e.ToString()}"); Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); } } else { elm_interface_scrollable_page_scroll_limit_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), page_limit_h, page_limit_v); } } private static elm_interface_scrollable_page_scroll_limit_set_delegate elm_interface_scrollable_page_scroll_limit_set_static_delegate; private delegate void elm_interface_scrollable_page_snap_allow_get_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.U1)] out bool horiz, [MarshalAs(UnmanagedType.U1)] out bool vert); public delegate void elm_interface_scrollable_page_snap_allow_get_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.U1)] out bool horiz, [MarshalAs(UnmanagedType.U1)] out bool vert); public static Efl.Eo.FunctionWrapper elm_interface_scrollable_page_snap_allow_get_ptr = new Efl.Eo.FunctionWrapper(Module, "elm_interface_scrollable_page_snap_allow_get"); private static void page_snap_allow_get(System.IntPtr obj, System.IntPtr pd, out bool horiz, out bool vert) { Eina.Log.Debug("function elm_interface_scrollable_page_snap_allow_get was called"); var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj); if (ws != null) { horiz = default(bool); vert = default(bool); try { ((IInterfaceScrollable)ws.Target).GetPageSnapAllow(out horiz, out vert); } catch (Exception e) { Eina.Log.Warning($"Callback error: {e.ToString()}"); Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); } } else { elm_interface_scrollable_page_snap_allow_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), out horiz, out vert); } } private static elm_interface_scrollable_page_snap_allow_get_delegate elm_interface_scrollable_page_snap_allow_get_static_delegate; private delegate void elm_interface_scrollable_page_snap_allow_set_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.U1)] bool horiz, [MarshalAs(UnmanagedType.U1)] bool vert); public delegate void elm_interface_scrollable_page_snap_allow_set_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.U1)] bool horiz, [MarshalAs(UnmanagedType.U1)] bool vert); public static Efl.Eo.FunctionWrapper elm_interface_scrollable_page_snap_allow_set_ptr = new Efl.Eo.FunctionWrapper(Module, "elm_interface_scrollable_page_snap_allow_set"); private static void page_snap_allow_set(System.IntPtr obj, System.IntPtr pd, bool horiz, bool vert) { Eina.Log.Debug("function elm_interface_scrollable_page_snap_allow_set was called"); var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj); if (ws != null) { try { ((IInterfaceScrollable)ws.Target).SetPageSnapAllow(horiz, vert); } catch (Exception e) { Eina.Log.Warning($"Callback error: {e.ToString()}"); Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); } } else { elm_interface_scrollable_page_snap_allow_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), horiz, vert); } } private static elm_interface_scrollable_page_snap_allow_set_delegate elm_interface_scrollable_page_snap_allow_set_static_delegate; private delegate void elm_interface_scrollable_paging_get_delegate(System.IntPtr obj, System.IntPtr pd, out double pagerel_h, out double pagerel_v, out int pagesize_h, out int pagesize_v); public delegate void elm_interface_scrollable_paging_get_api_delegate(System.IntPtr obj, out double pagerel_h, out double pagerel_v, out int pagesize_h, out int pagesize_v); public static Efl.Eo.FunctionWrapper elm_interface_scrollable_paging_get_ptr = new Efl.Eo.FunctionWrapper(Module, "elm_interface_scrollable_paging_get"); private static void paging_get(System.IntPtr obj, System.IntPtr pd, out double pagerel_h, out double pagerel_v, out int pagesize_h, out int pagesize_v) { Eina.Log.Debug("function elm_interface_scrollable_paging_get was called"); var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj); if (ws != null) { pagerel_h = default(double); pagerel_v = default(double); pagesize_h = default(int); pagesize_v = default(int); try { ((IInterfaceScrollable)ws.Target).GetPaging(out pagerel_h, out pagerel_v, out pagesize_h, out pagesize_v); } catch (Exception e) { Eina.Log.Warning($"Callback error: {e.ToString()}"); Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); } } else { elm_interface_scrollable_paging_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), out pagerel_h, out pagerel_v, out pagesize_h, out pagesize_v); } } private static elm_interface_scrollable_paging_get_delegate elm_interface_scrollable_paging_get_static_delegate; private delegate void elm_interface_scrollable_paging_set_delegate(System.IntPtr obj, System.IntPtr pd, double pagerel_h, double pagerel_v, int pagesize_h, int pagesize_v); public delegate void elm_interface_scrollable_paging_set_api_delegate(System.IntPtr obj, double pagerel_h, double pagerel_v, int pagesize_h, int pagesize_v); public static Efl.Eo.FunctionWrapper elm_interface_scrollable_paging_set_ptr = new Efl.Eo.FunctionWrapper(Module, "elm_interface_scrollable_paging_set"); private static void paging_set(System.IntPtr obj, System.IntPtr pd, double pagerel_h, double pagerel_v, int pagesize_h, int pagesize_v) { Eina.Log.Debug("function elm_interface_scrollable_paging_set was called"); var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj); if (ws != null) { try { ((IInterfaceScrollable)ws.Target).SetPaging(pagerel_h, pagerel_v, pagesize_h, pagesize_v); } catch (Exception e) { Eina.Log.Warning($"Callback error: {e.ToString()}"); Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); } } else { elm_interface_scrollable_paging_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), pagerel_h, pagerel_v, pagesize_h, pagesize_v); } } private static elm_interface_scrollable_paging_set_delegate elm_interface_scrollable_paging_set_static_delegate; private delegate Elm.Scroller.SingleDirection elm_interface_scrollable_single_direction_get_delegate(System.IntPtr obj, System.IntPtr pd); public delegate Elm.Scroller.SingleDirection elm_interface_scrollable_single_direction_get_api_delegate(System.IntPtr obj); public static Efl.Eo.FunctionWrapper elm_interface_scrollable_single_direction_get_ptr = new Efl.Eo.FunctionWrapper(Module, "elm_interface_scrollable_single_direction_get"); private static Elm.Scroller.SingleDirection single_direction_get(System.IntPtr obj, System.IntPtr pd) { Eina.Log.Debug("function elm_interface_scrollable_single_direction_get was called"); var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj); if (ws != null) { Elm.Scroller.SingleDirection _ret_var = default(Elm.Scroller.SingleDirection); try { _ret_var = ((IInterfaceScrollable)ws.Target).GetSingleDirection(); } catch (Exception e) { Eina.Log.Warning($"Callback error: {e.ToString()}"); Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); } return _ret_var; } else { return elm_interface_scrollable_single_direction_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj))); } } private static elm_interface_scrollable_single_direction_get_delegate elm_interface_scrollable_single_direction_get_static_delegate; private delegate void elm_interface_scrollable_single_direction_set_delegate(System.IntPtr obj, System.IntPtr pd, Elm.Scroller.SingleDirection single_dir); public delegate void elm_interface_scrollable_single_direction_set_api_delegate(System.IntPtr obj, Elm.Scroller.SingleDirection single_dir); public static Efl.Eo.FunctionWrapper elm_interface_scrollable_single_direction_set_ptr = new Efl.Eo.FunctionWrapper(Module, "elm_interface_scrollable_single_direction_set"); private static void single_direction_set(System.IntPtr obj, System.IntPtr pd, Elm.Scroller.SingleDirection single_dir) { Eina.Log.Debug("function elm_interface_scrollable_single_direction_set was called"); var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj); if (ws != null) { try { ((IInterfaceScrollable)ws.Target).SetSingleDirection(single_dir); } catch (Exception e) { Eina.Log.Warning($"Callback error: {e.ToString()}"); Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); } } else { elm_interface_scrollable_single_direction_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), single_dir); } } private static elm_interface_scrollable_single_direction_set_delegate elm_interface_scrollable_single_direction_set_static_delegate; private delegate void elm_interface_scrollable_step_size_get_delegate(System.IntPtr obj, System.IntPtr pd, out int x, out int y); public delegate void elm_interface_scrollable_step_size_get_api_delegate(System.IntPtr obj, out int x, out int y); public static Efl.Eo.FunctionWrapper elm_interface_scrollable_step_size_get_ptr = new Efl.Eo.FunctionWrapper(Module, "elm_interface_scrollable_step_size_get"); private static void step_size_get(System.IntPtr obj, System.IntPtr pd, out int x, out int y) { Eina.Log.Debug("function elm_interface_scrollable_step_size_get was called"); var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj); if (ws != null) { x = default(int); y = default(int); try { ((IInterfaceScrollable)ws.Target).GetStepSize(out x, out y); } catch (Exception e) { Eina.Log.Warning($"Callback error: {e.ToString()}"); Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); } } else { elm_interface_scrollable_step_size_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), out x, out y); } } private static elm_interface_scrollable_step_size_get_delegate elm_interface_scrollable_step_size_get_static_delegate; private delegate void elm_interface_scrollable_step_size_set_delegate(System.IntPtr obj, System.IntPtr pd, int x, int y); public delegate void elm_interface_scrollable_step_size_set_api_delegate(System.IntPtr obj, int x, int y); public static Efl.Eo.FunctionWrapper elm_interface_scrollable_step_size_set_ptr = new Efl.Eo.FunctionWrapper(Module, "elm_interface_scrollable_step_size_set"); private static void step_size_set(System.IntPtr obj, System.IntPtr pd, int x, int y) { Eina.Log.Debug("function elm_interface_scrollable_step_size_set was called"); var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj); if (ws != null) { try { ((IInterfaceScrollable)ws.Target).SetStepSize(x, y); } catch (Exception e) { Eina.Log.Warning($"Callback error: {e.ToString()}"); Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); } } else { elm_interface_scrollable_step_size_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), x, y); } } private static elm_interface_scrollable_step_size_set_delegate elm_interface_scrollable_step_size_set_static_delegate; private delegate void elm_interface_scrollable_content_loop_get_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.U1)] out bool loop_h, [MarshalAs(UnmanagedType.U1)] out bool loop_v); public delegate void elm_interface_scrollable_content_loop_get_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.U1)] out bool loop_h, [MarshalAs(UnmanagedType.U1)] out bool loop_v); public static Efl.Eo.FunctionWrapper elm_interface_scrollable_content_loop_get_ptr = new Efl.Eo.FunctionWrapper(Module, "elm_interface_scrollable_content_loop_get"); private static void content_loop_get(System.IntPtr obj, System.IntPtr pd, out bool loop_h, out bool loop_v) { Eina.Log.Debug("function elm_interface_scrollable_content_loop_get was called"); var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj); if (ws != null) { loop_h = default(bool); loop_v = default(bool); try { ((IInterfaceScrollable)ws.Target).GetContentLoop(out loop_h, out loop_v); } catch (Exception e) { Eina.Log.Warning($"Callback error: {e.ToString()}"); Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); } } else { elm_interface_scrollable_content_loop_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), out loop_h, out loop_v); } } private static elm_interface_scrollable_content_loop_get_delegate elm_interface_scrollable_content_loop_get_static_delegate; private delegate void elm_interface_scrollable_content_loop_set_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.U1)] bool loop_h, [MarshalAs(UnmanagedType.U1)] bool loop_v); public delegate void elm_interface_scrollable_content_loop_set_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.U1)] bool loop_h, [MarshalAs(UnmanagedType.U1)] bool loop_v); public static Efl.Eo.FunctionWrapper elm_interface_scrollable_content_loop_set_ptr = new Efl.Eo.FunctionWrapper(Module, "elm_interface_scrollable_content_loop_set"); private static void content_loop_set(System.IntPtr obj, System.IntPtr pd, bool loop_h, bool loop_v) { Eina.Log.Debug("function elm_interface_scrollable_content_loop_set was called"); var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj); if (ws != null) { try { ((IInterfaceScrollable)ws.Target).SetContentLoop(loop_h, loop_v); } catch (Exception e) { Eina.Log.Warning($"Callback error: {e.ToString()}"); Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); } } else { elm_interface_scrollable_content_loop_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), loop_h, loop_v); } } private static elm_interface_scrollable_content_loop_set_delegate elm_interface_scrollable_content_loop_set_static_delegate; private delegate void elm_interface_scrollable_scroll_up_cb_set_delegate(System.IntPtr obj, System.IntPtr pd, ElmInterfaceScrollableCb scroll_up_cb); public delegate void elm_interface_scrollable_scroll_up_cb_set_api_delegate(System.IntPtr obj, ElmInterfaceScrollableCb scroll_up_cb); public static Efl.Eo.FunctionWrapper elm_interface_scrollable_scroll_up_cb_set_ptr = new Efl.Eo.FunctionWrapper(Module, "elm_interface_scrollable_scroll_up_cb_set"); private static void scroll_up_cb_set(System.IntPtr obj, System.IntPtr pd, ElmInterfaceScrollableCb scroll_up_cb) { Eina.Log.Debug("function elm_interface_scrollable_scroll_up_cb_set was called"); var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj); if (ws != null) { try { ((IInterfaceScrollable)ws.Target).SetScrollUpCb(scroll_up_cb); } catch (Exception e) { Eina.Log.Warning($"Callback error: {e.ToString()}"); Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); } } else { elm_interface_scrollable_scroll_up_cb_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), scroll_up_cb); } } private static elm_interface_scrollable_scroll_up_cb_set_delegate elm_interface_scrollable_scroll_up_cb_set_static_delegate; private delegate void elm_interface_scrollable_hbar_drag_cb_set_delegate(System.IntPtr obj, System.IntPtr pd, ElmInterfaceScrollableCb hbar_drag_cb); public delegate void elm_interface_scrollable_hbar_drag_cb_set_api_delegate(System.IntPtr obj, ElmInterfaceScrollableCb hbar_drag_cb); public static Efl.Eo.FunctionWrapper elm_interface_scrollable_hbar_drag_cb_set_ptr = new Efl.Eo.FunctionWrapper(Module, "elm_interface_scrollable_hbar_drag_cb_set"); private static void hbar_drag_cb_set(System.IntPtr obj, System.IntPtr pd, ElmInterfaceScrollableCb hbar_drag_cb) { Eina.Log.Debug("function elm_interface_scrollable_hbar_drag_cb_set was called"); var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj); if (ws != null) { try { ((IInterfaceScrollable)ws.Target).SetHbarDragCb(hbar_drag_cb); } catch (Exception e) { Eina.Log.Warning($"Callback error: {e.ToString()}"); Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); } } else { elm_interface_scrollable_hbar_drag_cb_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), hbar_drag_cb); } } private static elm_interface_scrollable_hbar_drag_cb_set_delegate elm_interface_scrollable_hbar_drag_cb_set_static_delegate; private delegate void elm_interface_scrollable_drag_start_cb_set_delegate(System.IntPtr obj, System.IntPtr pd, ElmInterfaceScrollableCb drag_start_cb); public delegate void elm_interface_scrollable_drag_start_cb_set_api_delegate(System.IntPtr obj, ElmInterfaceScrollableCb drag_start_cb); public static Efl.Eo.FunctionWrapper elm_interface_scrollable_drag_start_cb_set_ptr = new Efl.Eo.FunctionWrapper(Module, "elm_interface_scrollable_drag_start_cb_set"); private static void drag_start_cb_set(System.IntPtr obj, System.IntPtr pd, ElmInterfaceScrollableCb drag_start_cb) { Eina.Log.Debug("function elm_interface_scrollable_drag_start_cb_set was called"); var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj); if (ws != null) { try { ((IInterfaceScrollable)ws.Target).SetDragStartCb(drag_start_cb); } catch (Exception e) { Eina.Log.Warning($"Callback error: {e.ToString()}"); Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); } } else { elm_interface_scrollable_drag_start_cb_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), drag_start_cb); } } private static elm_interface_scrollable_drag_start_cb_set_delegate elm_interface_scrollable_drag_start_cb_set_static_delegate; private delegate void elm_interface_scrollable_scroll_start_cb_set_delegate(System.IntPtr obj, System.IntPtr pd, ElmInterfaceScrollableCb scroll_start_cb); public delegate void elm_interface_scrollable_scroll_start_cb_set_api_delegate(System.IntPtr obj, ElmInterfaceScrollableCb scroll_start_cb); public static Efl.Eo.FunctionWrapper elm_interface_scrollable_scroll_start_cb_set_ptr = new Efl.Eo.FunctionWrapper(Module, "elm_interface_scrollable_scroll_start_cb_set"); private static void scroll_start_cb_set(System.IntPtr obj, System.IntPtr pd, ElmInterfaceScrollableCb scroll_start_cb) { Eina.Log.Debug("function elm_interface_scrollable_scroll_start_cb_set was called"); var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj); if (ws != null) { try { ((IInterfaceScrollable)ws.Target).SetScrollStartCb(scroll_start_cb); } catch (Exception e) { Eina.Log.Warning($"Callback error: {e.ToString()}"); Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); } } else { elm_interface_scrollable_scroll_start_cb_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), scroll_start_cb); } } private static elm_interface_scrollable_scroll_start_cb_set_delegate elm_interface_scrollable_scroll_start_cb_set_static_delegate; private delegate void elm_interface_scrollable_freeze_set_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.U1)] bool freeze); public delegate void elm_interface_scrollable_freeze_set_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.U1)] bool freeze); public static Efl.Eo.FunctionWrapper elm_interface_scrollable_freeze_set_ptr = new Efl.Eo.FunctionWrapper(Module, "elm_interface_scrollable_freeze_set"); private static void freeze_set(System.IntPtr obj, System.IntPtr pd, bool freeze) { Eina.Log.Debug("function elm_interface_scrollable_freeze_set was called"); var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj); if (ws != null) { try { ((IInterfaceScrollable)ws.Target).SetFreeze(freeze); } catch (Exception e) { Eina.Log.Warning($"Callback error: {e.ToString()}"); Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); } } else { elm_interface_scrollable_freeze_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), freeze); } } private static elm_interface_scrollable_freeze_set_delegate elm_interface_scrollable_freeze_set_static_delegate; private delegate void elm_interface_scrollable_content_viewport_resize_cb_set_delegate(System.IntPtr obj, System.IntPtr pd, ElmInterfaceScrollableResizeCb viewport_resize_cb); public delegate void elm_interface_scrollable_content_viewport_resize_cb_set_api_delegate(System.IntPtr obj, ElmInterfaceScrollableResizeCb viewport_resize_cb); public static Efl.Eo.FunctionWrapper elm_interface_scrollable_content_viewport_resize_cb_set_ptr = new Efl.Eo.FunctionWrapper(Module, "elm_interface_scrollable_content_viewport_resize_cb_set"); private static void content_viewport_resize_cb_set(System.IntPtr obj, System.IntPtr pd, ElmInterfaceScrollableResizeCb viewport_resize_cb) { Eina.Log.Debug("function elm_interface_scrollable_content_viewport_resize_cb_set was called"); var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj); if (ws != null) { try { ((IInterfaceScrollable)ws.Target).SetContentViewportResizeCb(viewport_resize_cb); } catch (Exception e) { Eina.Log.Warning($"Callback error: {e.ToString()}"); Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); } } else { elm_interface_scrollable_content_viewport_resize_cb_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), viewport_resize_cb); } } private static elm_interface_scrollable_content_viewport_resize_cb_set_delegate elm_interface_scrollable_content_viewport_resize_cb_set_static_delegate; private delegate void elm_interface_scrollable_scroll_left_cb_set_delegate(System.IntPtr obj, System.IntPtr pd, ElmInterfaceScrollableCb scroll_left_cb); public delegate void elm_interface_scrollable_scroll_left_cb_set_api_delegate(System.IntPtr obj, ElmInterfaceScrollableCb scroll_left_cb); public static Efl.Eo.FunctionWrapper elm_interface_scrollable_scroll_left_cb_set_ptr = new Efl.Eo.FunctionWrapper(Module, "elm_interface_scrollable_scroll_left_cb_set"); private static void scroll_left_cb_set(System.IntPtr obj, System.IntPtr pd, ElmInterfaceScrollableCb scroll_left_cb) { Eina.Log.Debug("function elm_interface_scrollable_scroll_left_cb_set was called"); var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj); if (ws != null) { try { ((IInterfaceScrollable)ws.Target).SetScrollLeftCb(scroll_left_cb); } catch (Exception e) { Eina.Log.Warning($"Callback error: {e.ToString()}"); Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); } } else { elm_interface_scrollable_scroll_left_cb_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), scroll_left_cb); } } private static elm_interface_scrollable_scroll_left_cb_set_delegate elm_interface_scrollable_scroll_left_cb_set_static_delegate; private delegate void elm_interface_scrollable_vbar_press_cb_set_delegate(System.IntPtr obj, System.IntPtr pd, ElmInterfaceScrollableCb vbar_press_cb); public delegate void elm_interface_scrollable_vbar_press_cb_set_api_delegate(System.IntPtr obj, ElmInterfaceScrollableCb vbar_press_cb); public static Efl.Eo.FunctionWrapper elm_interface_scrollable_vbar_press_cb_set_ptr = new Efl.Eo.FunctionWrapper(Module, "elm_interface_scrollable_vbar_press_cb_set"); private static void vbar_press_cb_set(System.IntPtr obj, System.IntPtr pd, ElmInterfaceScrollableCb vbar_press_cb) { Eina.Log.Debug("function elm_interface_scrollable_vbar_press_cb_set was called"); var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj); if (ws != null) { try { ((IInterfaceScrollable)ws.Target).SetVbarPressCb(vbar_press_cb); } catch (Exception e) { Eina.Log.Warning($"Callback error: {e.ToString()}"); Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); } } else { elm_interface_scrollable_vbar_press_cb_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), vbar_press_cb); } } private static elm_interface_scrollable_vbar_press_cb_set_delegate elm_interface_scrollable_vbar_press_cb_set_static_delegate; private delegate void elm_interface_scrollable_hbar_press_cb_set_delegate(System.IntPtr obj, System.IntPtr pd, ElmInterfaceScrollableCb hbar_press_cb); public delegate void elm_interface_scrollable_hbar_press_cb_set_api_delegate(System.IntPtr obj, ElmInterfaceScrollableCb hbar_press_cb); public static Efl.Eo.FunctionWrapper elm_interface_scrollable_hbar_press_cb_set_ptr = new Efl.Eo.FunctionWrapper(Module, "elm_interface_scrollable_hbar_press_cb_set"); private static void hbar_press_cb_set(System.IntPtr obj, System.IntPtr pd, ElmInterfaceScrollableCb hbar_press_cb) { Eina.Log.Debug("function elm_interface_scrollable_hbar_press_cb_set was called"); var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj); if (ws != null) { try { ((IInterfaceScrollable)ws.Target).SetHbarPressCb(hbar_press_cb); } catch (Exception e) { Eina.Log.Warning($"Callback error: {e.ToString()}"); Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); } } else { elm_interface_scrollable_hbar_press_cb_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), hbar_press_cb); } } private static elm_interface_scrollable_hbar_press_cb_set_delegate elm_interface_scrollable_hbar_press_cb_set_static_delegate; private delegate void elm_interface_scrollable_hbar_unpress_cb_set_delegate(System.IntPtr obj, System.IntPtr pd, ElmInterfaceScrollableCb hbar_unpress_cb); public delegate void elm_interface_scrollable_hbar_unpress_cb_set_api_delegate(System.IntPtr obj, ElmInterfaceScrollableCb hbar_unpress_cb); public static Efl.Eo.FunctionWrapper elm_interface_scrollable_hbar_unpress_cb_set_ptr = new Efl.Eo.FunctionWrapper(Module, "elm_interface_scrollable_hbar_unpress_cb_set"); private static void hbar_unpress_cb_set(System.IntPtr obj, System.IntPtr pd, ElmInterfaceScrollableCb hbar_unpress_cb) { Eina.Log.Debug("function elm_interface_scrollable_hbar_unpress_cb_set was called"); var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj); if (ws != null) { try { ((IInterfaceScrollable)ws.Target).SetHbarUnpressCb(hbar_unpress_cb); } catch (Exception e) { Eina.Log.Warning($"Callback error: {e.ToString()}"); Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); } } else { elm_interface_scrollable_hbar_unpress_cb_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), hbar_unpress_cb); } } private static elm_interface_scrollable_hbar_unpress_cb_set_delegate elm_interface_scrollable_hbar_unpress_cb_set_static_delegate; private delegate void elm_interface_scrollable_drag_stop_cb_set_delegate(System.IntPtr obj, System.IntPtr pd, ElmInterfaceScrollableCb drag_stop_cb); public delegate void elm_interface_scrollable_drag_stop_cb_set_api_delegate(System.IntPtr obj, ElmInterfaceScrollableCb drag_stop_cb); public static Efl.Eo.FunctionWrapper elm_interface_scrollable_drag_stop_cb_set_ptr = new Efl.Eo.FunctionWrapper(Module, "elm_interface_scrollable_drag_stop_cb_set"); private static void drag_stop_cb_set(System.IntPtr obj, System.IntPtr pd, ElmInterfaceScrollableCb drag_stop_cb) { Eina.Log.Debug("function elm_interface_scrollable_drag_stop_cb_set was called"); var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj); if (ws != null) { try { ((IInterfaceScrollable)ws.Target).SetDragStopCb(drag_stop_cb); } catch (Exception e) { Eina.Log.Warning($"Callback error: {e.ToString()}"); Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); } } else { elm_interface_scrollable_drag_stop_cb_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), drag_stop_cb); } } private static elm_interface_scrollable_drag_stop_cb_set_delegate elm_interface_scrollable_drag_stop_cb_set_static_delegate; private delegate void elm_interface_scrollable_scroll_stop_cb_set_delegate(System.IntPtr obj, System.IntPtr pd, ElmInterfaceScrollableCb scroll_stop_cb); public delegate void elm_interface_scrollable_scroll_stop_cb_set_api_delegate(System.IntPtr obj, ElmInterfaceScrollableCb scroll_stop_cb); public static Efl.Eo.FunctionWrapper elm_interface_scrollable_scroll_stop_cb_set_ptr = new Efl.Eo.FunctionWrapper(Module, "elm_interface_scrollable_scroll_stop_cb_set"); private static void scroll_stop_cb_set(System.IntPtr obj, System.IntPtr pd, ElmInterfaceScrollableCb scroll_stop_cb) { Eina.Log.Debug("function elm_interface_scrollable_scroll_stop_cb_set was called"); var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj); if (ws != null) { try { ((IInterfaceScrollable)ws.Target).SetScrollStopCb(scroll_stop_cb); } catch (Exception e) { Eina.Log.Warning($"Callback error: {e.ToString()}"); Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); } } else { elm_interface_scrollable_scroll_stop_cb_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), scroll_stop_cb); } } private static elm_interface_scrollable_scroll_stop_cb_set_delegate elm_interface_scrollable_scroll_stop_cb_set_static_delegate; private delegate void elm_interface_scrollable_extern_pan_set_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo))] Efl.Canvas.Object pan); public delegate void elm_interface_scrollable_extern_pan_set_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo))] Efl.Canvas.Object pan); public static Efl.Eo.FunctionWrapper elm_interface_scrollable_extern_pan_set_ptr = new Efl.Eo.FunctionWrapper(Module, "elm_interface_scrollable_extern_pan_set"); private static void extern_pan_set(System.IntPtr obj, System.IntPtr pd, Efl.Canvas.Object pan) { Eina.Log.Debug("function elm_interface_scrollable_extern_pan_set was called"); var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj); if (ws != null) { try { ((IInterfaceScrollable)ws.Target).SetExternPan(pan); } catch (Exception e) { Eina.Log.Warning($"Callback error: {e.ToString()}"); Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); } } else { elm_interface_scrollable_extern_pan_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), pan); } } private static elm_interface_scrollable_extern_pan_set_delegate elm_interface_scrollable_extern_pan_set_static_delegate; private delegate void elm_interface_scrollable_page_change_cb_set_delegate(System.IntPtr obj, System.IntPtr pd, ElmInterfaceScrollableCb page_change_cb); public delegate void elm_interface_scrollable_page_change_cb_set_api_delegate(System.IntPtr obj, ElmInterfaceScrollableCb page_change_cb); public static Efl.Eo.FunctionWrapper elm_interface_scrollable_page_change_cb_set_ptr = new Efl.Eo.FunctionWrapper(Module, "elm_interface_scrollable_page_change_cb_set"); private static void page_change_cb_set(System.IntPtr obj, System.IntPtr pd, ElmInterfaceScrollableCb page_change_cb) { Eina.Log.Debug("function elm_interface_scrollable_page_change_cb_set was called"); var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj); if (ws != null) { try { ((IInterfaceScrollable)ws.Target).SetPageChangeCb(page_change_cb); } catch (Exception e) { Eina.Log.Warning($"Callback error: {e.ToString()}"); Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); } } else { elm_interface_scrollable_page_change_cb_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), page_change_cb); } } private static elm_interface_scrollable_page_change_cb_set_delegate elm_interface_scrollable_page_change_cb_set_static_delegate; private delegate void elm_interface_scrollable_hold_set_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.U1)] bool hold); public delegate void elm_interface_scrollable_hold_set_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.U1)] bool hold); public static Efl.Eo.FunctionWrapper elm_interface_scrollable_hold_set_ptr = new Efl.Eo.FunctionWrapper(Module, "elm_interface_scrollable_hold_set"); private static void hold_set(System.IntPtr obj, System.IntPtr pd, bool hold) { Eina.Log.Debug("function elm_interface_scrollable_hold_set was called"); var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj); if (ws != null) { try { ((IInterfaceScrollable)ws.Target).SetHold(hold); } catch (Exception e) { Eina.Log.Warning($"Callback error: {e.ToString()}"); Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); } } else { elm_interface_scrollable_hold_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), hold); } } private static elm_interface_scrollable_hold_set_delegate elm_interface_scrollable_hold_set_static_delegate; private delegate void elm_interface_scrollable_animate_start_cb_set_delegate(System.IntPtr obj, System.IntPtr pd, ElmInterfaceScrollableCb animate_start_cb); public delegate void elm_interface_scrollable_animate_start_cb_set_api_delegate(System.IntPtr obj, ElmInterfaceScrollableCb animate_start_cb); public static Efl.Eo.FunctionWrapper elm_interface_scrollable_animate_start_cb_set_ptr = new Efl.Eo.FunctionWrapper(Module, "elm_interface_scrollable_animate_start_cb_set"); private static void animate_start_cb_set(System.IntPtr obj, System.IntPtr pd, ElmInterfaceScrollableCb animate_start_cb) { Eina.Log.Debug("function elm_interface_scrollable_animate_start_cb_set was called"); var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj); if (ws != null) { try { ((IInterfaceScrollable)ws.Target).SetAnimateStartCb(animate_start_cb); } catch (Exception e) { Eina.Log.Warning($"Callback error: {e.ToString()}"); Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); } } else { elm_interface_scrollable_animate_start_cb_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), animate_start_cb); } } private static elm_interface_scrollable_animate_start_cb_set_delegate elm_interface_scrollable_animate_start_cb_set_static_delegate; private delegate void elm_interface_scrollable_scroll_down_cb_set_delegate(System.IntPtr obj, System.IntPtr pd, ElmInterfaceScrollableCb scroll_down_cb); public delegate void elm_interface_scrollable_scroll_down_cb_set_api_delegate(System.IntPtr obj, ElmInterfaceScrollableCb scroll_down_cb); public static Efl.Eo.FunctionWrapper elm_interface_scrollable_scroll_down_cb_set_ptr = new Efl.Eo.FunctionWrapper(Module, "elm_interface_scrollable_scroll_down_cb_set"); private static void scroll_down_cb_set(System.IntPtr obj, System.IntPtr pd, ElmInterfaceScrollableCb scroll_down_cb) { Eina.Log.Debug("function elm_interface_scrollable_scroll_down_cb_set was called"); var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj); if (ws != null) { try { ((IInterfaceScrollable)ws.Target).SetScrollDownCb(scroll_down_cb); } catch (Exception e) { Eina.Log.Warning($"Callback error: {e.ToString()}"); Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); } } else { elm_interface_scrollable_scroll_down_cb_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), scroll_down_cb); } } private static elm_interface_scrollable_scroll_down_cb_set_delegate elm_interface_scrollable_scroll_down_cb_set_static_delegate; private delegate void elm_interface_scrollable_page_relative_set_delegate(System.IntPtr obj, System.IntPtr pd, double h_pagerel, double v_pagerel); public delegate void elm_interface_scrollable_page_relative_set_api_delegate(System.IntPtr obj, double h_pagerel, double v_pagerel); public static Efl.Eo.FunctionWrapper elm_interface_scrollable_page_relative_set_ptr = new Efl.Eo.FunctionWrapper(Module, "elm_interface_scrollable_page_relative_set"); private static void page_relative_set(System.IntPtr obj, System.IntPtr pd, double h_pagerel, double v_pagerel) { Eina.Log.Debug("function elm_interface_scrollable_page_relative_set was called"); var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj); if (ws != null) { try { ((IInterfaceScrollable)ws.Target).SetPageRelative(h_pagerel, v_pagerel); } catch (Exception e) { Eina.Log.Warning($"Callback error: {e.ToString()}"); Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); } } else { elm_interface_scrollable_page_relative_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), h_pagerel, v_pagerel); } } private static elm_interface_scrollable_page_relative_set_delegate elm_interface_scrollable_page_relative_set_static_delegate; private delegate void elm_interface_scrollable_scroll_cb_set_delegate(System.IntPtr obj, System.IntPtr pd, ElmInterfaceScrollableCb scroll_cb); public delegate void elm_interface_scrollable_scroll_cb_set_api_delegate(System.IntPtr obj, ElmInterfaceScrollableCb scroll_cb); public static Efl.Eo.FunctionWrapper elm_interface_scrollable_scroll_cb_set_ptr = new Efl.Eo.FunctionWrapper(Module, "elm_interface_scrollable_scroll_cb_set"); private static void scroll_cb_set(System.IntPtr obj, System.IntPtr pd, ElmInterfaceScrollableCb scroll_cb) { Eina.Log.Debug("function elm_interface_scrollable_scroll_cb_set was called"); var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj); if (ws != null) { try { ((IInterfaceScrollable)ws.Target).SetScrollCb(scroll_cb); } catch (Exception e) { Eina.Log.Warning($"Callback error: {e.ToString()}"); Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); } } else { elm_interface_scrollable_scroll_cb_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), scroll_cb); } } private static elm_interface_scrollable_scroll_cb_set_delegate elm_interface_scrollable_scroll_cb_set_static_delegate; private delegate void elm_interface_scrollable_animate_stop_cb_set_delegate(System.IntPtr obj, System.IntPtr pd, ElmInterfaceScrollableCb animate_stop_cb); public delegate void elm_interface_scrollable_animate_stop_cb_set_api_delegate(System.IntPtr obj, ElmInterfaceScrollableCb animate_stop_cb); public static Efl.Eo.FunctionWrapper elm_interface_scrollable_animate_stop_cb_set_ptr = new Efl.Eo.FunctionWrapper(Module, "elm_interface_scrollable_animate_stop_cb_set"); private static void animate_stop_cb_set(System.IntPtr obj, System.IntPtr pd, ElmInterfaceScrollableCb animate_stop_cb) { Eina.Log.Debug("function elm_interface_scrollable_animate_stop_cb_set was called"); var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj); if (ws != null) { try { ((IInterfaceScrollable)ws.Target).SetAnimateStopCb(animate_stop_cb); } catch (Exception e) { Eina.Log.Warning($"Callback error: {e.ToString()}"); Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); } } else { elm_interface_scrollable_animate_stop_cb_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), animate_stop_cb); } } private static elm_interface_scrollable_animate_stop_cb_set_delegate elm_interface_scrollable_animate_stop_cb_set_static_delegate; private delegate void elm_interface_scrollable_content_min_limit_cb_set_delegate(System.IntPtr obj, System.IntPtr pd, ElmInterfaceScrollableMinLimitCb min_limit_cb); public delegate void elm_interface_scrollable_content_min_limit_cb_set_api_delegate(System.IntPtr obj, ElmInterfaceScrollableMinLimitCb min_limit_cb); public static Efl.Eo.FunctionWrapper elm_interface_scrollable_content_min_limit_cb_set_ptr = new Efl.Eo.FunctionWrapper(Module, "elm_interface_scrollable_content_min_limit_cb_set"); private static void content_min_limit_cb_set(System.IntPtr obj, System.IntPtr pd, ElmInterfaceScrollableMinLimitCb min_limit_cb) { Eina.Log.Debug("function elm_interface_scrollable_content_min_limit_cb_set was called"); var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj); if (ws != null) { try { ((IInterfaceScrollable)ws.Target).SetContentMinLimitCb(min_limit_cb); } catch (Exception e) { Eina.Log.Warning($"Callback error: {e.ToString()}"); Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); } } else { elm_interface_scrollable_content_min_limit_cb_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), min_limit_cb); } } private static elm_interface_scrollable_content_min_limit_cb_set_delegate elm_interface_scrollable_content_min_limit_cb_set_static_delegate; private delegate void elm_interface_scrollable_scroll_right_cb_set_delegate(System.IntPtr obj, System.IntPtr pd, ElmInterfaceScrollableCb scroll_right_cb); public delegate void elm_interface_scrollable_scroll_right_cb_set_api_delegate(System.IntPtr obj, ElmInterfaceScrollableCb scroll_right_cb); public static Efl.Eo.FunctionWrapper elm_interface_scrollable_scroll_right_cb_set_ptr = new Efl.Eo.FunctionWrapper(Module, "elm_interface_scrollable_scroll_right_cb_set"); private static void scroll_right_cb_set(System.IntPtr obj, System.IntPtr pd, ElmInterfaceScrollableCb scroll_right_cb) { Eina.Log.Debug("function elm_interface_scrollable_scroll_right_cb_set was called"); var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj); if (ws != null) { try { ((IInterfaceScrollable)ws.Target).SetScrollRightCb(scroll_right_cb); } catch (Exception e) { Eina.Log.Warning($"Callback error: {e.ToString()}"); Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); } } else { elm_interface_scrollable_scroll_right_cb_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), scroll_right_cb); } } private static elm_interface_scrollable_scroll_right_cb_set_delegate elm_interface_scrollable_scroll_right_cb_set_static_delegate; private delegate void elm_interface_scrollable_content_set_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo))] Efl.Canvas.Object content); public delegate void elm_interface_scrollable_content_set_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo))] Efl.Canvas.Object content); public static Efl.Eo.FunctionWrapper elm_interface_scrollable_content_set_ptr = new Efl.Eo.FunctionWrapper(Module, "elm_interface_scrollable_content_set"); private static void scrollable_content_set(System.IntPtr obj, System.IntPtr pd, Efl.Canvas.Object content) { Eina.Log.Debug("function elm_interface_scrollable_content_set was called"); var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj); if (ws != null) { try { ((IInterfaceScrollable)ws.Target).SetScrollableContent(content); } catch (Exception e) { Eina.Log.Warning($"Callback error: {e.ToString()}"); Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); } } else { elm_interface_scrollable_content_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), content); } } private static elm_interface_scrollable_content_set_delegate elm_interface_scrollable_content_set_static_delegate; private delegate void elm_interface_scrollable_edge_left_cb_set_delegate(System.IntPtr obj, System.IntPtr pd, ElmInterfaceScrollableCb edge_left_cb); public delegate void elm_interface_scrollable_edge_left_cb_set_api_delegate(System.IntPtr obj, ElmInterfaceScrollableCb edge_left_cb); public static Efl.Eo.FunctionWrapper elm_interface_scrollable_edge_left_cb_set_ptr = new Efl.Eo.FunctionWrapper(Module, "elm_interface_scrollable_edge_left_cb_set"); private static void edge_left_cb_set(System.IntPtr obj, System.IntPtr pd, ElmInterfaceScrollableCb edge_left_cb) { Eina.Log.Debug("function elm_interface_scrollable_edge_left_cb_set was called"); var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj); if (ws != null) { try { ((IInterfaceScrollable)ws.Target).SetEdgeLeftCb(edge_left_cb); } catch (Exception e) { Eina.Log.Warning($"Callback error: {e.ToString()}"); Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); } } else { elm_interface_scrollable_edge_left_cb_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), edge_left_cb); } } private static elm_interface_scrollable_edge_left_cb_set_delegate elm_interface_scrollable_edge_left_cb_set_static_delegate; private delegate void elm_interface_scrollable_vbar_drag_cb_set_delegate(System.IntPtr obj, System.IntPtr pd, ElmInterfaceScrollableCb vbar_drag_cb); public delegate void elm_interface_scrollable_vbar_drag_cb_set_api_delegate(System.IntPtr obj, ElmInterfaceScrollableCb vbar_drag_cb); public static Efl.Eo.FunctionWrapper elm_interface_scrollable_vbar_drag_cb_set_ptr = new Efl.Eo.FunctionWrapper(Module, "elm_interface_scrollable_vbar_drag_cb_set"); private static void vbar_drag_cb_set(System.IntPtr obj, System.IntPtr pd, ElmInterfaceScrollableCb vbar_drag_cb) { Eina.Log.Debug("function elm_interface_scrollable_vbar_drag_cb_set was called"); var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj); if (ws != null) { try { ((IInterfaceScrollable)ws.Target).SetVbarDragCb(vbar_drag_cb); } catch (Exception e) { Eina.Log.Warning($"Callback error: {e.ToString()}"); Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); } } else { elm_interface_scrollable_vbar_drag_cb_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), vbar_drag_cb); } } private static elm_interface_scrollable_vbar_drag_cb_set_delegate elm_interface_scrollable_vbar_drag_cb_set_static_delegate; private delegate void elm_interface_scrollable_vbar_unpress_cb_set_delegate(System.IntPtr obj, System.IntPtr pd, ElmInterfaceScrollableCb vbar_unpress_cb); public delegate void elm_interface_scrollable_vbar_unpress_cb_set_api_delegate(System.IntPtr obj, ElmInterfaceScrollableCb vbar_unpress_cb); public static Efl.Eo.FunctionWrapper elm_interface_scrollable_vbar_unpress_cb_set_ptr = new Efl.Eo.FunctionWrapper(Module, "elm_interface_scrollable_vbar_unpress_cb_set"); private static void vbar_unpress_cb_set(System.IntPtr obj, System.IntPtr pd, ElmInterfaceScrollableCb vbar_unpress_cb) { Eina.Log.Debug("function elm_interface_scrollable_vbar_unpress_cb_set was called"); var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj); if (ws != null) { try { ((IInterfaceScrollable)ws.Target).SetVbarUnpressCb(vbar_unpress_cb); } catch (Exception e) { Eina.Log.Warning($"Callback error: {e.ToString()}"); Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); } } else { elm_interface_scrollable_vbar_unpress_cb_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), vbar_unpress_cb); } } private static elm_interface_scrollable_vbar_unpress_cb_set_delegate elm_interface_scrollable_vbar_unpress_cb_set_static_delegate; private delegate void elm_interface_scrollable_edge_bottom_cb_set_delegate(System.IntPtr obj, System.IntPtr pd, ElmInterfaceScrollableCb edge_bottom_cb); public delegate void elm_interface_scrollable_edge_bottom_cb_set_api_delegate(System.IntPtr obj, ElmInterfaceScrollableCb edge_bottom_cb); public static Efl.Eo.FunctionWrapper elm_interface_scrollable_edge_bottom_cb_set_ptr = new Efl.Eo.FunctionWrapper(Module, "elm_interface_scrollable_edge_bottom_cb_set"); private static void edge_bottom_cb_set(System.IntPtr obj, System.IntPtr pd, ElmInterfaceScrollableCb edge_bottom_cb) { Eina.Log.Debug("function elm_interface_scrollable_edge_bottom_cb_set was called"); var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj); if (ws != null) { try { ((IInterfaceScrollable)ws.Target).SetEdgeBottomCb(edge_bottom_cb); } catch (Exception e) { Eina.Log.Warning($"Callback error: {e.ToString()}"); Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); } } else { elm_interface_scrollable_edge_bottom_cb_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), edge_bottom_cb); } } private static elm_interface_scrollable_edge_bottom_cb_set_delegate elm_interface_scrollable_edge_bottom_cb_set_static_delegate; private delegate void elm_interface_scrollable_edge_right_cb_set_delegate(System.IntPtr obj, System.IntPtr pd, ElmInterfaceScrollableCb edge_right_cb); public delegate void elm_interface_scrollable_edge_right_cb_set_api_delegate(System.IntPtr obj, ElmInterfaceScrollableCb edge_right_cb); public static Efl.Eo.FunctionWrapper elm_interface_scrollable_edge_right_cb_set_ptr = new Efl.Eo.FunctionWrapper(Module, "elm_interface_scrollable_edge_right_cb_set"); private static void edge_right_cb_set(System.IntPtr obj, System.IntPtr pd, ElmInterfaceScrollableCb edge_right_cb) { Eina.Log.Debug("function elm_interface_scrollable_edge_right_cb_set was called"); var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj); if (ws != null) { try { ((IInterfaceScrollable)ws.Target).SetEdgeRightCb(edge_right_cb); } catch (Exception e) { Eina.Log.Warning($"Callback error: {e.ToString()}"); Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); } } else { elm_interface_scrollable_edge_right_cb_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), edge_right_cb); } } private static elm_interface_scrollable_edge_right_cb_set_delegate elm_interface_scrollable_edge_right_cb_set_static_delegate; private delegate void elm_interface_scrollable_edge_top_cb_set_delegate(System.IntPtr obj, System.IntPtr pd, ElmInterfaceScrollableCb edge_top_cb); public delegate void elm_interface_scrollable_edge_top_cb_set_api_delegate(System.IntPtr obj, ElmInterfaceScrollableCb edge_top_cb); public static Efl.Eo.FunctionWrapper elm_interface_scrollable_edge_top_cb_set_ptr = new Efl.Eo.FunctionWrapper(Module, "elm_interface_scrollable_edge_top_cb_set"); private static void edge_top_cb_set(System.IntPtr obj, System.IntPtr pd, ElmInterfaceScrollableCb edge_top_cb) { Eina.Log.Debug("function elm_interface_scrollable_edge_top_cb_set was called"); var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj); if (ws != null) { try { ((IInterfaceScrollable)ws.Target).SetEdgeTopCb(edge_top_cb); } catch (Exception e) { Eina.Log.Warning($"Callback error: {e.ToString()}"); Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); } } else { elm_interface_scrollable_edge_top_cb_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), edge_top_cb); } } private static elm_interface_scrollable_edge_top_cb_set_delegate elm_interface_scrollable_edge_top_cb_set_static_delegate; private delegate void elm_interface_scrollable_objects_set_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo))] Efl.Canvas.Object edje_object, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo))] Efl.Canvas.Object hit_rectangle); public delegate void elm_interface_scrollable_objects_set_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo))] Efl.Canvas.Object edje_object, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo))] Efl.Canvas.Object hit_rectangle); public static Efl.Eo.FunctionWrapper elm_interface_scrollable_objects_set_ptr = new Efl.Eo.FunctionWrapper(Module, "elm_interface_scrollable_objects_set"); private static void objects_set(System.IntPtr obj, System.IntPtr pd, Efl.Canvas.Object edje_object, Efl.Canvas.Object hit_rectangle) { Eina.Log.Debug("function elm_interface_scrollable_objects_set was called"); var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj); if (ws != null) { try { ((IInterfaceScrollable)ws.Target).SetObjects(edje_object, hit_rectangle); } catch (Exception e) { Eina.Log.Warning($"Callback error: {e.ToString()}"); Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); } } else { elm_interface_scrollable_objects_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), edje_object, hit_rectangle); } } private static elm_interface_scrollable_objects_set_delegate elm_interface_scrollable_objects_set_static_delegate; private delegate void elm_interface_scrollable_last_page_get_delegate(System.IntPtr obj, System.IntPtr pd, out int pagenumber_h, out int pagenumber_v); public delegate void elm_interface_scrollable_last_page_get_api_delegate(System.IntPtr obj, out int pagenumber_h, out int pagenumber_v); public static Efl.Eo.FunctionWrapper elm_interface_scrollable_last_page_get_ptr = new Efl.Eo.FunctionWrapper(Module, "elm_interface_scrollable_last_page_get"); private static void last_page_get(System.IntPtr obj, System.IntPtr pd, out int pagenumber_h, out int pagenumber_v) { Eina.Log.Debug("function elm_interface_scrollable_last_page_get was called"); var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj); if (ws != null) { pagenumber_h = default(int); pagenumber_v = default(int); try { ((IInterfaceScrollable)ws.Target).GetLastPage(out pagenumber_h, out pagenumber_v); } catch (Exception e) { Eina.Log.Warning($"Callback error: {e.ToString()}"); Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); } } else { elm_interface_scrollable_last_page_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), out pagenumber_h, out pagenumber_v); } } private static elm_interface_scrollable_last_page_get_delegate elm_interface_scrollable_last_page_get_static_delegate; private delegate void elm_interface_scrollable_current_page_get_delegate(System.IntPtr obj, System.IntPtr pd, out int pagenumber_h, out int pagenumber_v); public delegate void elm_interface_scrollable_current_page_get_api_delegate(System.IntPtr obj, out int pagenumber_h, out int pagenumber_v); public static Efl.Eo.FunctionWrapper elm_interface_scrollable_current_page_get_ptr = new Efl.Eo.FunctionWrapper(Module, "elm_interface_scrollable_current_page_get"); private static void current_page_get(System.IntPtr obj, System.IntPtr pd, out int pagenumber_h, out int pagenumber_v) { Eina.Log.Debug("function elm_interface_scrollable_current_page_get was called"); var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj); if (ws != null) { pagenumber_h = default(int); pagenumber_v = default(int); try { ((IInterfaceScrollable)ws.Target).GetCurrentPage(out pagenumber_h, out pagenumber_v); } catch (Exception e) { Eina.Log.Warning($"Callback error: {e.ToString()}"); Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); } } else { elm_interface_scrollable_current_page_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), out pagenumber_h, out pagenumber_v); } } private static elm_interface_scrollable_current_page_get_delegate elm_interface_scrollable_current_page_get_static_delegate; private delegate void elm_interface_scrollable_content_viewport_geometry_get_delegate(System.IntPtr obj, System.IntPtr pd, out int x, out int y, out int w, out int h); public delegate void elm_interface_scrollable_content_viewport_geometry_get_api_delegate(System.IntPtr obj, out int x, out int y, out int w, out int h); public static Efl.Eo.FunctionWrapper elm_interface_scrollable_content_viewport_geometry_get_ptr = new Efl.Eo.FunctionWrapper(Module, "elm_interface_scrollable_content_viewport_geometry_get"); private static void content_viewport_geometry_get(System.IntPtr obj, System.IntPtr pd, out int x, out int y, out int w, out int h) { Eina.Log.Debug("function elm_interface_scrollable_content_viewport_geometry_get was called"); var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj); if (ws != null) { x = default(int); y = default(int); w = default(int); h = default(int); try { ((IInterfaceScrollable)ws.Target).GetContentViewportGeometry(out x, out y, out w, out h); } catch (Exception e) { Eina.Log.Warning($"Callback error: {e.ToString()}"); Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); } } else { elm_interface_scrollable_content_viewport_geometry_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), out x, out y, out w, out h); } } private static elm_interface_scrollable_content_viewport_geometry_get_delegate elm_interface_scrollable_content_viewport_geometry_get_static_delegate; private delegate void elm_interface_scrollable_content_size_get_delegate(System.IntPtr obj, System.IntPtr pd, out int w, out int h); public delegate void elm_interface_scrollable_content_size_get_api_delegate(System.IntPtr obj, out int w, out int h); public static Efl.Eo.FunctionWrapper elm_interface_scrollable_content_size_get_ptr = new Efl.Eo.FunctionWrapper(Module, "elm_interface_scrollable_content_size_get"); private static void content_size_get(System.IntPtr obj, System.IntPtr pd, out int w, out int h) { Eina.Log.Debug("function elm_interface_scrollable_content_size_get was called"); var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj); if (ws != null) { w = default(int); h = default(int); try { ((IInterfaceScrollable)ws.Target).GetContentSize(out w, out h); } catch (Exception e) { Eina.Log.Warning($"Callback error: {e.ToString()}"); Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); } } else { elm_interface_scrollable_content_size_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), out w, out h); } } private static elm_interface_scrollable_content_size_get_delegate elm_interface_scrollable_content_size_get_static_delegate; [return: MarshalAs(UnmanagedType.U1)] private delegate bool elm_interface_scrollable_item_loop_enabled_get_delegate(System.IntPtr obj, System.IntPtr pd); [return: MarshalAs(UnmanagedType.U1)] public delegate bool elm_interface_scrollable_item_loop_enabled_get_api_delegate(System.IntPtr obj); public static Efl.Eo.FunctionWrapper elm_interface_scrollable_item_loop_enabled_get_ptr = new Efl.Eo.FunctionWrapper(Module, "elm_interface_scrollable_item_loop_enabled_get"); private static bool item_loop_enabled_get(System.IntPtr obj, System.IntPtr pd) { Eina.Log.Debug("function elm_interface_scrollable_item_loop_enabled_get was called"); var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj); if (ws != null) { bool _ret_var = default(bool); try { _ret_var = ((IInterfaceScrollable)ws.Target).GetItemLoopEnabled(); } catch (Exception e) { Eina.Log.Warning($"Callback error: {e.ToString()}"); Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); } return _ret_var; } else { return elm_interface_scrollable_item_loop_enabled_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj))); } } private static elm_interface_scrollable_item_loop_enabled_get_delegate elm_interface_scrollable_item_loop_enabled_get_static_delegate; private delegate void elm_interface_scrollable_item_loop_enabled_set_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.U1)] bool enable); public delegate void elm_interface_scrollable_item_loop_enabled_set_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.U1)] bool enable); public static Efl.Eo.FunctionWrapper elm_interface_scrollable_item_loop_enabled_set_ptr = new Efl.Eo.FunctionWrapper(Module, "elm_interface_scrollable_item_loop_enabled_set"); private static void item_loop_enabled_set(System.IntPtr obj, System.IntPtr pd, bool enable) { Eina.Log.Debug("function elm_interface_scrollable_item_loop_enabled_set was called"); var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj); if (ws != null) { try { ((IInterfaceScrollable)ws.Target).SetItemLoopEnabled(enable); } catch (Exception e) { Eina.Log.Warning($"Callback error: {e.ToString()}"); Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); } } else { elm_interface_scrollable_item_loop_enabled_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), enable); } } private static elm_interface_scrollable_item_loop_enabled_set_delegate elm_interface_scrollable_item_loop_enabled_set_static_delegate; private delegate void elm_interface_scrollable_content_pos_set_delegate(System.IntPtr obj, System.IntPtr pd, int x, int y, [MarshalAs(UnmanagedType.U1)] bool sig); public delegate void elm_interface_scrollable_content_pos_set_api_delegate(System.IntPtr obj, int x, int y, [MarshalAs(UnmanagedType.U1)] bool sig); public static Efl.Eo.FunctionWrapper elm_interface_scrollable_content_pos_set_ptr = new Efl.Eo.FunctionWrapper(Module, "elm_interface_scrollable_content_pos_set"); private static void content_pos_set(System.IntPtr obj, System.IntPtr pd, int x, int y, bool sig) { Eina.Log.Debug("function elm_interface_scrollable_content_pos_set was called"); var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj); if (ws != null) { try { ((IInterfaceScrollable)ws.Target).SetContentPos(x, y, sig); } catch (Exception e) { Eina.Log.Warning($"Callback error: {e.ToString()}"); Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); } } else { elm_interface_scrollable_content_pos_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), x, y, sig); } } private static elm_interface_scrollable_content_pos_set_delegate elm_interface_scrollable_content_pos_set_static_delegate; private delegate void elm_interface_scrollable_content_pos_get_delegate(System.IntPtr obj, System.IntPtr pd, out int x, out int y); public delegate void elm_interface_scrollable_content_pos_get_api_delegate(System.IntPtr obj, out int x, out int y); public static Efl.Eo.FunctionWrapper elm_interface_scrollable_content_pos_get_ptr = new Efl.Eo.FunctionWrapper(Module, "elm_interface_scrollable_content_pos_get"); private static void content_pos_get(System.IntPtr obj, System.IntPtr pd, out int x, out int y) { Eina.Log.Debug("function elm_interface_scrollable_content_pos_get was called"); var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj); if (ws != null) { x = default(int); y = default(int); try { ((IInterfaceScrollable)ws.Target).GetContentPos(out x, out y); } catch (Exception e) { Eina.Log.Warning($"Callback error: {e.ToString()}"); Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); } } else { elm_interface_scrollable_content_pos_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), out x, out y); } } private static elm_interface_scrollable_content_pos_get_delegate elm_interface_scrollable_content_pos_get_static_delegate; private delegate void elm_interface_scrollable_page_show_delegate(System.IntPtr obj, System.IntPtr pd, int pagenumber_h, int pagenumber_v); public delegate void elm_interface_scrollable_page_show_api_delegate(System.IntPtr obj, int pagenumber_h, int pagenumber_v); public static Efl.Eo.FunctionWrapper elm_interface_scrollable_page_show_ptr = new Efl.Eo.FunctionWrapper(Module, "elm_interface_scrollable_page_show"); private static void page_show(System.IntPtr obj, System.IntPtr pd, int pagenumber_h, int pagenumber_v) { Eina.Log.Debug("function elm_interface_scrollable_page_show was called"); var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj); if (ws != null) { try { ((IInterfaceScrollable)ws.Target).ShowPage(pagenumber_h, pagenumber_v); } catch (Exception e) { Eina.Log.Warning($"Callback error: {e.ToString()}"); Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); } } else { elm_interface_scrollable_page_show_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), pagenumber_h, pagenumber_v); } } private static elm_interface_scrollable_page_show_delegate elm_interface_scrollable_page_show_static_delegate; private delegate void elm_interface_scrollable_region_bring_in_delegate(System.IntPtr obj, System.IntPtr pd, int x, int y, int w, int h); public delegate void elm_interface_scrollable_region_bring_in_api_delegate(System.IntPtr obj, int x, int y, int w, int h); public static Efl.Eo.FunctionWrapper elm_interface_scrollable_region_bring_in_ptr = new Efl.Eo.FunctionWrapper(Module, "elm_interface_scrollable_region_bring_in"); private static void region_bring_in(System.IntPtr obj, System.IntPtr pd, int x, int y, int w, int h) { Eina.Log.Debug("function elm_interface_scrollable_region_bring_in was called"); var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj); if (ws != null) { try { ((IInterfaceScrollable)ws.Target).RegionBringIn(x, y, w, h); } catch (Exception e) { Eina.Log.Warning($"Callback error: {e.ToString()}"); Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); } } else { elm_interface_scrollable_region_bring_in_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), x, y, w, h); } } private static elm_interface_scrollable_region_bring_in_delegate elm_interface_scrollable_region_bring_in_static_delegate; private delegate void elm_interface_scrollable_page_bring_in_delegate(System.IntPtr obj, System.IntPtr pd, int pagenumber_h, int pagenumber_v); public delegate void elm_interface_scrollable_page_bring_in_api_delegate(System.IntPtr obj, int pagenumber_h, int pagenumber_v); public static Efl.Eo.FunctionWrapper elm_interface_scrollable_page_bring_in_ptr = new Efl.Eo.FunctionWrapper(Module, "elm_interface_scrollable_page_bring_in"); private static void page_bring_in(System.IntPtr obj, System.IntPtr pd, int pagenumber_h, int pagenumber_v) { Eina.Log.Debug("function elm_interface_scrollable_page_bring_in was called"); var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj); if (ws != null) { try { ((IInterfaceScrollable)ws.Target).PageBringIn(pagenumber_h, pagenumber_v); } catch (Exception e) { Eina.Log.Warning($"Callback error: {e.ToString()}"); Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); } } else { elm_interface_scrollable_page_bring_in_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), pagenumber_h, pagenumber_v); } } private static elm_interface_scrollable_page_bring_in_delegate elm_interface_scrollable_page_bring_in_static_delegate; private delegate void elm_interface_scrollable_content_region_show_delegate(System.IntPtr obj, System.IntPtr pd, int x, int y, int w, int h); public delegate void elm_interface_scrollable_content_region_show_api_delegate(System.IntPtr obj, int x, int y, int w, int h); public static Efl.Eo.FunctionWrapper elm_interface_scrollable_content_region_show_ptr = new Efl.Eo.FunctionWrapper(Module, "elm_interface_scrollable_content_region_show"); private static void content_region_show(System.IntPtr obj, System.IntPtr pd, int x, int y, int w, int h) { Eina.Log.Debug("function elm_interface_scrollable_content_region_show was called"); var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj); if (ws != null) { try { ((IInterfaceScrollable)ws.Target).ShowContentRegion(x, y, w, h); } catch (Exception e) { Eina.Log.Warning($"Callback error: {e.ToString()}"); Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); } } else { elm_interface_scrollable_content_region_show_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), x, y, w, h); } } private static elm_interface_scrollable_content_region_show_delegate elm_interface_scrollable_content_region_show_static_delegate; private delegate void elm_interface_scrollable_content_min_limit_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.U1)] bool w, [MarshalAs(UnmanagedType.U1)] bool h); public delegate void elm_interface_scrollable_content_min_limit_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.U1)] bool w, [MarshalAs(UnmanagedType.U1)] bool h); public static Efl.Eo.FunctionWrapper elm_interface_scrollable_content_min_limit_ptr = new Efl.Eo.FunctionWrapper(Module, "elm_interface_scrollable_content_min_limit"); private static void content_min_limit(System.IntPtr obj, System.IntPtr pd, bool w, bool h) { Eina.Log.Debug("function elm_interface_scrollable_content_min_limit was called"); var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj); if (ws != null) { try { ((IInterfaceScrollable)ws.Target).ContentMinLimit(w, h); } catch (Exception e) { Eina.Log.Warning($"Callback error: {e.ToString()}"); Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); } } else { elm_interface_scrollable_content_min_limit_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), w, h); } } private static elm_interface_scrollable_content_min_limit_delegate elm_interface_scrollable_content_min_limit_static_delegate; private delegate void elm_interface_scrollable_wanted_region_set_delegate(System.IntPtr obj, System.IntPtr pd, int x, int y); public delegate void elm_interface_scrollable_wanted_region_set_api_delegate(System.IntPtr obj, int x, int y); public static Efl.Eo.FunctionWrapper elm_interface_scrollable_wanted_region_set_ptr = new Efl.Eo.FunctionWrapper(Module, "elm_interface_scrollable_wanted_region_set"); private static void wanted_region_set(System.IntPtr obj, System.IntPtr pd, int x, int y) { Eina.Log.Debug("function elm_interface_scrollable_wanted_region_set was called"); var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj); if (ws != null) { try { ((IInterfaceScrollable)ws.Target).SetWantedRegion(x, y); } catch (Exception e) { Eina.Log.Warning($"Callback error: {e.ToString()}"); Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); } } else { elm_interface_scrollable_wanted_region_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), x, y); } } private static elm_interface_scrollable_wanted_region_set_delegate elm_interface_scrollable_wanted_region_set_static_delegate; private delegate void elm_interface_scrollable_custom_pan_pos_adjust_delegate(System.IntPtr obj, System.IntPtr pd, System.IntPtr x, System.IntPtr y); public delegate void elm_interface_scrollable_custom_pan_pos_adjust_api_delegate(System.IntPtr obj, System.IntPtr x, System.IntPtr y); public static Efl.Eo.FunctionWrapper elm_interface_scrollable_custom_pan_pos_adjust_ptr = new Efl.Eo.FunctionWrapper(Module, "elm_interface_scrollable_custom_pan_pos_adjust"); private static void custom_pan_pos_adjust(System.IntPtr obj, System.IntPtr pd, System.IntPtr x, System.IntPtr y) { Eina.Log.Debug("function elm_interface_scrollable_custom_pan_pos_adjust was called"); var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj); if (ws != null) { var _in_x = Eina.PrimitiveConversion.PointerToManaged(x); var _in_y = Eina.PrimitiveConversion.PointerToManaged(y); try { ((IInterfaceScrollable)ws.Target).CustomPanPosAdjust(_in_x, _in_y); } catch (Exception e) { Eina.Log.Warning($"Callback error: {e.ToString()}"); Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); } } else { elm_interface_scrollable_custom_pan_pos_adjust_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), x, y); } } private static elm_interface_scrollable_custom_pan_pos_adjust_delegate elm_interface_scrollable_custom_pan_pos_adjust_static_delegate; [return:MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo))] private delegate Efl.Ui.Focus.IManager efl_ui_widget_focus_manager_create_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo))] Efl.Ui.Focus.IObject root); [return:MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo))] public delegate Efl.Ui.Focus.IManager efl_ui_widget_focus_manager_create_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo))] Efl.Ui.Focus.IObject root); public static Efl.Eo.FunctionWrapper efl_ui_widget_focus_manager_create_ptr = new Efl.Eo.FunctionWrapper(Module, "efl_ui_widget_focus_manager_create"); private static Efl.Ui.Focus.IManager focus_manager_create(System.IntPtr obj, System.IntPtr pd, Efl.Ui.Focus.IObject root) { Eina.Log.Debug("function efl_ui_widget_focus_manager_create was called"); var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj); if (ws != null) { Efl.Ui.Focus.IManager _ret_var = default(Efl.Ui.Focus.IManager); try { _ret_var = ((IInterfaceScrollable)ws.Target).FocusManagerCreate(root); } catch (Exception e) { Eina.Log.Warning($"Callback error: {e.ToString()}"); Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); } return _ret_var; } else { return efl_ui_widget_focus_manager_create_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), root); } } private static efl_ui_widget_focus_manager_create_delegate efl_ui_widget_focus_manager_create_static_delegate; [return:MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo))] private delegate Efl.Ui.Focus.IObject efl_ui_focus_manager_focus_get_delegate(System.IntPtr obj, System.IntPtr pd); [return:MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo))] public delegate Efl.Ui.Focus.IObject efl_ui_focus_manager_focus_get_api_delegate(System.IntPtr obj); public static Efl.Eo.FunctionWrapper efl_ui_focus_manager_focus_get_ptr = new Efl.Eo.FunctionWrapper(Module, "efl_ui_focus_manager_focus_get"); private static Efl.Ui.Focus.IObject manager_focus_get(System.IntPtr obj, System.IntPtr pd) { Eina.Log.Debug("function efl_ui_focus_manager_focus_get was called"); var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj); if (ws != null) { Efl.Ui.Focus.IObject _ret_var = default(Efl.Ui.Focus.IObject); try { _ret_var = ((IInterfaceScrollable)ws.Target).GetManagerFocus(); } catch (Exception e) { Eina.Log.Warning($"Callback error: {e.ToString()}"); Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); } return _ret_var; } else { return efl_ui_focus_manager_focus_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj))); } } private static efl_ui_focus_manager_focus_get_delegate efl_ui_focus_manager_focus_get_static_delegate; private delegate void efl_ui_focus_manager_focus_set_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo))] Efl.Ui.Focus.IObject focus); public delegate void efl_ui_focus_manager_focus_set_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo))] Efl.Ui.Focus.IObject focus); public static Efl.Eo.FunctionWrapper efl_ui_focus_manager_focus_set_ptr = new Efl.Eo.FunctionWrapper(Module, "efl_ui_focus_manager_focus_set"); private static void manager_focus_set(System.IntPtr obj, System.IntPtr pd, Efl.Ui.Focus.IObject focus) { Eina.Log.Debug("function efl_ui_focus_manager_focus_set was called"); var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj); if (ws != null) { try { ((IInterfaceScrollable)ws.Target).SetManagerFocus(focus); } catch (Exception e) { Eina.Log.Warning($"Callback error: {e.ToString()}"); Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); } } else { efl_ui_focus_manager_focus_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), focus); } } private static efl_ui_focus_manager_focus_set_delegate efl_ui_focus_manager_focus_set_static_delegate; [return:MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo))] private delegate Efl.Ui.Focus.IManager efl_ui_focus_manager_redirect_get_delegate(System.IntPtr obj, System.IntPtr pd); [return:MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo))] public delegate Efl.Ui.Focus.IManager efl_ui_focus_manager_redirect_get_api_delegate(System.IntPtr obj); public static Efl.Eo.FunctionWrapper efl_ui_focus_manager_redirect_get_ptr = new Efl.Eo.FunctionWrapper(Module, "efl_ui_focus_manager_redirect_get"); private static Efl.Ui.Focus.IManager redirect_get(System.IntPtr obj, System.IntPtr pd) { Eina.Log.Debug("function efl_ui_focus_manager_redirect_get was called"); var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj); if (ws != null) { Efl.Ui.Focus.IManager _ret_var = default(Efl.Ui.Focus.IManager); try { _ret_var = ((IInterfaceScrollable)ws.Target).GetRedirect(); } catch (Exception e) { Eina.Log.Warning($"Callback error: {e.ToString()}"); Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); } return _ret_var; } else { return efl_ui_focus_manager_redirect_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj))); } } private static efl_ui_focus_manager_redirect_get_delegate efl_ui_focus_manager_redirect_get_static_delegate; private delegate void efl_ui_focus_manager_redirect_set_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo))] Efl.Ui.Focus.IManager redirect); public delegate void efl_ui_focus_manager_redirect_set_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo))] Efl.Ui.Focus.IManager redirect); public static Efl.Eo.FunctionWrapper efl_ui_focus_manager_redirect_set_ptr = new Efl.Eo.FunctionWrapper(Module, "efl_ui_focus_manager_redirect_set"); private static void redirect_set(System.IntPtr obj, System.IntPtr pd, Efl.Ui.Focus.IManager redirect) { Eina.Log.Debug("function efl_ui_focus_manager_redirect_set was called"); var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj); if (ws != null) { try { ((IInterfaceScrollable)ws.Target).SetRedirect(redirect); } catch (Exception e) { Eina.Log.Warning($"Callback error: {e.ToString()}"); Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); } } else { efl_ui_focus_manager_redirect_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), redirect); } } private static efl_ui_focus_manager_redirect_set_delegate efl_ui_focus_manager_redirect_set_static_delegate; private delegate System.IntPtr efl_ui_focus_manager_border_elements_get_delegate(System.IntPtr obj, System.IntPtr pd); public delegate System.IntPtr efl_ui_focus_manager_border_elements_get_api_delegate(System.IntPtr obj); public static Efl.Eo.FunctionWrapper efl_ui_focus_manager_border_elements_get_ptr = new Efl.Eo.FunctionWrapper(Module, "efl_ui_focus_manager_border_elements_get"); private static System.IntPtr border_elements_get(System.IntPtr obj, System.IntPtr pd) { Eina.Log.Debug("function efl_ui_focus_manager_border_elements_get was called"); var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj); if (ws != null) { Eina.Iterator _ret_var = default(Eina.Iterator); try { _ret_var = ((IInterfaceScrollable)ws.Target).GetBorderElements(); } catch (Exception e) { Eina.Log.Warning($"Callback error: {e.ToString()}"); Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); } return _ret_var.Handle; } else { return efl_ui_focus_manager_border_elements_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj))); } } private static efl_ui_focus_manager_border_elements_get_delegate efl_ui_focus_manager_border_elements_get_static_delegate; private delegate System.IntPtr efl_ui_focus_manager_viewport_elements_get_delegate(System.IntPtr obj, System.IntPtr pd, Eina.Rect.NativeStruct viewport); public delegate System.IntPtr efl_ui_focus_manager_viewport_elements_get_api_delegate(System.IntPtr obj, Eina.Rect.NativeStruct viewport); public static Efl.Eo.FunctionWrapper efl_ui_focus_manager_viewport_elements_get_ptr = new Efl.Eo.FunctionWrapper(Module, "efl_ui_focus_manager_viewport_elements_get"); private static System.IntPtr viewport_elements_get(System.IntPtr obj, System.IntPtr pd, Eina.Rect.NativeStruct viewport) { Eina.Log.Debug("function efl_ui_focus_manager_viewport_elements_get was called"); var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj); if (ws != null) { Eina.Rect _in_viewport = viewport; Eina.Iterator _ret_var = default(Eina.Iterator); try { _ret_var = ((IInterfaceScrollable)ws.Target).GetViewportElements(_in_viewport); } catch (Exception e) { Eina.Log.Warning($"Callback error: {e.ToString()}"); Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); } return _ret_var.Handle; } else { return efl_ui_focus_manager_viewport_elements_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), viewport); } } private static efl_ui_focus_manager_viewport_elements_get_delegate efl_ui_focus_manager_viewport_elements_get_static_delegate; [return:MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo))] private delegate Efl.Ui.Focus.IObject efl_ui_focus_manager_root_get_delegate(System.IntPtr obj, System.IntPtr pd); [return:MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo))] public delegate Efl.Ui.Focus.IObject efl_ui_focus_manager_root_get_api_delegate(System.IntPtr obj); public static Efl.Eo.FunctionWrapper efl_ui_focus_manager_root_get_ptr = new Efl.Eo.FunctionWrapper(Module, "efl_ui_focus_manager_root_get"); private static Efl.Ui.Focus.IObject root_get(System.IntPtr obj, System.IntPtr pd) { Eina.Log.Debug("function efl_ui_focus_manager_root_get was called"); var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj); if (ws != null) { Efl.Ui.Focus.IObject _ret_var = default(Efl.Ui.Focus.IObject); try { _ret_var = ((IInterfaceScrollable)ws.Target).GetRoot(); } catch (Exception e) { Eina.Log.Warning($"Callback error: {e.ToString()}"); Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); } return _ret_var; } else { return efl_ui_focus_manager_root_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj))); } } private static efl_ui_focus_manager_root_get_delegate efl_ui_focus_manager_root_get_static_delegate; [return: MarshalAs(UnmanagedType.U1)] private delegate bool efl_ui_focus_manager_root_set_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo))] Efl.Ui.Focus.IObject root); [return: MarshalAs(UnmanagedType.U1)] public delegate bool efl_ui_focus_manager_root_set_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo))] Efl.Ui.Focus.IObject root); public static Efl.Eo.FunctionWrapper efl_ui_focus_manager_root_set_ptr = new Efl.Eo.FunctionWrapper(Module, "efl_ui_focus_manager_root_set"); private static bool root_set(System.IntPtr obj, System.IntPtr pd, Efl.Ui.Focus.IObject root) { Eina.Log.Debug("function efl_ui_focus_manager_root_set was called"); var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj); if (ws != null) { bool _ret_var = default(bool); try { _ret_var = ((IInterfaceScrollable)ws.Target).SetRoot(root); } catch (Exception e) { Eina.Log.Warning($"Callback error: {e.ToString()}"); Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); } return _ret_var; } else { return efl_ui_focus_manager_root_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), root); } } private static efl_ui_focus_manager_root_set_delegate efl_ui_focus_manager_root_set_static_delegate; [return:MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo))] private delegate Efl.Ui.Focus.IObject efl_ui_focus_manager_move_delegate(System.IntPtr obj, System.IntPtr pd, Efl.Ui.Focus.Direction direction); [return:MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo))] public delegate Efl.Ui.Focus.IObject efl_ui_focus_manager_move_api_delegate(System.IntPtr obj, Efl.Ui.Focus.Direction direction); public static Efl.Eo.FunctionWrapper efl_ui_focus_manager_move_ptr = new Efl.Eo.FunctionWrapper(Module, "efl_ui_focus_manager_move"); private static Efl.Ui.Focus.IObject move(System.IntPtr obj, System.IntPtr pd, Efl.Ui.Focus.Direction direction) { Eina.Log.Debug("function efl_ui_focus_manager_move was called"); var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj); if (ws != null) { Efl.Ui.Focus.IObject _ret_var = default(Efl.Ui.Focus.IObject); try { _ret_var = ((IInterfaceScrollable)ws.Target).Move(direction); } catch (Exception e) { Eina.Log.Warning($"Callback error: {e.ToString()}"); Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); } return _ret_var; } else { return efl_ui_focus_manager_move_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), direction); } } private static efl_ui_focus_manager_move_delegate efl_ui_focus_manager_move_static_delegate; [return:MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo))] private delegate Efl.Ui.Focus.IObject efl_ui_focus_manager_request_move_delegate(System.IntPtr obj, System.IntPtr pd, Efl.Ui.Focus.Direction direction, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo))] Efl.Ui.Focus.IObject child, [MarshalAs(UnmanagedType.U1)] bool logical); [return:MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo))] public delegate Efl.Ui.Focus.IObject efl_ui_focus_manager_request_move_api_delegate(System.IntPtr obj, Efl.Ui.Focus.Direction direction, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo))] Efl.Ui.Focus.IObject child, [MarshalAs(UnmanagedType.U1)] bool logical); public static Efl.Eo.FunctionWrapper efl_ui_focus_manager_request_move_ptr = new Efl.Eo.FunctionWrapper(Module, "efl_ui_focus_manager_request_move"); private static Efl.Ui.Focus.IObject request_move(System.IntPtr obj, System.IntPtr pd, Efl.Ui.Focus.Direction direction, Efl.Ui.Focus.IObject child, bool logical) { Eina.Log.Debug("function efl_ui_focus_manager_request_move was called"); var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj); if (ws != null) { Efl.Ui.Focus.IObject _ret_var = default(Efl.Ui.Focus.IObject); try { _ret_var = ((IInterfaceScrollable)ws.Target).MoveRequest(direction, child, logical); } catch (Exception e) { Eina.Log.Warning($"Callback error: {e.ToString()}"); Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); } return _ret_var; } else { return efl_ui_focus_manager_request_move_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), direction, child, logical); } } private static efl_ui_focus_manager_request_move_delegate efl_ui_focus_manager_request_move_static_delegate; [return:MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo))] private delegate Efl.Ui.Focus.IObject efl_ui_focus_manager_request_subchild_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo))] Efl.Ui.Focus.IObject root); [return:MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo))] public delegate Efl.Ui.Focus.IObject efl_ui_focus_manager_request_subchild_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo))] Efl.Ui.Focus.IObject root); public static Efl.Eo.FunctionWrapper efl_ui_focus_manager_request_subchild_ptr = new Efl.Eo.FunctionWrapper(Module, "efl_ui_focus_manager_request_subchild"); private static Efl.Ui.Focus.IObject request_subchild(System.IntPtr obj, System.IntPtr pd, Efl.Ui.Focus.IObject root) { Eina.Log.Debug("function efl_ui_focus_manager_request_subchild was called"); var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj); if (ws != null) { Efl.Ui.Focus.IObject _ret_var = default(Efl.Ui.Focus.IObject); try { _ret_var = ((IInterfaceScrollable)ws.Target).RequestSubchild(root); } catch (Exception e) { Eina.Log.Warning($"Callback error: {e.ToString()}"); Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); } return _ret_var; } else { return efl_ui_focus_manager_request_subchild_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), root); } } private static efl_ui_focus_manager_request_subchild_delegate efl_ui_focus_manager_request_subchild_static_delegate; private delegate System.IntPtr efl_ui_focus_manager_fetch_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo))] Efl.Ui.Focus.IObject child); public delegate System.IntPtr efl_ui_focus_manager_fetch_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo))] Efl.Ui.Focus.IObject child); public static Efl.Eo.FunctionWrapper efl_ui_focus_manager_fetch_ptr = new Efl.Eo.FunctionWrapper(Module, "efl_ui_focus_manager_fetch"); private static System.IntPtr fetch(System.IntPtr obj, System.IntPtr pd, Efl.Ui.Focus.IObject child) { Eina.Log.Debug("function efl_ui_focus_manager_fetch was called"); var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj); if (ws != null) { Efl.Ui.Focus.Relations _ret_var = default(Efl.Ui.Focus.Relations); try { _ret_var = ((IInterfaceScrollable)ws.Target).Fetch(child); } catch (Exception e) { Eina.Log.Warning($"Callback error: {e.ToString()}"); Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); } return Eina.PrimitiveConversion.ManagedToPointerAlloc(_ret_var); } else { return efl_ui_focus_manager_fetch_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), child); } } private static efl_ui_focus_manager_fetch_delegate efl_ui_focus_manager_fetch_static_delegate; private delegate Efl.Ui.Focus.ManagerLogicalEndDetail.NativeStruct efl_ui_focus_manager_logical_end_delegate(System.IntPtr obj, System.IntPtr pd); public delegate Efl.Ui.Focus.ManagerLogicalEndDetail.NativeStruct efl_ui_focus_manager_logical_end_api_delegate(System.IntPtr obj); public static Efl.Eo.FunctionWrapper efl_ui_focus_manager_logical_end_ptr = new Efl.Eo.FunctionWrapper(Module, "efl_ui_focus_manager_logical_end"); private static Efl.Ui.Focus.ManagerLogicalEndDetail.NativeStruct logical_end(System.IntPtr obj, System.IntPtr pd) { Eina.Log.Debug("function efl_ui_focus_manager_logical_end was called"); var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj); if (ws != null) { Efl.Ui.Focus.ManagerLogicalEndDetail _ret_var = default(Efl.Ui.Focus.ManagerLogicalEndDetail); try { _ret_var = ((IInterfaceScrollable)ws.Target).LogicalEnd(); } catch (Exception e) { Eina.Log.Warning($"Callback error: {e.ToString()}"); Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); } return _ret_var; } else { return efl_ui_focus_manager_logical_end_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj))); } } private static efl_ui_focus_manager_logical_end_delegate efl_ui_focus_manager_logical_end_static_delegate; private delegate void efl_ui_focus_manager_reset_history_delegate(System.IntPtr obj, System.IntPtr pd); public delegate void efl_ui_focus_manager_reset_history_api_delegate(System.IntPtr obj); public static Efl.Eo.FunctionWrapper efl_ui_focus_manager_reset_history_ptr = new Efl.Eo.FunctionWrapper(Module, "efl_ui_focus_manager_reset_history"); private static void reset_history(System.IntPtr obj, System.IntPtr pd) { Eina.Log.Debug("function efl_ui_focus_manager_reset_history was called"); var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj); if (ws != null) { try { ((IInterfaceScrollable)ws.Target).ResetHistory(); } catch (Exception e) { Eina.Log.Warning($"Callback error: {e.ToString()}"); Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); } } else { efl_ui_focus_manager_reset_history_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj))); } } private static efl_ui_focus_manager_reset_history_delegate efl_ui_focus_manager_reset_history_static_delegate; private delegate void efl_ui_focus_manager_pop_history_stack_delegate(System.IntPtr obj, System.IntPtr pd); public delegate void efl_ui_focus_manager_pop_history_stack_api_delegate(System.IntPtr obj); public static Efl.Eo.FunctionWrapper efl_ui_focus_manager_pop_history_stack_ptr = new Efl.Eo.FunctionWrapper(Module, "efl_ui_focus_manager_pop_history_stack"); private static void pop_history_stack(System.IntPtr obj, System.IntPtr pd) { Eina.Log.Debug("function efl_ui_focus_manager_pop_history_stack was called"); var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj); if (ws != null) { try { ((IInterfaceScrollable)ws.Target).PopHistoryStack(); } catch (Exception e) { Eina.Log.Warning($"Callback error: {e.ToString()}"); Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); } } else { efl_ui_focus_manager_pop_history_stack_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj))); } } private static efl_ui_focus_manager_pop_history_stack_delegate efl_ui_focus_manager_pop_history_stack_static_delegate; private delegate void efl_ui_focus_manager_setup_on_first_touch_delegate(System.IntPtr obj, System.IntPtr pd, Efl.Ui.Focus.Direction direction, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo))] Efl.Ui.Focus.IObject entry); public delegate void efl_ui_focus_manager_setup_on_first_touch_api_delegate(System.IntPtr obj, Efl.Ui.Focus.Direction direction, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo))] Efl.Ui.Focus.IObject entry); public static Efl.Eo.FunctionWrapper efl_ui_focus_manager_setup_on_first_touch_ptr = new Efl.Eo.FunctionWrapper(Module, "efl_ui_focus_manager_setup_on_first_touch"); private static void setup_on_first_touch(System.IntPtr obj, System.IntPtr pd, Efl.Ui.Focus.Direction direction, Efl.Ui.Focus.IObject entry) { Eina.Log.Debug("function efl_ui_focus_manager_setup_on_first_touch was called"); var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj); if (ws != null) { try { ((IInterfaceScrollable)ws.Target).SetupOnFirstTouch(direction, entry); } catch (Exception e) { Eina.Log.Warning($"Callback error: {e.ToString()}"); Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); } } else { efl_ui_focus_manager_setup_on_first_touch_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), direction, entry); } } private static efl_ui_focus_manager_setup_on_first_touch_delegate efl_ui_focus_manager_setup_on_first_touch_static_delegate; private delegate void efl_ui_focus_manager_dirty_logic_freeze_delegate(System.IntPtr obj, System.IntPtr pd); public delegate void efl_ui_focus_manager_dirty_logic_freeze_api_delegate(System.IntPtr obj); public static Efl.Eo.FunctionWrapper efl_ui_focus_manager_dirty_logic_freeze_ptr = new Efl.Eo.FunctionWrapper(Module, "efl_ui_focus_manager_dirty_logic_freeze"); private static void dirty_logic_freeze(System.IntPtr obj, System.IntPtr pd) { Eina.Log.Debug("function efl_ui_focus_manager_dirty_logic_freeze was called"); var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj); if (ws != null) { try { ((IInterfaceScrollable)ws.Target).FreezeDirtyLogic(); } catch (Exception e) { Eina.Log.Warning($"Callback error: {e.ToString()}"); Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); } } else { efl_ui_focus_manager_dirty_logic_freeze_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj))); } } private static efl_ui_focus_manager_dirty_logic_freeze_delegate efl_ui_focus_manager_dirty_logic_freeze_static_delegate; private delegate void efl_ui_focus_manager_dirty_logic_unfreeze_delegate(System.IntPtr obj, System.IntPtr pd); public delegate void efl_ui_focus_manager_dirty_logic_unfreeze_api_delegate(System.IntPtr obj); public static Efl.Eo.FunctionWrapper efl_ui_focus_manager_dirty_logic_unfreeze_ptr = new Efl.Eo.FunctionWrapper(Module, "efl_ui_focus_manager_dirty_logic_unfreeze"); private static void dirty_logic_unfreeze(System.IntPtr obj, System.IntPtr pd) { Eina.Log.Debug("function efl_ui_focus_manager_dirty_logic_unfreeze was called"); var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj); if (ws != null) { try { ((IInterfaceScrollable)ws.Target).DirtyLogicUnfreeze(); } catch (Exception e) { Eina.Log.Warning($"Callback error: {e.ToString()}"); Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); } } else { efl_ui_focus_manager_dirty_logic_unfreeze_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj))); } } private static efl_ui_focus_manager_dirty_logic_unfreeze_delegate efl_ui_focus_manager_dirty_logic_unfreeze_static_delegate; #pragma warning restore CA1707, CS1591, SA1300, SA1600 } } } namespace Elm { namespace Scroller { /// Type that controls when scrollbars should appear. /// See also . [Efl.Eo.BindingEntity] public enum Policy { /// Show scrollbars as needed Auto = 0, /// Always show scrollbars On = 1, /// Never show scrollbars Off = 2, /// Sentinel value to indicate last enum field during iteration Last = 3, } } } namespace Elm { namespace Scroller { /// Type that controls how the content is scrolled. /// See also . [Efl.Eo.BindingEntity] public enum SingleDirection { /// Scroll every direction None = 0, /// Scroll single direction if the direction is certain Soft = 1, /// Scroll only single direction Hard = 2, /// Sentinel value to indicate last enum field during iteration Last = 3, } } }