1 #pragma warning disable CS1591
3 using System.Runtime.InteropServices;
4 using System.Collections.Generic;
6 using System.ComponentModel;
7 namespace Efl { namespace Canvas {
8 /// <summary>Common class for part proxy objects for <see cref="Efl.Canvas.Layout"/>.
9 /// As an <see cref="Efl.IPart"/> implementation class, all objects of this class are meant to be used for one and only one function call. In pseudo-code, the use of object of this type looks like the following: rect = layout.part("somepart").geometry_get();</summary>
10 [LayoutPartNativeInherit]
11 public class LayoutPart : Efl.Object, Efl.Eo.IWrapper,Efl.Gfx.IEntity,Efl.Ui.IDrag
13 ///<summary>Pointer to the native class description.</summary>
14 public override System.IntPtr NativeClass {
16 if (((object)this).GetType() == typeof (LayoutPart))
17 return Efl.Canvas.LayoutPartNativeInherit.GetEflClassStatic();
19 return Efl.Eo.ClassRegister.klassFromType[((object)this).GetType()];
22 [System.Runtime.InteropServices.DllImport(efl.Libs.Edje)] internal static extern System.IntPtr
23 efl_canvas_layout_part_class_get();
24 ///<summary>Creates a new instance.</summary>
25 ///<param name="parent">Parent instance.</param>
26 public LayoutPart(Efl.Object parent= null
28 base(efl_canvas_layout_part_class_get(), typeof(LayoutPart), parent)
30 FinishInstantiation();
32 ///<summary>Internal usage: Constructs an instance from a native pointer. This is used when interacting with C code and should not be used directly.</summary>
33 protected LayoutPart(System.IntPtr raw) : base(raw)
35 RegisterEventProxies();
37 ///<summary>Internal usage: Constructor to forward the wrapper initialization to the root class that interfaces with native code. Should not be used directly.</summary>
38 protected LayoutPart(IntPtr base_klass, System.Type managed_type, Efl.Object parent) : base(base_klass, managed_type, parent) {}
39 ///<summary>Verifies if the given object is equal to this one.</summary>
40 public override bool Equals(object obj)
42 var other = obj as Efl.Object;
45 return this.NativeHandle == other.NativeHandle;
47 ///<summary>Gets the hash code for this object based on the native pointer it points to.</summary>
48 public override int GetHashCode()
50 return this.NativeHandle.ToInt32();
52 ///<summary>Turns the native pointer into a string representation.</summary>
53 public override String ToString()
55 return $"{this.GetType().Name}@[{this.NativeHandle.ToInt32():x}]";
57 private static object VisibilityChangedEvtKey = new object();
58 /// <summary>Object's visibility state changed, the event value is the new state.
59 /// (Since EFL 1.22)</summary>
60 public event EventHandler<Efl.Gfx.IEntityVisibilityChangedEvt_Args> VisibilityChangedEvt
64 string key = "_EFL_GFX_ENTITY_EVENT_VISIBILITY_CHANGED";
65 if (AddNativeEventHandler(efl.Libs.Efl, key, this.evt_VisibilityChangedEvt_delegate)) {
66 eventHandlers.AddHandler(VisibilityChangedEvtKey , value);
68 Eina.Log.Error($"Error adding proxy for event {key}");
73 string key = "_EFL_GFX_ENTITY_EVENT_VISIBILITY_CHANGED";
74 if (RemoveNativeEventHandler(key, this.evt_VisibilityChangedEvt_delegate)) {
75 eventHandlers.RemoveHandler(VisibilityChangedEvtKey , value);
77 Eina.Log.Error($"Error removing proxy for event {key}");
81 ///<summary>Method to raise event VisibilityChangedEvt.</summary>
82 public void On_VisibilityChangedEvt(Efl.Gfx.IEntityVisibilityChangedEvt_Args e)
84 EventHandler<Efl.Gfx.IEntityVisibilityChangedEvt_Args> evt;
86 evt = (EventHandler<Efl.Gfx.IEntityVisibilityChangedEvt_Args>)eventHandlers[VisibilityChangedEvtKey];
90 Efl.EventCb evt_VisibilityChangedEvt_delegate;
91 private void on_VisibilityChangedEvt_NativeCallback(System.IntPtr data, ref Efl.Event.NativeStruct evt)
93 Efl.Gfx.IEntityVisibilityChangedEvt_Args args = new Efl.Gfx.IEntityVisibilityChangedEvt_Args();
94 args.arg = evt.Info != IntPtr.Zero;
96 On_VisibilityChangedEvt(args);
97 } catch (Exception e) {
98 Eina.Log.Error(e.ToString());
99 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
103 private static object PositionChangedEvtKey = new object();
104 /// <summary>Object was moved, its position during the event is the new one.
105 /// (Since EFL 1.22)</summary>
106 public event EventHandler<Efl.Gfx.IEntityPositionChangedEvt_Args> PositionChangedEvt
110 string key = "_EFL_GFX_ENTITY_EVENT_POSITION_CHANGED";
111 if (AddNativeEventHandler(efl.Libs.Efl, key, this.evt_PositionChangedEvt_delegate)) {
112 eventHandlers.AddHandler(PositionChangedEvtKey , value);
114 Eina.Log.Error($"Error adding proxy for event {key}");
119 string key = "_EFL_GFX_ENTITY_EVENT_POSITION_CHANGED";
120 if (RemoveNativeEventHandler(key, this.evt_PositionChangedEvt_delegate)) {
121 eventHandlers.RemoveHandler(PositionChangedEvtKey , value);
123 Eina.Log.Error($"Error removing proxy for event {key}");
127 ///<summary>Method to raise event PositionChangedEvt.</summary>
128 public void On_PositionChangedEvt(Efl.Gfx.IEntityPositionChangedEvt_Args e)
130 EventHandler<Efl.Gfx.IEntityPositionChangedEvt_Args> evt;
132 evt = (EventHandler<Efl.Gfx.IEntityPositionChangedEvt_Args>)eventHandlers[PositionChangedEvtKey];
134 evt?.Invoke(this, e);
136 Efl.EventCb evt_PositionChangedEvt_delegate;
137 private void on_PositionChangedEvt_NativeCallback(System.IntPtr data, ref Efl.Event.NativeStruct evt)
139 Efl.Gfx.IEntityPositionChangedEvt_Args args = new Efl.Gfx.IEntityPositionChangedEvt_Args();
140 args.arg = evt.Info;;
142 On_PositionChangedEvt(args);
143 } catch (Exception e) {
144 Eina.Log.Error(e.ToString());
145 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
149 private static object SizeChangedEvtKey = new object();
150 /// <summary>Object was resized, its size during the event is the new one.
151 /// (Since EFL 1.22)</summary>
152 public event EventHandler<Efl.Gfx.IEntitySizeChangedEvt_Args> SizeChangedEvt
156 string key = "_EFL_GFX_ENTITY_EVENT_SIZE_CHANGED";
157 if (AddNativeEventHandler(efl.Libs.Efl, key, this.evt_SizeChangedEvt_delegate)) {
158 eventHandlers.AddHandler(SizeChangedEvtKey , value);
160 Eina.Log.Error($"Error adding proxy for event {key}");
165 string key = "_EFL_GFX_ENTITY_EVENT_SIZE_CHANGED";
166 if (RemoveNativeEventHandler(key, this.evt_SizeChangedEvt_delegate)) {
167 eventHandlers.RemoveHandler(SizeChangedEvtKey , value);
169 Eina.Log.Error($"Error removing proxy for event {key}");
173 ///<summary>Method to raise event SizeChangedEvt.</summary>
174 public void On_SizeChangedEvt(Efl.Gfx.IEntitySizeChangedEvt_Args e)
176 EventHandler<Efl.Gfx.IEntitySizeChangedEvt_Args> evt;
178 evt = (EventHandler<Efl.Gfx.IEntitySizeChangedEvt_Args>)eventHandlers[SizeChangedEvtKey];
180 evt?.Invoke(this, e);
182 Efl.EventCb evt_SizeChangedEvt_delegate;
183 private void on_SizeChangedEvt_NativeCallback(System.IntPtr data, ref Efl.Event.NativeStruct evt)
185 Efl.Gfx.IEntitySizeChangedEvt_Args args = new Efl.Gfx.IEntitySizeChangedEvt_Args();
186 args.arg = evt.Info;;
188 On_SizeChangedEvt(args);
189 } catch (Exception e) {
190 Eina.Log.Error(e.ToString());
191 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
195 ///<summary>Register the Eo event wrappers making the bridge to C# events. Internal usage only.</summary>
196 protected override void RegisterEventProxies()
198 base.RegisterEventProxies();
199 evt_VisibilityChangedEvt_delegate = new Efl.EventCb(on_VisibilityChangedEvt_NativeCallback);
200 evt_PositionChangedEvt_delegate = new Efl.EventCb(on_PositionChangedEvt_NativeCallback);
201 evt_SizeChangedEvt_delegate = new Efl.EventCb(on_SizeChangedEvt_NativeCallback);
203 /// <summary>The name and value of the current state of this part (read-only).
204 /// This is the state name as it appears in EDC description blocks. A state has both a name and a value (double). The default state is "default" 0.0, but this function will return "" if the part is invalid.</summary>
205 /// <param name="state">The name of the state.</param>
206 /// <param name="val">The value of the state.</param>
207 /// <returns></returns>
208 virtual public void GetState( out System.String state, out double val) {
209 Efl.Canvas.LayoutPartNativeInherit.efl_canvas_layout_part_state_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle), out state, out val);
210 Eina.Error.RaiseIfUnhandledException();
212 /// <summary>Returns the type of the part.</summary>
213 /// <returns>One of the types or <c>none</c> if not an existing part.</returns>
214 virtual public Efl.Canvas.LayoutPartType GetPartType() {
215 var _ret_var = Efl.Canvas.LayoutPartNativeInherit.efl_canvas_layout_part_type_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
216 Eina.Error.RaiseIfUnhandledException();
219 /// <summary>Retrieves the position of the given canvas object.
220 /// (Since EFL 1.22)</summary>
221 /// <returns>A 2D coordinate in pixel units.</returns>
222 virtual public Eina.Position2D GetPosition() {
223 var _ret_var = Efl.Gfx.IEntityNativeInherit.efl_gfx_entity_position_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
224 Eina.Error.RaiseIfUnhandledException();
227 /// <summary>Moves the given canvas object to the given location inside its canvas' viewport. If unchanged this call may be entirely skipped, but if changed this will trigger move events, as well as potential pointer,in or pointer,out events.
228 /// (Since EFL 1.22)</summary>
229 /// <param name="pos">A 2D coordinate in pixel units.</param>
230 /// <returns></returns>
231 virtual public void SetPosition( Eina.Position2D pos) {
232 Eina.Position2D.NativeStruct _in_pos = pos;
233 Efl.Gfx.IEntityNativeInherit.efl_gfx_entity_position_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle), _in_pos);
234 Eina.Error.RaiseIfUnhandledException();
236 /// <summary>Retrieves the (rectangular) size of the given Evas object.
237 /// (Since EFL 1.22)</summary>
238 /// <returns>A 2D size in pixel units.</returns>
239 virtual public Eina.Size2D GetSize() {
240 var _ret_var = Efl.Gfx.IEntityNativeInherit.efl_gfx_entity_size_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
241 Eina.Error.RaiseIfUnhandledException();
244 /// <summary>Changes the size of the given object.
245 /// Note that setting the actual size of an object might be the job of its container, so this function might have no effect. Look at <see cref="Efl.Gfx.IHint"/> instead, when manipulating widgets.
246 /// (Since EFL 1.22)</summary>
247 /// <param name="size">A 2D size in pixel units.</param>
248 /// <returns></returns>
249 virtual public void SetSize( Eina.Size2D size) {
250 Eina.Size2D.NativeStruct _in_size = size;
251 Efl.Gfx.IEntityNativeInherit.efl_gfx_entity_size_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle), _in_size);
252 Eina.Error.RaiseIfUnhandledException();
254 /// <summary>Rectangular geometry that combines both position and size.
255 /// (Since EFL 1.22)</summary>
256 /// <returns>The X,Y position and W,H size, in pixels.</returns>
257 virtual public Eina.Rect GetGeometry() {
258 var _ret_var = Efl.Gfx.IEntityNativeInherit.efl_gfx_entity_geometry_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
259 Eina.Error.RaiseIfUnhandledException();
262 /// <summary>Rectangular geometry that combines both position and size.
263 /// (Since EFL 1.22)</summary>
264 /// <param name="rect">The X,Y position and W,H size, in pixels.</param>
265 /// <returns></returns>
266 virtual public void SetGeometry( Eina.Rect rect) {
267 Eina.Rect.NativeStruct _in_rect = rect;
268 Efl.Gfx.IEntityNativeInherit.efl_gfx_entity_geometry_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle), _in_rect);
269 Eina.Error.RaiseIfUnhandledException();
271 /// <summary>Retrieves whether or not the given canvas object is visible.
272 /// (Since EFL 1.22)</summary>
273 /// <returns><c>true</c> if to make the object visible, <c>false</c> otherwise</returns>
274 virtual public bool GetVisible() {
275 var _ret_var = Efl.Gfx.IEntityNativeInherit.efl_gfx_entity_visible_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
276 Eina.Error.RaiseIfUnhandledException();
279 /// <summary>Shows or hides this object.
280 /// (Since EFL 1.22)</summary>
281 /// <param name="v"><c>true</c> if to make the object visible, <c>false</c> otherwise</param>
282 /// <returns></returns>
283 virtual public void SetVisible( bool v) {
284 Efl.Gfx.IEntityNativeInherit.efl_gfx_entity_visible_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle), v);
285 Eina.Error.RaiseIfUnhandledException();
287 /// <summary>Gets an object's scaling factor.
288 /// (Since EFL 1.22)</summary>
289 /// <returns>The scaling factor (the default value is 0.0, meaning individual scaling is not set)</returns>
290 virtual public double GetScale() {
291 var _ret_var = Efl.Gfx.IEntityNativeInherit.efl_gfx_entity_scale_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
292 Eina.Error.RaiseIfUnhandledException();
295 /// <summary>Sets the scaling factor of an object.
296 /// (Since EFL 1.22)</summary>
297 /// <param name="scale">The scaling factor (the default value is 0.0, meaning individual scaling is not set)</param>
298 /// <returns></returns>
299 virtual public void SetScale( double scale) {
300 Efl.Gfx.IEntityNativeInherit.efl_gfx_entity_scale_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle), scale);
301 Eina.Error.RaiseIfUnhandledException();
303 /// <summary>Gets the draggable object location.</summary>
304 /// <param name="dx">The x relative position, from 0 to 1.</param>
305 /// <param name="dy">The y relative position, from 0 to 1.</param>
306 /// <returns><c>true</c> on success, <c>false</c> otherwise</returns>
307 virtual public bool GetDragValue( out double dx, out double dy) {
308 var _ret_var = Efl.Ui.IDragNativeInherit.efl_ui_drag_value_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle), out dx, out dy);
309 Eina.Error.RaiseIfUnhandledException();
312 /// <summary>Sets the draggable object location.
313 /// This places the draggable object at the given location.</summary>
314 /// <param name="dx">The x relative position, from 0 to 1.</param>
315 /// <param name="dy">The y relative position, from 0 to 1.</param>
316 /// <returns><c>true</c> on success, <c>false</c> otherwise</returns>
317 virtual public bool SetDragValue( double dx, double dy) {
318 var _ret_var = Efl.Ui.IDragNativeInherit.efl_ui_drag_value_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle), dx, dy);
319 Eina.Error.RaiseIfUnhandledException();
322 /// <summary>Gets the size of the dradgable object.</summary>
323 /// <param name="dw">The drag relative width, from 0 to 1.</param>
324 /// <param name="dh">The drag relative height, from 0 to 1.</param>
325 /// <returns><c>true</c> on success, <c>false</c> otherwise</returns>
326 virtual public bool GetDragSize( out double dw, out double dh) {
327 var _ret_var = Efl.Ui.IDragNativeInherit.efl_ui_drag_size_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle), out dw, out dh);
328 Eina.Error.RaiseIfUnhandledException();
331 /// <summary>Sets the size of the draggable object.</summary>
332 /// <param name="dw">The drag relative width, from 0 to 1.</param>
333 /// <param name="dh">The drag relative height, from 0 to 1.</param>
334 /// <returns><c>true</c> on success, <c>false</c> otherwise</returns>
335 virtual public bool SetDragSize( double dw, double dh) {
336 var _ret_var = Efl.Ui.IDragNativeInherit.efl_ui_drag_size_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle), dw, dh);
337 Eina.Error.RaiseIfUnhandledException();
340 /// <summary>Gets the draggable direction.</summary>
341 /// <returns>The direction(s) premitted for drag.</returns>
342 virtual public Efl.Ui.DragDir GetDragDir() {
343 var _ret_var = Efl.Ui.IDragNativeInherit.efl_ui_drag_dir_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
344 Eina.Error.RaiseIfUnhandledException();
347 /// <summary>Gets the x and y step increments for the draggable object.</summary>
348 /// <param name="dx">The x step relative amount, from 0 to 1.</param>
349 /// <param name="dy">The y step relative amount, from 0 to 1.</param>
350 /// <returns><c>true</c> on success, <c>false</c> otherwise</returns>
351 virtual public bool GetDragStep( out double dx, out double dy) {
352 var _ret_var = Efl.Ui.IDragNativeInherit.efl_ui_drag_step_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle), out dx, out dy);
353 Eina.Error.RaiseIfUnhandledException();
356 /// <summary>Sets the x,y step increments for a draggable object.</summary>
357 /// <param name="dx">The x step relative amount, from 0 to 1.</param>
358 /// <param name="dy">The y step relative amount, from 0 to 1.</param>
359 /// <returns><c>true</c> on success, <c>false</c> otherwise</returns>
360 virtual public bool SetDragStep( double dx, double dy) {
361 var _ret_var = Efl.Ui.IDragNativeInherit.efl_ui_drag_step_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle), dx, dy);
362 Eina.Error.RaiseIfUnhandledException();
365 /// <summary>Gets the x,y page step increments for the draggable object.</summary>
366 /// <param name="dx">The x page step increment</param>
367 /// <param name="dy">The y page step increment</param>
368 /// <returns><c>true</c> on success, <c>false</c> otherwise</returns>
369 virtual public bool GetDragPage( out double dx, out double dy) {
370 var _ret_var = Efl.Ui.IDragNativeInherit.efl_ui_drag_page_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle), out dx, out dy);
371 Eina.Error.RaiseIfUnhandledException();
374 /// <summary>Sets the x,y page step increment values.</summary>
375 /// <param name="dx">The x page step increment</param>
376 /// <param name="dy">The y page step increment</param>
377 /// <returns><c>true</c> on success, <c>false</c> otherwise</returns>
378 virtual public bool SetDragPage( double dx, double dy) {
379 var _ret_var = Efl.Ui.IDragNativeInherit.efl_ui_drag_page_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle), dx, dy);
380 Eina.Error.RaiseIfUnhandledException();
383 /// <summary>Moves the draggable by <c>dx</c>,<c>dy</c> steps.
384 /// This moves the draggable part by <c>dx</c>,<c>dy</c> steps where the step increment is the amount set by <see cref="Efl.Ui.IDrag.GetDragStep"/>.
386 /// <c>dx</c> and <c>dy</c> can be positive or negative numbers, integer values are recommended.</summary>
387 /// <param name="dx">The number of steps horizontally.</param>
388 /// <param name="dy">The number of steps vertically.</param>
389 /// <returns><c>true</c> on success, <c>false</c> otherwise</returns>
390 virtual public bool MoveDragStep( double dx, double dy) {
391 var _ret_var = Efl.Ui.IDragNativeInherit.efl_ui_drag_step_move_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle), dx, dy);
392 Eina.Error.RaiseIfUnhandledException();
395 /// <summary>Moves the draggable by <c>dx</c>,<c>dy</c> pages.
396 /// This moves the draggable by <c>dx</c>,<c>dy</c> pages. The increment is defined by <see cref="Efl.Ui.IDrag.GetDragPage"/>.
398 /// <c>dx</c> and <c>dy</c> can be positive or negative numbers, integer values are recommended.
400 /// Warning: Paging is bugged!</summary>
401 /// <param name="dx">The number of pages horizontally.</param>
402 /// <param name="dy">The number of pages vertically.</param>
403 /// <returns><c>true</c> on success, <c>false</c> otherwise</returns>
404 virtual public bool MoveDragPage( double dx, double dy) {
405 var _ret_var = Efl.Ui.IDragNativeInherit.efl_ui_drag_page_move_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle), dx, dy);
406 Eina.Error.RaiseIfUnhandledException();
409 /// <summary>Type of this part in the layout.</summary>
410 /// <value>One of the types or <c>none</c> if not an existing part.</value>
411 public Efl.Canvas.LayoutPartType PartType {
412 get { return GetPartType(); }
414 /// <summary>The 2D position of a canvas object.
415 /// The position is absolute, in pixels, relative to the top-left corner of the window, within its border decorations (application space).
416 /// (Since EFL 1.22)</summary>
417 /// <value>A 2D coordinate in pixel units.</value>
418 public Eina.Position2D Position {
419 get { return GetPosition(); }
420 set { SetPosition( value); }
422 /// <summary>The 2D size of a canvas object.
423 /// (Since EFL 1.22)</summary>
424 /// <value>A 2D size in pixel units.</value>
425 public Eina.Size2D Size {
426 get { return GetSize(); }
427 set { SetSize( value); }
429 /// <summary>Rectangular geometry that combines both position and size.
430 /// (Since EFL 1.22)</summary>
431 /// <value>The X,Y position and W,H size, in pixels.</value>
432 public Eina.Rect Geometry {
433 get { return GetGeometry(); }
434 set { SetGeometry( value); }
436 /// <summary>The visibility of a canvas object.
437 /// All canvas objects will become visible by default just before render. This means that it is not required to call <see cref="Efl.Gfx.IEntity.SetVisible"/> after creating an object unless you want to create it without showing it. Note that this behavior is new since 1.21, and only applies to canvas objects created with the EO API (i.e. not the legacy C-only API). Other types of Gfx objects may or may not be visible by default.
439 /// Note that many other parameters can prevent a visible object from actually being "visible" on screen. For instance if its color is fully transparent, or its parent is hidden, or it is clipped out, etc...
440 /// (Since EFL 1.22)</summary>
441 /// <value><c>true</c> if to make the object visible, <c>false</c> otherwise</value>
442 public bool Visible {
443 get { return GetVisible(); }
444 set { SetVisible( value); }
446 /// <summary>The scaling factor of an object.
447 /// This property is an individual scaling factor on the object (Edje or UI widget). This property (or Edje's global scaling factor, when applicable), will affect this object's part sizes. If scale is not zero, than the individual scaling will override any global scaling set, for the object obj's parts. Set it back to zero to get the effects of the global scaling again.
449 /// Warning: In Edje, only parts which, at EDC level, had the "scale" property set to 1, will be affected by this function. Check the complete "syntax reference" for EDC files.
450 /// (Since EFL 1.22)</summary>
451 /// <value>The scaling factor (the default value is 0.0, meaning individual scaling is not set)</value>
452 public double Scale {
453 get { return GetScale(); }
454 set { SetScale( value); }
456 /// <summary>Determines the draggable directions (read-only).
457 /// The draggable directions are defined in the EDC file, inside the "draggable" section, by the attributes <c>x</c> and <c>y</c>. See the EDC reference documentation for more information.</summary>
458 /// <value>The direction(s) premitted for drag.</value>
459 public Efl.Ui.DragDir DragDir {
460 get { return GetDragDir(); }
462 private static IntPtr GetEflClassStatic()
464 return Efl.Canvas.LayoutPart.efl_canvas_layout_part_class_get();
467 public class LayoutPartNativeInherit : Efl.ObjectNativeInherit{
468 public new static Efl.Eo.NativeModule _Module = new Efl.Eo.NativeModule(efl.Libs.Edje);
469 public override System.Collections.Generic.List<Efl_Op_Description> GetEoOps(System.Type type)
471 var descs = new System.Collections.Generic.List<Efl_Op_Description>();
472 var methods = Efl.Eo.Globals.GetUserMethods(type);
473 if (efl_canvas_layout_part_state_get_static_delegate == null)
474 efl_canvas_layout_part_state_get_static_delegate = new efl_canvas_layout_part_state_get_delegate(state_get);
475 if (methods.FirstOrDefault(m => m.Name == "GetState") != null)
476 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(_Module.Module, "efl_canvas_layout_part_state_get"), func = Marshal.GetFunctionPointerForDelegate(efl_canvas_layout_part_state_get_static_delegate)});
477 if (efl_canvas_layout_part_type_get_static_delegate == null)
478 efl_canvas_layout_part_type_get_static_delegate = new efl_canvas_layout_part_type_get_delegate(part_type_get);
479 if (methods.FirstOrDefault(m => m.Name == "GetPartType") != null)
480 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(_Module.Module, "efl_canvas_layout_part_type_get"), func = Marshal.GetFunctionPointerForDelegate(efl_canvas_layout_part_type_get_static_delegate)});
481 if (efl_gfx_entity_position_get_static_delegate == null)
482 efl_gfx_entity_position_get_static_delegate = new efl_gfx_entity_position_get_delegate(position_get);
483 if (methods.FirstOrDefault(m => m.Name == "GetPosition") != null)
484 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(_Module.Module, "efl_gfx_entity_position_get"), func = Marshal.GetFunctionPointerForDelegate(efl_gfx_entity_position_get_static_delegate)});
485 if (efl_gfx_entity_position_set_static_delegate == null)
486 efl_gfx_entity_position_set_static_delegate = new efl_gfx_entity_position_set_delegate(position_set);
487 if (methods.FirstOrDefault(m => m.Name == "SetPosition") != null)
488 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(_Module.Module, "efl_gfx_entity_position_set"), func = Marshal.GetFunctionPointerForDelegate(efl_gfx_entity_position_set_static_delegate)});
489 if (efl_gfx_entity_size_get_static_delegate == null)
490 efl_gfx_entity_size_get_static_delegate = new efl_gfx_entity_size_get_delegate(size_get);
491 if (methods.FirstOrDefault(m => m.Name == "GetSize") != null)
492 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(_Module.Module, "efl_gfx_entity_size_get"), func = Marshal.GetFunctionPointerForDelegate(efl_gfx_entity_size_get_static_delegate)});
493 if (efl_gfx_entity_size_set_static_delegate == null)
494 efl_gfx_entity_size_set_static_delegate = new efl_gfx_entity_size_set_delegate(size_set);
495 if (methods.FirstOrDefault(m => m.Name == "SetSize") != null)
496 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(_Module.Module, "efl_gfx_entity_size_set"), func = Marshal.GetFunctionPointerForDelegate(efl_gfx_entity_size_set_static_delegate)});
497 if (efl_gfx_entity_geometry_get_static_delegate == null)
498 efl_gfx_entity_geometry_get_static_delegate = new efl_gfx_entity_geometry_get_delegate(geometry_get);
499 if (methods.FirstOrDefault(m => m.Name == "GetGeometry") != null)
500 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(_Module.Module, "efl_gfx_entity_geometry_get"), func = Marshal.GetFunctionPointerForDelegate(efl_gfx_entity_geometry_get_static_delegate)});
501 if (efl_gfx_entity_geometry_set_static_delegate == null)
502 efl_gfx_entity_geometry_set_static_delegate = new efl_gfx_entity_geometry_set_delegate(geometry_set);
503 if (methods.FirstOrDefault(m => m.Name == "SetGeometry") != null)
504 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(_Module.Module, "efl_gfx_entity_geometry_set"), func = Marshal.GetFunctionPointerForDelegate(efl_gfx_entity_geometry_set_static_delegate)});
505 if (efl_gfx_entity_visible_get_static_delegate == null)
506 efl_gfx_entity_visible_get_static_delegate = new efl_gfx_entity_visible_get_delegate(visible_get);
507 if (methods.FirstOrDefault(m => m.Name == "GetVisible") != null)
508 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(_Module.Module, "efl_gfx_entity_visible_get"), func = Marshal.GetFunctionPointerForDelegate(efl_gfx_entity_visible_get_static_delegate)});
509 if (efl_gfx_entity_visible_set_static_delegate == null)
510 efl_gfx_entity_visible_set_static_delegate = new efl_gfx_entity_visible_set_delegate(visible_set);
511 if (methods.FirstOrDefault(m => m.Name == "SetVisible") != null)
512 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(_Module.Module, "efl_gfx_entity_visible_set"), func = Marshal.GetFunctionPointerForDelegate(efl_gfx_entity_visible_set_static_delegate)});
513 if (efl_gfx_entity_scale_get_static_delegate == null)
514 efl_gfx_entity_scale_get_static_delegate = new efl_gfx_entity_scale_get_delegate(scale_get);
515 if (methods.FirstOrDefault(m => m.Name == "GetScale") != null)
516 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(_Module.Module, "efl_gfx_entity_scale_get"), func = Marshal.GetFunctionPointerForDelegate(efl_gfx_entity_scale_get_static_delegate)});
517 if (efl_gfx_entity_scale_set_static_delegate == null)
518 efl_gfx_entity_scale_set_static_delegate = new efl_gfx_entity_scale_set_delegate(scale_set);
519 if (methods.FirstOrDefault(m => m.Name == "SetScale") != null)
520 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(_Module.Module, "efl_gfx_entity_scale_set"), func = Marshal.GetFunctionPointerForDelegate(efl_gfx_entity_scale_set_static_delegate)});
521 if (efl_ui_drag_value_get_static_delegate == null)
522 efl_ui_drag_value_get_static_delegate = new efl_ui_drag_value_get_delegate(drag_value_get);
523 if (methods.FirstOrDefault(m => m.Name == "GetDragValue") != null)
524 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(_Module.Module, "efl_ui_drag_value_get"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_drag_value_get_static_delegate)});
525 if (efl_ui_drag_value_set_static_delegate == null)
526 efl_ui_drag_value_set_static_delegate = new efl_ui_drag_value_set_delegate(drag_value_set);
527 if (methods.FirstOrDefault(m => m.Name == "SetDragValue") != null)
528 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(_Module.Module, "efl_ui_drag_value_set"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_drag_value_set_static_delegate)});
529 if (efl_ui_drag_size_get_static_delegate == null)
530 efl_ui_drag_size_get_static_delegate = new efl_ui_drag_size_get_delegate(drag_size_get);
531 if (methods.FirstOrDefault(m => m.Name == "GetDragSize") != null)
532 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(_Module.Module, "efl_ui_drag_size_get"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_drag_size_get_static_delegate)});
533 if (efl_ui_drag_size_set_static_delegate == null)
534 efl_ui_drag_size_set_static_delegate = new efl_ui_drag_size_set_delegate(drag_size_set);
535 if (methods.FirstOrDefault(m => m.Name == "SetDragSize") != null)
536 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(_Module.Module, "efl_ui_drag_size_set"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_drag_size_set_static_delegate)});
537 if (efl_ui_drag_dir_get_static_delegate == null)
538 efl_ui_drag_dir_get_static_delegate = new efl_ui_drag_dir_get_delegate(drag_dir_get);
539 if (methods.FirstOrDefault(m => m.Name == "GetDragDir") != null)
540 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(_Module.Module, "efl_ui_drag_dir_get"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_drag_dir_get_static_delegate)});
541 if (efl_ui_drag_step_get_static_delegate == null)
542 efl_ui_drag_step_get_static_delegate = new efl_ui_drag_step_get_delegate(drag_step_get);
543 if (methods.FirstOrDefault(m => m.Name == "GetDragStep") != null)
544 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(_Module.Module, "efl_ui_drag_step_get"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_drag_step_get_static_delegate)});
545 if (efl_ui_drag_step_set_static_delegate == null)
546 efl_ui_drag_step_set_static_delegate = new efl_ui_drag_step_set_delegate(drag_step_set);
547 if (methods.FirstOrDefault(m => m.Name == "SetDragStep") != null)
548 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(_Module.Module, "efl_ui_drag_step_set"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_drag_step_set_static_delegate)});
549 if (efl_ui_drag_page_get_static_delegate == null)
550 efl_ui_drag_page_get_static_delegate = new efl_ui_drag_page_get_delegate(drag_page_get);
551 if (methods.FirstOrDefault(m => m.Name == "GetDragPage") != null)
552 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(_Module.Module, "efl_ui_drag_page_get"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_drag_page_get_static_delegate)});
553 if (efl_ui_drag_page_set_static_delegate == null)
554 efl_ui_drag_page_set_static_delegate = new efl_ui_drag_page_set_delegate(drag_page_set);
555 if (methods.FirstOrDefault(m => m.Name == "SetDragPage") != null)
556 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(_Module.Module, "efl_ui_drag_page_set"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_drag_page_set_static_delegate)});
557 if (efl_ui_drag_step_move_static_delegate == null)
558 efl_ui_drag_step_move_static_delegate = new efl_ui_drag_step_move_delegate(drag_step_move);
559 if (methods.FirstOrDefault(m => m.Name == "MoveDragStep") != null)
560 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(_Module.Module, "efl_ui_drag_step_move"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_drag_step_move_static_delegate)});
561 if (efl_ui_drag_page_move_static_delegate == null)
562 efl_ui_drag_page_move_static_delegate = new efl_ui_drag_page_move_delegate(drag_page_move);
563 if (methods.FirstOrDefault(m => m.Name == "MoveDragPage") != null)
564 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(_Module.Module, "efl_ui_drag_page_move"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_drag_page_move_static_delegate)});
565 descs.AddRange(base.GetEoOps(type));
568 public override IntPtr GetEflClass()
570 return Efl.Canvas.LayoutPart.efl_canvas_layout_part_class_get();
572 public static new IntPtr GetEflClassStatic()
574 return Efl.Canvas.LayoutPart.efl_canvas_layout_part_class_get();
578 private delegate void efl_canvas_layout_part_state_get_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))] out System.String state, out double val);
581 public delegate void efl_canvas_layout_part_state_get_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))] out System.String state, out double val);
582 public static Efl.Eo.FunctionWrapper<efl_canvas_layout_part_state_get_api_delegate> efl_canvas_layout_part_state_get_ptr = new Efl.Eo.FunctionWrapper<efl_canvas_layout_part_state_get_api_delegate>(_Module, "efl_canvas_layout_part_state_get");
583 private static void state_get(System.IntPtr obj, System.IntPtr pd, out System.String state, out double val)
585 Eina.Log.Debug("function efl_canvas_layout_part_state_get was called");
586 Efl.Eo.IWrapper wrapper = Efl.Eo.Globals.PrivateDataGet(pd);
587 if(wrapper != null) {
588 System.String _out_state = default(System.String);
589 val = default(double);
591 ((LayoutPart)wrapper).GetState( out _out_state, out val);
592 } catch (Exception e) {
593 Eina.Log.Warning($"Callback error: {e.ToString()}");
594 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
598 efl_canvas_layout_part_state_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), out state, out val);
601 private static efl_canvas_layout_part_state_get_delegate efl_canvas_layout_part_state_get_static_delegate;
604 private delegate Efl.Canvas.LayoutPartType efl_canvas_layout_part_type_get_delegate(System.IntPtr obj, System.IntPtr pd);
607 public delegate Efl.Canvas.LayoutPartType efl_canvas_layout_part_type_get_api_delegate(System.IntPtr obj);
608 public static Efl.Eo.FunctionWrapper<efl_canvas_layout_part_type_get_api_delegate> efl_canvas_layout_part_type_get_ptr = new Efl.Eo.FunctionWrapper<efl_canvas_layout_part_type_get_api_delegate>(_Module, "efl_canvas_layout_part_type_get");
609 private static Efl.Canvas.LayoutPartType part_type_get(System.IntPtr obj, System.IntPtr pd)
611 Eina.Log.Debug("function efl_canvas_layout_part_type_get was called");
612 Efl.Eo.IWrapper wrapper = Efl.Eo.Globals.PrivateDataGet(pd);
613 if(wrapper != null) {
614 Efl.Canvas.LayoutPartType _ret_var = default(Efl.Canvas.LayoutPartType);
616 _ret_var = ((LayoutPart)wrapper).GetPartType();
617 } catch (Exception e) {
618 Eina.Log.Warning($"Callback error: {e.ToString()}");
619 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
623 return efl_canvas_layout_part_type_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
626 private static efl_canvas_layout_part_type_get_delegate efl_canvas_layout_part_type_get_static_delegate;
629 private delegate Eina.Position2D.NativeStruct efl_gfx_entity_position_get_delegate(System.IntPtr obj, System.IntPtr pd);
632 public delegate Eina.Position2D.NativeStruct efl_gfx_entity_position_get_api_delegate(System.IntPtr obj);
633 public static Efl.Eo.FunctionWrapper<efl_gfx_entity_position_get_api_delegate> efl_gfx_entity_position_get_ptr = new Efl.Eo.FunctionWrapper<efl_gfx_entity_position_get_api_delegate>(_Module, "efl_gfx_entity_position_get");
634 private static Eina.Position2D.NativeStruct position_get(System.IntPtr obj, System.IntPtr pd)
636 Eina.Log.Debug("function efl_gfx_entity_position_get was called");
637 Efl.Eo.IWrapper wrapper = Efl.Eo.Globals.PrivateDataGet(pd);
638 if(wrapper != null) {
639 Eina.Position2D _ret_var = default(Eina.Position2D);
641 _ret_var = ((LayoutPart)wrapper).GetPosition();
642 } catch (Exception e) {
643 Eina.Log.Warning($"Callback error: {e.ToString()}");
644 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
648 return efl_gfx_entity_position_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
651 private static efl_gfx_entity_position_get_delegate efl_gfx_entity_position_get_static_delegate;
654 private delegate void efl_gfx_entity_position_set_delegate(System.IntPtr obj, System.IntPtr pd, Eina.Position2D.NativeStruct pos);
657 public delegate void efl_gfx_entity_position_set_api_delegate(System.IntPtr obj, Eina.Position2D.NativeStruct pos);
658 public static Efl.Eo.FunctionWrapper<efl_gfx_entity_position_set_api_delegate> efl_gfx_entity_position_set_ptr = new Efl.Eo.FunctionWrapper<efl_gfx_entity_position_set_api_delegate>(_Module, "efl_gfx_entity_position_set");
659 private static void position_set(System.IntPtr obj, System.IntPtr pd, Eina.Position2D.NativeStruct pos)
661 Eina.Log.Debug("function efl_gfx_entity_position_set was called");
662 Efl.Eo.IWrapper wrapper = Efl.Eo.Globals.PrivateDataGet(pd);
663 if(wrapper != null) {
664 Eina.Position2D _in_pos = pos;
667 ((LayoutPart)wrapper).SetPosition( _in_pos);
668 } catch (Exception e) {
669 Eina.Log.Warning($"Callback error: {e.ToString()}");
670 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
673 efl_gfx_entity_position_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), pos);
676 private static efl_gfx_entity_position_set_delegate efl_gfx_entity_position_set_static_delegate;
679 private delegate Eina.Size2D.NativeStruct efl_gfx_entity_size_get_delegate(System.IntPtr obj, System.IntPtr pd);
682 public delegate Eina.Size2D.NativeStruct efl_gfx_entity_size_get_api_delegate(System.IntPtr obj);
683 public static Efl.Eo.FunctionWrapper<efl_gfx_entity_size_get_api_delegate> efl_gfx_entity_size_get_ptr = new Efl.Eo.FunctionWrapper<efl_gfx_entity_size_get_api_delegate>(_Module, "efl_gfx_entity_size_get");
684 private static Eina.Size2D.NativeStruct size_get(System.IntPtr obj, System.IntPtr pd)
686 Eina.Log.Debug("function efl_gfx_entity_size_get was called");
687 Efl.Eo.IWrapper wrapper = Efl.Eo.Globals.PrivateDataGet(pd);
688 if(wrapper != null) {
689 Eina.Size2D _ret_var = default(Eina.Size2D);
691 _ret_var = ((LayoutPart)wrapper).GetSize();
692 } catch (Exception e) {
693 Eina.Log.Warning($"Callback error: {e.ToString()}");
694 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
698 return efl_gfx_entity_size_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
701 private static efl_gfx_entity_size_get_delegate efl_gfx_entity_size_get_static_delegate;
704 private delegate void efl_gfx_entity_size_set_delegate(System.IntPtr obj, System.IntPtr pd, Eina.Size2D.NativeStruct size);
707 public delegate void efl_gfx_entity_size_set_api_delegate(System.IntPtr obj, Eina.Size2D.NativeStruct size);
708 public static Efl.Eo.FunctionWrapper<efl_gfx_entity_size_set_api_delegate> efl_gfx_entity_size_set_ptr = new Efl.Eo.FunctionWrapper<efl_gfx_entity_size_set_api_delegate>(_Module, "efl_gfx_entity_size_set");
709 private static void size_set(System.IntPtr obj, System.IntPtr pd, Eina.Size2D.NativeStruct size)
711 Eina.Log.Debug("function efl_gfx_entity_size_set was called");
712 Efl.Eo.IWrapper wrapper = Efl.Eo.Globals.PrivateDataGet(pd);
713 if(wrapper != null) {
714 Eina.Size2D _in_size = size;
717 ((LayoutPart)wrapper).SetSize( _in_size);
718 } catch (Exception e) {
719 Eina.Log.Warning($"Callback error: {e.ToString()}");
720 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
723 efl_gfx_entity_size_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), size);
726 private static efl_gfx_entity_size_set_delegate efl_gfx_entity_size_set_static_delegate;
729 private delegate Eina.Rect.NativeStruct efl_gfx_entity_geometry_get_delegate(System.IntPtr obj, System.IntPtr pd);
732 public delegate Eina.Rect.NativeStruct efl_gfx_entity_geometry_get_api_delegate(System.IntPtr obj);
733 public static Efl.Eo.FunctionWrapper<efl_gfx_entity_geometry_get_api_delegate> efl_gfx_entity_geometry_get_ptr = new Efl.Eo.FunctionWrapper<efl_gfx_entity_geometry_get_api_delegate>(_Module, "efl_gfx_entity_geometry_get");
734 private static Eina.Rect.NativeStruct geometry_get(System.IntPtr obj, System.IntPtr pd)
736 Eina.Log.Debug("function efl_gfx_entity_geometry_get was called");
737 Efl.Eo.IWrapper wrapper = Efl.Eo.Globals.PrivateDataGet(pd);
738 if(wrapper != null) {
739 Eina.Rect _ret_var = default(Eina.Rect);
741 _ret_var = ((LayoutPart)wrapper).GetGeometry();
742 } catch (Exception e) {
743 Eina.Log.Warning($"Callback error: {e.ToString()}");
744 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
748 return efl_gfx_entity_geometry_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
751 private static efl_gfx_entity_geometry_get_delegate efl_gfx_entity_geometry_get_static_delegate;
754 private delegate void efl_gfx_entity_geometry_set_delegate(System.IntPtr obj, System.IntPtr pd, Eina.Rect.NativeStruct rect);
757 public delegate void efl_gfx_entity_geometry_set_api_delegate(System.IntPtr obj, Eina.Rect.NativeStruct rect);
758 public static Efl.Eo.FunctionWrapper<efl_gfx_entity_geometry_set_api_delegate> efl_gfx_entity_geometry_set_ptr = new Efl.Eo.FunctionWrapper<efl_gfx_entity_geometry_set_api_delegate>(_Module, "efl_gfx_entity_geometry_set");
759 private static void geometry_set(System.IntPtr obj, System.IntPtr pd, Eina.Rect.NativeStruct rect)
761 Eina.Log.Debug("function efl_gfx_entity_geometry_set was called");
762 Efl.Eo.IWrapper wrapper = Efl.Eo.Globals.PrivateDataGet(pd);
763 if(wrapper != null) {
764 Eina.Rect _in_rect = rect;
767 ((LayoutPart)wrapper).SetGeometry( _in_rect);
768 } catch (Exception e) {
769 Eina.Log.Warning($"Callback error: {e.ToString()}");
770 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
773 efl_gfx_entity_geometry_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), rect);
776 private static efl_gfx_entity_geometry_set_delegate efl_gfx_entity_geometry_set_static_delegate;
779 [return: MarshalAs(UnmanagedType.U1)] private delegate bool efl_gfx_entity_visible_get_delegate(System.IntPtr obj, System.IntPtr pd);
782 [return: MarshalAs(UnmanagedType.U1)] public delegate bool efl_gfx_entity_visible_get_api_delegate(System.IntPtr obj);
783 public static Efl.Eo.FunctionWrapper<efl_gfx_entity_visible_get_api_delegate> efl_gfx_entity_visible_get_ptr = new Efl.Eo.FunctionWrapper<efl_gfx_entity_visible_get_api_delegate>(_Module, "efl_gfx_entity_visible_get");
784 private static bool visible_get(System.IntPtr obj, System.IntPtr pd)
786 Eina.Log.Debug("function efl_gfx_entity_visible_get was called");
787 Efl.Eo.IWrapper wrapper = Efl.Eo.Globals.PrivateDataGet(pd);
788 if(wrapper != null) {
789 bool _ret_var = default(bool);
791 _ret_var = ((LayoutPart)wrapper).GetVisible();
792 } catch (Exception e) {
793 Eina.Log.Warning($"Callback error: {e.ToString()}");
794 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
798 return efl_gfx_entity_visible_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
801 private static efl_gfx_entity_visible_get_delegate efl_gfx_entity_visible_get_static_delegate;
804 private delegate void efl_gfx_entity_visible_set_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.U1)] bool v);
807 public delegate void efl_gfx_entity_visible_set_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.U1)] bool v);
808 public static Efl.Eo.FunctionWrapper<efl_gfx_entity_visible_set_api_delegate> efl_gfx_entity_visible_set_ptr = new Efl.Eo.FunctionWrapper<efl_gfx_entity_visible_set_api_delegate>(_Module, "efl_gfx_entity_visible_set");
809 private static void visible_set(System.IntPtr obj, System.IntPtr pd, bool v)
811 Eina.Log.Debug("function efl_gfx_entity_visible_set was called");
812 Efl.Eo.IWrapper wrapper = Efl.Eo.Globals.PrivateDataGet(pd);
813 if(wrapper != null) {
816 ((LayoutPart)wrapper).SetVisible( v);
817 } catch (Exception e) {
818 Eina.Log.Warning($"Callback error: {e.ToString()}");
819 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
822 efl_gfx_entity_visible_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), v);
825 private static efl_gfx_entity_visible_set_delegate efl_gfx_entity_visible_set_static_delegate;
828 private delegate double efl_gfx_entity_scale_get_delegate(System.IntPtr obj, System.IntPtr pd);
831 public delegate double efl_gfx_entity_scale_get_api_delegate(System.IntPtr obj);
832 public static Efl.Eo.FunctionWrapper<efl_gfx_entity_scale_get_api_delegate> efl_gfx_entity_scale_get_ptr = new Efl.Eo.FunctionWrapper<efl_gfx_entity_scale_get_api_delegate>(_Module, "efl_gfx_entity_scale_get");
833 private static double scale_get(System.IntPtr obj, System.IntPtr pd)
835 Eina.Log.Debug("function efl_gfx_entity_scale_get was called");
836 Efl.Eo.IWrapper wrapper = Efl.Eo.Globals.PrivateDataGet(pd);
837 if(wrapper != null) {
838 double _ret_var = default(double);
840 _ret_var = ((LayoutPart)wrapper).GetScale();
841 } catch (Exception e) {
842 Eina.Log.Warning($"Callback error: {e.ToString()}");
843 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
847 return efl_gfx_entity_scale_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
850 private static efl_gfx_entity_scale_get_delegate efl_gfx_entity_scale_get_static_delegate;
853 private delegate void efl_gfx_entity_scale_set_delegate(System.IntPtr obj, System.IntPtr pd, double scale);
856 public delegate void efl_gfx_entity_scale_set_api_delegate(System.IntPtr obj, double scale);
857 public static Efl.Eo.FunctionWrapper<efl_gfx_entity_scale_set_api_delegate> efl_gfx_entity_scale_set_ptr = new Efl.Eo.FunctionWrapper<efl_gfx_entity_scale_set_api_delegate>(_Module, "efl_gfx_entity_scale_set");
858 private static void scale_set(System.IntPtr obj, System.IntPtr pd, double scale)
860 Eina.Log.Debug("function efl_gfx_entity_scale_set was called");
861 Efl.Eo.IWrapper wrapper = Efl.Eo.Globals.PrivateDataGet(pd);
862 if(wrapper != null) {
865 ((LayoutPart)wrapper).SetScale( scale);
866 } catch (Exception e) {
867 Eina.Log.Warning($"Callback error: {e.ToString()}");
868 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
871 efl_gfx_entity_scale_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), scale);
874 private static efl_gfx_entity_scale_set_delegate efl_gfx_entity_scale_set_static_delegate;
877 [return: MarshalAs(UnmanagedType.U1)] private delegate bool efl_ui_drag_value_get_delegate(System.IntPtr obj, System.IntPtr pd, out double dx, out double dy);
880 [return: MarshalAs(UnmanagedType.U1)] public delegate bool efl_ui_drag_value_get_api_delegate(System.IntPtr obj, out double dx, out double dy);
881 public static Efl.Eo.FunctionWrapper<efl_ui_drag_value_get_api_delegate> efl_ui_drag_value_get_ptr = new Efl.Eo.FunctionWrapper<efl_ui_drag_value_get_api_delegate>(_Module, "efl_ui_drag_value_get");
882 private static bool drag_value_get(System.IntPtr obj, System.IntPtr pd, out double dx, out double dy)
884 Eina.Log.Debug("function efl_ui_drag_value_get was called");
885 Efl.Eo.IWrapper wrapper = Efl.Eo.Globals.PrivateDataGet(pd);
886 if(wrapper != null) {
887 dx = default(double); dy = default(double); bool _ret_var = default(bool);
889 _ret_var = ((LayoutPart)wrapper).GetDragValue( out dx, out dy);
890 } catch (Exception e) {
891 Eina.Log.Warning($"Callback error: {e.ToString()}");
892 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
896 return efl_ui_drag_value_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), out dx, out dy);
899 private static efl_ui_drag_value_get_delegate efl_ui_drag_value_get_static_delegate;
902 [return: MarshalAs(UnmanagedType.U1)] private delegate bool efl_ui_drag_value_set_delegate(System.IntPtr obj, System.IntPtr pd, double dx, double dy);
905 [return: MarshalAs(UnmanagedType.U1)] public delegate bool efl_ui_drag_value_set_api_delegate(System.IntPtr obj, double dx, double dy);
906 public static Efl.Eo.FunctionWrapper<efl_ui_drag_value_set_api_delegate> efl_ui_drag_value_set_ptr = new Efl.Eo.FunctionWrapper<efl_ui_drag_value_set_api_delegate>(_Module, "efl_ui_drag_value_set");
907 private static bool drag_value_set(System.IntPtr obj, System.IntPtr pd, double dx, double dy)
909 Eina.Log.Debug("function efl_ui_drag_value_set was called");
910 Efl.Eo.IWrapper wrapper = Efl.Eo.Globals.PrivateDataGet(pd);
911 if(wrapper != null) {
912 bool _ret_var = default(bool);
914 _ret_var = ((LayoutPart)wrapper).SetDragValue( dx, dy);
915 } catch (Exception e) {
916 Eina.Log.Warning($"Callback error: {e.ToString()}");
917 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
921 return efl_ui_drag_value_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), dx, dy);
924 private static efl_ui_drag_value_set_delegate efl_ui_drag_value_set_static_delegate;
927 [return: MarshalAs(UnmanagedType.U1)] private delegate bool efl_ui_drag_size_get_delegate(System.IntPtr obj, System.IntPtr pd, out double dw, out double dh);
930 [return: MarshalAs(UnmanagedType.U1)] public delegate bool efl_ui_drag_size_get_api_delegate(System.IntPtr obj, out double dw, out double dh);
931 public static Efl.Eo.FunctionWrapper<efl_ui_drag_size_get_api_delegate> efl_ui_drag_size_get_ptr = new Efl.Eo.FunctionWrapper<efl_ui_drag_size_get_api_delegate>(_Module, "efl_ui_drag_size_get");
932 private static bool drag_size_get(System.IntPtr obj, System.IntPtr pd, out double dw, out double dh)
934 Eina.Log.Debug("function efl_ui_drag_size_get was called");
935 Efl.Eo.IWrapper wrapper = Efl.Eo.Globals.PrivateDataGet(pd);
936 if(wrapper != null) {
937 dw = default(double); dh = default(double); bool _ret_var = default(bool);
939 _ret_var = ((LayoutPart)wrapper).GetDragSize( out dw, out dh);
940 } catch (Exception e) {
941 Eina.Log.Warning($"Callback error: {e.ToString()}");
942 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
946 return efl_ui_drag_size_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), out dw, out dh);
949 private static efl_ui_drag_size_get_delegate efl_ui_drag_size_get_static_delegate;
952 [return: MarshalAs(UnmanagedType.U1)] private delegate bool efl_ui_drag_size_set_delegate(System.IntPtr obj, System.IntPtr pd, double dw, double dh);
955 [return: MarshalAs(UnmanagedType.U1)] public delegate bool efl_ui_drag_size_set_api_delegate(System.IntPtr obj, double dw, double dh);
956 public static Efl.Eo.FunctionWrapper<efl_ui_drag_size_set_api_delegate> efl_ui_drag_size_set_ptr = new Efl.Eo.FunctionWrapper<efl_ui_drag_size_set_api_delegate>(_Module, "efl_ui_drag_size_set");
957 private static bool drag_size_set(System.IntPtr obj, System.IntPtr pd, double dw, double dh)
959 Eina.Log.Debug("function efl_ui_drag_size_set was called");
960 Efl.Eo.IWrapper wrapper = Efl.Eo.Globals.PrivateDataGet(pd);
961 if(wrapper != null) {
962 bool _ret_var = default(bool);
964 _ret_var = ((LayoutPart)wrapper).SetDragSize( dw, dh);
965 } catch (Exception e) {
966 Eina.Log.Warning($"Callback error: {e.ToString()}");
967 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
971 return efl_ui_drag_size_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), dw, dh);
974 private static efl_ui_drag_size_set_delegate efl_ui_drag_size_set_static_delegate;
977 private delegate Efl.Ui.DragDir efl_ui_drag_dir_get_delegate(System.IntPtr obj, System.IntPtr pd);
980 public delegate Efl.Ui.DragDir efl_ui_drag_dir_get_api_delegate(System.IntPtr obj);
981 public static Efl.Eo.FunctionWrapper<efl_ui_drag_dir_get_api_delegate> efl_ui_drag_dir_get_ptr = new Efl.Eo.FunctionWrapper<efl_ui_drag_dir_get_api_delegate>(_Module, "efl_ui_drag_dir_get");
982 private static Efl.Ui.DragDir drag_dir_get(System.IntPtr obj, System.IntPtr pd)
984 Eina.Log.Debug("function efl_ui_drag_dir_get was called");
985 Efl.Eo.IWrapper wrapper = Efl.Eo.Globals.PrivateDataGet(pd);
986 if(wrapper != null) {
987 Efl.Ui.DragDir _ret_var = default(Efl.Ui.DragDir);
989 _ret_var = ((LayoutPart)wrapper).GetDragDir();
990 } catch (Exception e) {
991 Eina.Log.Warning($"Callback error: {e.ToString()}");
992 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
996 return efl_ui_drag_dir_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
999 private static efl_ui_drag_dir_get_delegate efl_ui_drag_dir_get_static_delegate;
1002 [return: MarshalAs(UnmanagedType.U1)] private delegate bool efl_ui_drag_step_get_delegate(System.IntPtr obj, System.IntPtr pd, out double dx, out double dy);
1005 [return: MarshalAs(UnmanagedType.U1)] public delegate bool efl_ui_drag_step_get_api_delegate(System.IntPtr obj, out double dx, out double dy);
1006 public static Efl.Eo.FunctionWrapper<efl_ui_drag_step_get_api_delegate> efl_ui_drag_step_get_ptr = new Efl.Eo.FunctionWrapper<efl_ui_drag_step_get_api_delegate>(_Module, "efl_ui_drag_step_get");
1007 private static bool drag_step_get(System.IntPtr obj, System.IntPtr pd, out double dx, out double dy)
1009 Eina.Log.Debug("function efl_ui_drag_step_get was called");
1010 Efl.Eo.IWrapper wrapper = Efl.Eo.Globals.PrivateDataGet(pd);
1011 if(wrapper != null) {
1012 dx = default(double); dy = default(double); bool _ret_var = default(bool);
1014 _ret_var = ((LayoutPart)wrapper).GetDragStep( out dx, out dy);
1015 } catch (Exception e) {
1016 Eina.Log.Warning($"Callback error: {e.ToString()}");
1017 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
1021 return efl_ui_drag_step_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), out dx, out dy);
1024 private static efl_ui_drag_step_get_delegate efl_ui_drag_step_get_static_delegate;
1027 [return: MarshalAs(UnmanagedType.U1)] private delegate bool efl_ui_drag_step_set_delegate(System.IntPtr obj, System.IntPtr pd, double dx, double dy);
1030 [return: MarshalAs(UnmanagedType.U1)] public delegate bool efl_ui_drag_step_set_api_delegate(System.IntPtr obj, double dx, double dy);
1031 public static Efl.Eo.FunctionWrapper<efl_ui_drag_step_set_api_delegate> efl_ui_drag_step_set_ptr = new Efl.Eo.FunctionWrapper<efl_ui_drag_step_set_api_delegate>(_Module, "efl_ui_drag_step_set");
1032 private static bool drag_step_set(System.IntPtr obj, System.IntPtr pd, double dx, double dy)
1034 Eina.Log.Debug("function efl_ui_drag_step_set was called");
1035 Efl.Eo.IWrapper wrapper = Efl.Eo.Globals.PrivateDataGet(pd);
1036 if(wrapper != null) {
1037 bool _ret_var = default(bool);
1039 _ret_var = ((LayoutPart)wrapper).SetDragStep( dx, dy);
1040 } catch (Exception e) {
1041 Eina.Log.Warning($"Callback error: {e.ToString()}");
1042 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
1046 return efl_ui_drag_step_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), dx, dy);
1049 private static efl_ui_drag_step_set_delegate efl_ui_drag_step_set_static_delegate;
1052 [return: MarshalAs(UnmanagedType.U1)] private delegate bool efl_ui_drag_page_get_delegate(System.IntPtr obj, System.IntPtr pd, out double dx, out double dy);
1055 [return: MarshalAs(UnmanagedType.U1)] public delegate bool efl_ui_drag_page_get_api_delegate(System.IntPtr obj, out double dx, out double dy);
1056 public static Efl.Eo.FunctionWrapper<efl_ui_drag_page_get_api_delegate> efl_ui_drag_page_get_ptr = new Efl.Eo.FunctionWrapper<efl_ui_drag_page_get_api_delegate>(_Module, "efl_ui_drag_page_get");
1057 private static bool drag_page_get(System.IntPtr obj, System.IntPtr pd, out double dx, out double dy)
1059 Eina.Log.Debug("function efl_ui_drag_page_get was called");
1060 Efl.Eo.IWrapper wrapper = Efl.Eo.Globals.PrivateDataGet(pd);
1061 if(wrapper != null) {
1062 dx = default(double); dy = default(double); bool _ret_var = default(bool);
1064 _ret_var = ((LayoutPart)wrapper).GetDragPage( out dx, out dy);
1065 } catch (Exception e) {
1066 Eina.Log.Warning($"Callback error: {e.ToString()}");
1067 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
1071 return efl_ui_drag_page_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), out dx, out dy);
1074 private static efl_ui_drag_page_get_delegate efl_ui_drag_page_get_static_delegate;
1077 [return: MarshalAs(UnmanagedType.U1)] private delegate bool efl_ui_drag_page_set_delegate(System.IntPtr obj, System.IntPtr pd, double dx, double dy);
1080 [return: MarshalAs(UnmanagedType.U1)] public delegate bool efl_ui_drag_page_set_api_delegate(System.IntPtr obj, double dx, double dy);
1081 public static Efl.Eo.FunctionWrapper<efl_ui_drag_page_set_api_delegate> efl_ui_drag_page_set_ptr = new Efl.Eo.FunctionWrapper<efl_ui_drag_page_set_api_delegate>(_Module, "efl_ui_drag_page_set");
1082 private static bool drag_page_set(System.IntPtr obj, System.IntPtr pd, double dx, double dy)
1084 Eina.Log.Debug("function efl_ui_drag_page_set was called");
1085 Efl.Eo.IWrapper wrapper = Efl.Eo.Globals.PrivateDataGet(pd);
1086 if(wrapper != null) {
1087 bool _ret_var = default(bool);
1089 _ret_var = ((LayoutPart)wrapper).SetDragPage( dx, dy);
1090 } catch (Exception e) {
1091 Eina.Log.Warning($"Callback error: {e.ToString()}");
1092 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
1096 return efl_ui_drag_page_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), dx, dy);
1099 private static efl_ui_drag_page_set_delegate efl_ui_drag_page_set_static_delegate;
1102 [return: MarshalAs(UnmanagedType.U1)] private delegate bool efl_ui_drag_step_move_delegate(System.IntPtr obj, System.IntPtr pd, double dx, double dy);
1105 [return: MarshalAs(UnmanagedType.U1)] public delegate bool efl_ui_drag_step_move_api_delegate(System.IntPtr obj, double dx, double dy);
1106 public static Efl.Eo.FunctionWrapper<efl_ui_drag_step_move_api_delegate> efl_ui_drag_step_move_ptr = new Efl.Eo.FunctionWrapper<efl_ui_drag_step_move_api_delegate>(_Module, "efl_ui_drag_step_move");
1107 private static bool drag_step_move(System.IntPtr obj, System.IntPtr pd, double dx, double dy)
1109 Eina.Log.Debug("function efl_ui_drag_step_move was called");
1110 Efl.Eo.IWrapper wrapper = Efl.Eo.Globals.PrivateDataGet(pd);
1111 if(wrapper != null) {
1112 bool _ret_var = default(bool);
1114 _ret_var = ((LayoutPart)wrapper).MoveDragStep( dx, dy);
1115 } catch (Exception e) {
1116 Eina.Log.Warning($"Callback error: {e.ToString()}");
1117 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
1121 return efl_ui_drag_step_move_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), dx, dy);
1124 private static efl_ui_drag_step_move_delegate efl_ui_drag_step_move_static_delegate;
1127 [return: MarshalAs(UnmanagedType.U1)] private delegate bool efl_ui_drag_page_move_delegate(System.IntPtr obj, System.IntPtr pd, double dx, double dy);
1130 [return: MarshalAs(UnmanagedType.U1)] public delegate bool efl_ui_drag_page_move_api_delegate(System.IntPtr obj, double dx, double dy);
1131 public static Efl.Eo.FunctionWrapper<efl_ui_drag_page_move_api_delegate> efl_ui_drag_page_move_ptr = new Efl.Eo.FunctionWrapper<efl_ui_drag_page_move_api_delegate>(_Module, "efl_ui_drag_page_move");
1132 private static bool drag_page_move(System.IntPtr obj, System.IntPtr pd, double dx, double dy)
1134 Eina.Log.Debug("function efl_ui_drag_page_move was called");
1135 Efl.Eo.IWrapper wrapper = Efl.Eo.Globals.PrivateDataGet(pd);
1136 if(wrapper != null) {
1137 bool _ret_var = default(bool);
1139 _ret_var = ((LayoutPart)wrapper).MoveDragPage( dx, dy);
1140 } catch (Exception e) {
1141 Eina.Log.Warning($"Callback error: {e.ToString()}");
1142 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
1146 return efl_ui_drag_page_move_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), dx, dy);
1149 private static efl_ui_drag_page_move_delegate efl_ui_drag_page_move_static_delegate;