1 #pragma warning disable CS1591
3 using System.Runtime.InteropServices;
4 using System.Collections.Generic;
6 using System.Threading;
7 using System.ComponentModel;
12 public partial class Constants
14 public static readonly double HintExpand = 1.000000;
24 /// <summary>Efl graphics hint interface
25 /// (Since EFL 1.22)</summary>
26 [Efl.Gfx.IHintConcrete.NativeMethods]
27 public interface IHint :
28 Efl.Eo.IWrapper, IDisposable
30 /// <summary>Defines the aspect ratio to respect when scaling this object.
31 /// The aspect ratio is defined as the width / height ratio of the object. Depending on the object and its container, this hint may or may not be fully respected.
33 /// If any of the given aspect ratio terms are 0, the object's container will ignore the aspect and scale this object to occupy the whole available area, for any given policy.
34 /// (Since EFL 1.22)</summary>
35 /// <param name="mode">Mode of interpretation.</param>
36 /// <param name="sz">Base size to use for aspecting.</param>
37 void GetHintAspect(out Efl.Gfx.HintAspect mode, out Eina.Size2D sz);
38 /// <summary>Defines the aspect ratio to respect when scaling this object.
39 /// The aspect ratio is defined as the width / height ratio of the object. Depending on the object and its container, this hint may or may not be fully respected.
41 /// If any of the given aspect ratio terms are 0, the object's container will ignore the aspect and scale this object to occupy the whole available area, for any given policy.
42 /// (Since EFL 1.22)</summary>
43 /// <param name="mode">Mode of interpretation.</param>
44 /// <param name="sz">Base size to use for aspecting.</param>
45 void SetHintAspect(Efl.Gfx.HintAspect mode, Eina.Size2D sz);
46 /// <summary>Hints on the object's maximum size.
47 /// This is not a size enforcement in any way, it's just a hint that should be used whenever appropriate.
49 /// The object container is in charge of fetching this property and placing the object accordingly.
51 /// Values -1 will be treated as unset hint components, when queried by managers.
53 /// Note: Smart objects (such as elementary) can have their own hint policy. So calling this API may or may not affect the size of smart objects.
54 /// (Since EFL 1.22)</summary>
55 /// <returns>Maximum size (hint) in pixels, (-1, -1) by default for canvas objects).</returns>
56 Eina.Size2D GetHintSizeMax();
57 /// <summary>Hints on the object's maximum size.
58 /// This is not a size enforcement in any way, it's just a hint that should be used whenever appropriate.
60 /// The object container is in charge of fetching this property and placing the object accordingly.
62 /// Values -1 will be treated as unset hint components, when queried by managers.
64 /// Note: Smart objects (such as elementary) can have their own hint policy. So calling this API may or may not affect the size of smart objects.
65 /// (Since EFL 1.22)</summary>
66 /// <param name="sz">Maximum size (hint) in pixels, (-1, -1) by default for canvas objects).</param>
67 void SetHintSizeMax(Eina.Size2D sz);
68 /// <summary>Hints on the object's minimum size.
69 /// This is not a size enforcement in any way, it's just a hint that should be used whenever appropriate. The object container is in charge of fetching this property and placing the object accordingly.
71 /// Value 0 will be treated as unset hint components, when queried by managers.
73 /// Note: This property is meant to be set by applications and not by EFL itself. Use this to request a specific size (treated as minimum size).
74 /// (Since EFL 1.22)</summary>
75 /// <returns>Minimum size (hint) in pixels.</returns>
76 Eina.Size2D GetHintSizeMin();
77 /// <summary>Hints on the object's minimum size.
78 /// This is not a size enforcement in any way, it's just a hint that should be used whenever appropriate. The object container is in charge of fetching this property and placing the object accordingly.
80 /// Value 0 will be treated as unset hint components, when queried by managers.
82 /// Note: This property is meant to be set by applications and not by EFL itself. Use this to request a specific size (treated as minimum size).
83 /// (Since EFL 1.22)</summary>
84 /// <param name="sz">Minimum size (hint) in pixels.</param>
85 void SetHintSizeMin(Eina.Size2D sz);
86 /// <summary>Get the "intrinsic" minimum size of this object.
87 /// (Since EFL 1.22)</summary>
88 /// <returns>Minimum size (hint) in pixels.</returns>
89 Eina.Size2D GetHintSizeRestrictedMin();
90 /// <summary>This function is protected as it is meant for widgets to indicate their "intrinsic" minimum size.
91 /// (Since EFL 1.22)</summary>
92 /// <param name="sz">Minimum size (hint) in pixels.</param>
93 void SetHintSizeRestrictedMin(Eina.Size2D sz);
94 /// <summary>Read-only minimum size combining both <see cref="Efl.Gfx.IHint.HintSizeRestrictedMin"/> and <see cref="Efl.Gfx.IHint.HintSizeMin"/> hints.
95 /// <see cref="Efl.Gfx.IHint.HintSizeRestrictedMin"/> is intended for mostly internal usage and widget developers, and <see cref="Efl.Gfx.IHint.HintSizeMin"/> is intended to be set from application side. <see cref="Efl.Gfx.IHint.GetHintSizeCombinedMin"/> combines both values by taking their repective maximum (in both width and height), and is used internally to get an object's minimum size.
96 /// (Since EFL 1.22)</summary>
97 /// <returns>Minimum size (hint) in pixels.</returns>
98 Eina.Size2D GetHintSizeCombinedMin();
99 /// <summary>Hints for an object's margin or padding space.
100 /// This is not a size enforcement in any way, it's just a hint that should be used whenever appropriate.
102 /// The object container is in charge of fetching this property and placing the object accordingly.
104 /// Note: Smart objects (such as elementary) can have their own hint policy. So calling this API may or may not affect the size of smart objects.
105 /// (Since EFL 1.22)</summary>
106 /// <param name="l">Integer to specify left padding.</param>
107 /// <param name="r">Integer to specify right padding.</param>
108 /// <param name="t">Integer to specify top padding.</param>
109 /// <param name="b">Integer to specify bottom padding.</param>
110 void GetHintMargin(out int l, out int r, out int t, out int b);
111 /// <summary>Hints for an object's margin or padding space.
112 /// This is not a size enforcement in any way, it's just a hint that should be used whenever appropriate.
114 /// The object container is in charge of fetching this property and placing the object accordingly.
116 /// Note: Smart objects (such as elementary) can have their own hint policy. So calling this API may or may not affect the size of smart objects.
117 /// (Since EFL 1.22)</summary>
118 /// <param name="l">Integer to specify left padding.</param>
119 /// <param name="r">Integer to specify right padding.</param>
120 /// <param name="t">Integer to specify top padding.</param>
121 /// <param name="b">Integer to specify bottom padding.</param>
122 void SetHintMargin(int l, int r, int t, int b);
123 /// <summary>Hints for an object's weight.
124 /// This is a hint on how a container object should resize a given child within its area. Containers may adhere to the simpler logic of just expanding the child object's dimensions to fit its own (see the <see cref="Efl.Gfx.Constants.HintExpand"/> helper weight macro) or the complete one of taking each child's weight hint as real weights to how much of its size to allocate for them in each axis. A container is supposed to, after normalizing the weights of its children (with weight hints), distribut the space it has to layout them by those factors -- most weighted children get larger in this process than the least ones.
126 /// Accepted values are zero or positive values. Some containers might use this hint as a boolean, but some others might consider it as a proportion, see documentation of each container.
128 /// Note: Default weight hint values are 0.0, for both axis.
129 /// (Since EFL 1.22)</summary>
130 /// <param name="x">Non-negative double value to use as horizontal weight hint.</param>
131 /// <param name="y">Non-negative double value to use as vertical weight hint.</param>
132 void GetHintWeight(out double x, out double y);
133 /// <summary>Hints for an object's weight.
134 /// This is a hint on how a container object should resize a given child within its area. Containers may adhere to the simpler logic of just expanding the child object's dimensions to fit its own (see the <see cref="Efl.Gfx.Constants.HintExpand"/> helper weight macro) or the complete one of taking each child's weight hint as real weights to how much of its size to allocate for them in each axis. A container is supposed to, after normalizing the weights of its children (with weight hints), distribut the space it has to layout them by those factors -- most weighted children get larger in this process than the least ones.
136 /// Accepted values are zero or positive values. Some containers might use this hint as a boolean, but some others might consider it as a proportion, see documentation of each container.
138 /// Note: Default weight hint values are 0.0, for both axis.
139 /// (Since EFL 1.22)</summary>
140 /// <param name="x">Non-negative double value to use as horizontal weight hint.</param>
141 /// <param name="y">Non-negative double value to use as vertical weight hint.</param>
142 void SetHintWeight(double x, double y);
143 /// <summary>Hints for an object's alignment.
144 /// These are hints on how to align an object inside the boundaries of a container/manager. Accepted values are in the 0.0 to 1.0 range.
146 /// For the horizontal component, 0.0 means to the left, 1.0 means to the right. Analogously, for the vertical component, 0.0 to the top, 1.0 means to the bottom.
148 /// This is not a size enforcement in any way, it's just a hint that should be used whenever appropriate.
150 /// Note: Default alignment hint values are 0.5, for both axes.
151 /// (Since EFL 1.22)</summary>
152 /// <param name="x">Double, ranging from 0.0 to 1.0.</param>
153 /// <param name="y">Double, ranging from 0.0 to 1.0.</param>
154 void GetHintAlign(out double x, out double y);
155 /// <summary>Hints for an object's alignment.
156 /// These are hints on how to align an object inside the boundaries of a container/manager. Accepted values are in the 0.0 to 1.0 range.
158 /// For the horizontal component, 0.0 means to the left, 1.0 means to the right. Analogously, for the vertical component, 0.0 to the top, 1.0 means to the bottom.
160 /// This is not a size enforcement in any way, it's just a hint that should be used whenever appropriate.
162 /// Note: Default alignment hint values are 0.5, for both axes.
163 /// (Since EFL 1.22)</summary>
164 /// <param name="x">Double, ranging from 0.0 to 1.0.</param>
165 /// <param name="y">Double, ranging from 0.0 to 1.0.</param>
166 void SetHintAlign(double x, double y);
167 /// <summary>Hints for an object's fill property that used to specify "justify" or "fill" by some users. <see cref="Efl.Gfx.IHint.GetHintFill"/> specify whether to fill the space inside the boundaries of a container/manager.
168 /// Maximum hints should be enforced with higher priority, if they are set. Also, any <see cref="Efl.Gfx.IHint.GetHintMargin"/> set on objects should add up to the object space on the final scene composition.
170 /// See documentation of possible users: in Evas, they are the <see cref="Efl.Ui.Box"/> "box" and <see cref="Efl.Ui.Table"/> "table" smart objects.
172 /// This is not a size enforcement in any way, it's just a hint that should be used whenever appropriate.
174 /// Note: Default fill hint values are true, for both axes.
175 /// (Since EFL 1.22)</summary>
176 /// <param name="x"><c>true</c> if to fill the object space, <c>false</c> otherwise, to use as horizontal fill hint.</param>
177 /// <param name="y"><c>true</c> if to fill the object space, <c>false</c> otherwise, to use as vertical fill hint.</param>
178 void GetHintFill(out bool x, out bool y);
179 /// <summary>Hints for an object's fill property that used to specify "justify" or "fill" by some users. <see cref="Efl.Gfx.IHint.GetHintFill"/> specify whether to fill the space inside the boundaries of a container/manager.
180 /// Maximum hints should be enforced with higher priority, if they are set. Also, any <see cref="Efl.Gfx.IHint.GetHintMargin"/> set on objects should add up to the object space on the final scene composition.
182 /// See documentation of possible users: in Evas, they are the <see cref="Efl.Ui.Box"/> "box" and <see cref="Efl.Ui.Table"/> "table" smart objects.
184 /// This is not a size enforcement in any way, it's just a hint that should be used whenever appropriate.
186 /// Note: Default fill hint values are true, for both axes.
187 /// (Since EFL 1.22)</summary>
188 /// <param name="x"><c>true</c> if to fill the object space, <c>false</c> otherwise, to use as horizontal fill hint.</param>
189 /// <param name="y"><c>true</c> if to fill the object space, <c>false</c> otherwise, to use as vertical fill hint.</param>
190 void SetHintFill(bool x, bool y);
191 /// <summary>Object hints changed.
192 /// (Since EFL 1.22)</summary>
193 event EventHandler HintsChangedEvt;
194 /// <summary>Hints on the object's maximum size.
195 /// This is not a size enforcement in any way, it's just a hint that should be used whenever appropriate.
197 /// The object container is in charge of fetching this property and placing the object accordingly.
199 /// Values -1 will be treated as unset hint components, when queried by managers.
201 /// Note: Smart objects (such as elementary) can have their own hint policy. So calling this API may or may not affect the size of smart objects.
202 /// (Since EFL 1.22)</summary>
203 /// <value>Maximum size (hint) in pixels, (-1, -1) by default for canvas objects).</value>
204 Eina.Size2D HintSizeMax {
208 /// <summary>Hints on the object's minimum size.
209 /// This is not a size enforcement in any way, it's just a hint that should be used whenever appropriate. The object container is in charge of fetching this property and placing the object accordingly.
211 /// Value 0 will be treated as unset hint components, when queried by managers.
213 /// Note: This property is meant to be set by applications and not by EFL itself. Use this to request a specific size (treated as minimum size).
214 /// (Since EFL 1.22)</summary>
215 /// <value>Minimum size (hint) in pixels.</value>
216 Eina.Size2D HintSizeMin {
220 /// <summary>Internal hints for an object's minimum size.
221 /// This is not a size enforcement in any way, it's just a hint that should be used whenever appropriate.
223 /// Values 0 will be treated as unset hint components, when queried by managers.
225 /// Note: This property is internal and meant for widget developers to define the absolute minimum size of the object. EFL itself sets this size internally, so any change to it from an application might be ignored. Use <see cref="Efl.Gfx.IHint.HintSizeMin"/> instead.
226 /// (Since EFL 1.22)</summary>
227 /// <value>Minimum size (hint) in pixels.</value>
228 Eina.Size2D HintSizeRestrictedMin {
232 /// <summary>Read-only minimum size combining both <see cref="Efl.Gfx.IHint.HintSizeRestrictedMin"/> and <see cref="Efl.Gfx.IHint.HintSizeMin"/> hints.
233 /// <see cref="Efl.Gfx.IHint.HintSizeRestrictedMin"/> is intended for mostly internal usage and widget developers, and <see cref="Efl.Gfx.IHint.HintSizeMin"/> is intended to be set from application side. <see cref="Efl.Gfx.IHint.GetHintSizeCombinedMin"/> combines both values by taking their repective maximum (in both width and height), and is used internally to get an object's minimum size.
234 /// (Since EFL 1.22)</summary>
235 /// <value>Minimum size (hint) in pixels.</value>
236 Eina.Size2D HintSizeCombinedMin {
240 /// <summary>Efl graphics hint interface
241 /// (Since EFL 1.22)</summary>
242 sealed public class IHintConcrete :
247 ///<summary>Pointer to the native class description.</summary>
248 public System.IntPtr NativeClass
252 if (((object)this).GetType() == typeof(IHintConcrete))
254 return GetEflClassStatic();
258 return Efl.Eo.ClassRegister.klassFromType[((object)this).GetType()];
263 private Dictionary<(IntPtr desc, object evtDelegate), (IntPtr evtCallerPtr, Efl.EventCb evtCaller)> eoEvents = new Dictionary<(IntPtr desc, object evtDelegate), (IntPtr evtCallerPtr, Efl.EventCb evtCaller)>();
264 private readonly object eventLock = new object();
265 private System.IntPtr handle;
266 ///<summary>Pointer to the native instance.</summary>
267 public System.IntPtr NativeHandle
269 get { return handle; }
272 [System.Runtime.InteropServices.DllImport(efl.Libs.Efl)] internal static extern System.IntPtr
273 efl_gfx_hint_interface_get();
274 /// <summary>Initializes a new instance of the <see cref="IHint"/> class.
275 /// Internal usage: This is used when interacting with C code and should not be used directly.</summary>
276 private IHintConcrete(System.IntPtr raw)
280 ///<summary>Destructor.</summary>
286 ///<summary>Releases the underlying native instance.</summary>
287 private void Dispose(bool disposing)
289 if (handle != System.IntPtr.Zero)
292 handle = IntPtr.Zero;
294 IntPtr gcHandlePtr = IntPtr.Zero;
295 if (eoEvents.Count != 0)
297 GCHandle gcHandle = GCHandle.Alloc(eoEvents);
298 gcHandlePtr = GCHandle.ToIntPtr(gcHandle);
303 Efl.Eo.Globals.efl_mono_native_dispose(h, gcHandlePtr);
307 Monitor.Enter(Efl.All.InitLock);
308 if (Efl.All.MainLoopInitialized)
310 Efl.Eo.Globals.efl_mono_thread_safe_native_dispose(h, gcHandlePtr);
313 Monitor.Exit(Efl.All.InitLock);
319 ///<summary>Releases the underlying native instance.</summary>
320 public void Dispose()
323 GC.SuppressFinalize(this);
326 /// <summary>Verifies if the given object is equal to this one.</summary>
327 /// <param name="instance">The object to compare to.</param>
328 /// <returns>True if both objects point to the same native object.</returns>
329 public override bool Equals(object instance)
331 var other = instance as Efl.Object;
336 return this.NativeHandle == other.NativeHandle;
339 /// <summary>Gets the hash code for this object based on the native pointer it points to.</summary>
340 /// <returns>The value of the pointer, to be used as the hash code of this object.</returns>
341 public override int GetHashCode()
343 return this.NativeHandle.ToInt32();
346 /// <summary>Turns the native pointer into a string representation.</summary>
347 /// <returns>A string with the type and the native pointer for this object.</returns>
348 public override String ToString()
350 return $"{this.GetType().Name}@[{this.NativeHandle.ToInt32():x}]";
353 ///<summary>Adds a new event handler, registering it to the native event. For internal use only.</summary>
354 ///<param name="lib">The name of the native library definining the event.</param>
355 ///<param name="key">The name of the native event.</param>
356 ///<param name="evtCaller">Delegate to be called by native code on event raising.</param>
357 ///<param name="evtDelegate">Managed delegate that will be called by evtCaller on event raising.</param>
358 private void AddNativeEventHandler(string lib, string key, Efl.EventCb evtCaller, object evtDelegate)
360 IntPtr desc = Efl.EventDescription.GetNative(lib, key);
361 if (desc == IntPtr.Zero)
363 Eina.Log.Error($"Failed to get native event {key}");
366 if (eoEvents.ContainsKey((desc, evtDelegate)))
368 Eina.Log.Warning($"Event proxy for event {key} already registered!");
372 IntPtr evtCallerPtr = Marshal.GetFunctionPointerForDelegate(evtCaller);
373 if (!Efl.Eo.Globals.efl_event_callback_priority_add(handle, desc, 0, evtCallerPtr, IntPtr.Zero))
375 Eina.Log.Error($"Failed to add event proxy for event {key}");
379 eoEvents[(desc, evtDelegate)] = (evtCallerPtr, evtCaller);
380 Eina.Error.RaiseIfUnhandledException();
383 ///<summary>Removes the given event handler for the given event. For internal use only.</summary>
384 ///<param name="lib">The name of the native library definining the event.</param>
385 ///<param name="key">The name of the native event.</param>
386 ///<param name="evtDelegate">The delegate to be removed.</param>
387 private void RemoveNativeEventHandler(string lib, string key, object evtDelegate)
389 IntPtr desc = Efl.EventDescription.GetNative(lib, key);
390 if (desc == IntPtr.Zero)
392 Eina.Log.Error($"Failed to get native event {key}");
396 var evtPair = (desc, evtDelegate);
397 if (eoEvents.TryGetValue(evtPair, out var caller))
399 if (!Efl.Eo.Globals.efl_event_callback_del(handle, desc, caller.evtCallerPtr, IntPtr.Zero))
401 Eina.Log.Error($"Failed to remove event proxy for event {key}");
405 eoEvents.Remove(evtPair);
406 Eina.Error.RaiseIfUnhandledException();
410 Eina.Log.Error($"Trying to remove proxy for event {key} when it is nothing registered.");
414 /// <summary>Object hints changed.
415 /// (Since EFL 1.22)</summary>
416 public event EventHandler HintsChangedEvt
422 var wRef = new WeakReference(this);
423 Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
425 var obj = wRef.Target as Efl.Eo.IWrapper;
428 EventArgs args = EventArgs.Empty;
431 value?.Invoke(obj, args);
435 Eina.Log.Error(e.ToString());
436 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
441 string key = "_EFL_GFX_ENTITY_EVENT_HINTS_CHANGED";
442 AddNativeEventHandler(efl.Libs.Efl, key, callerCb, value);
450 string key = "_EFL_GFX_ENTITY_EVENT_HINTS_CHANGED";
451 RemoveNativeEventHandler(efl.Libs.Efl, key, value);
455 ///<summary>Method to raise event HintsChangedEvt.</summary>
456 public void OnHintsChangedEvt(EventArgs e)
458 var key = "_EFL_GFX_ENTITY_EVENT_HINTS_CHANGED";
459 IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Efl, key);
460 if (desc == IntPtr.Zero)
462 Eina.Log.Error($"Failed to get native event {key}");
466 Efl.Eo.Globals.efl_event_callback_call(this.NativeHandle, desc, IntPtr.Zero);
468 /// <summary>Defines the aspect ratio to respect when scaling this object.
469 /// The aspect ratio is defined as the width / height ratio of the object. Depending on the object and its container, this hint may or may not be fully respected.
471 /// If any of the given aspect ratio terms are 0, the object's container will ignore the aspect and scale this object to occupy the whole available area, for any given policy.
472 /// (Since EFL 1.22)</summary>
473 /// <param name="mode">Mode of interpretation.</param>
474 /// <param name="sz">Base size to use for aspecting.</param>
475 public void GetHintAspect(out Efl.Gfx.HintAspect mode, out Eina.Size2D sz) {
476 var _out_sz = new Eina.Size2D.NativeStruct();
477 Efl.Gfx.IHintConcrete.NativeMethods.efl_gfx_hint_aspect_get_ptr.Value.Delegate(this.NativeHandle,out mode, out _out_sz);
478 Eina.Error.RaiseIfUnhandledException();
481 /// <summary>Defines the aspect ratio to respect when scaling this object.
482 /// The aspect ratio is defined as the width / height ratio of the object. Depending on the object and its container, this hint may or may not be fully respected.
484 /// If any of the given aspect ratio terms are 0, the object's container will ignore the aspect and scale this object to occupy the whole available area, for any given policy.
485 /// (Since EFL 1.22)</summary>
486 /// <param name="mode">Mode of interpretation.</param>
487 /// <param name="sz">Base size to use for aspecting.</param>
488 public void SetHintAspect(Efl.Gfx.HintAspect mode, Eina.Size2D sz) {
489 Eina.Size2D.NativeStruct _in_sz = sz;
490 Efl.Gfx.IHintConcrete.NativeMethods.efl_gfx_hint_aspect_set_ptr.Value.Delegate(this.NativeHandle,mode, _in_sz);
491 Eina.Error.RaiseIfUnhandledException();
493 /// <summary>Hints on the object's maximum size.
494 /// This is not a size enforcement in any way, it's just a hint that should be used whenever appropriate.
496 /// The object container is in charge of fetching this property and placing the object accordingly.
498 /// Values -1 will be treated as unset hint components, when queried by managers.
500 /// Note: Smart objects (such as elementary) can have their own hint policy. So calling this API may or may not affect the size of smart objects.
501 /// (Since EFL 1.22)</summary>
502 /// <returns>Maximum size (hint) in pixels, (-1, -1) by default for canvas objects).</returns>
503 public Eina.Size2D GetHintSizeMax() {
504 var _ret_var = Efl.Gfx.IHintConcrete.NativeMethods.efl_gfx_hint_size_max_get_ptr.Value.Delegate(this.NativeHandle);
505 Eina.Error.RaiseIfUnhandledException();
508 /// <summary>Hints on the object's maximum size.
509 /// This is not a size enforcement in any way, it's just a hint that should be used whenever appropriate.
511 /// The object container is in charge of fetching this property and placing the object accordingly.
513 /// Values -1 will be treated as unset hint components, when queried by managers.
515 /// Note: Smart objects (such as elementary) can have their own hint policy. So calling this API may or may not affect the size of smart objects.
516 /// (Since EFL 1.22)</summary>
517 /// <param name="sz">Maximum size (hint) in pixels, (-1, -1) by default for canvas objects).</param>
518 public void SetHintSizeMax(Eina.Size2D sz) {
519 Eina.Size2D.NativeStruct _in_sz = sz;
520 Efl.Gfx.IHintConcrete.NativeMethods.efl_gfx_hint_size_max_set_ptr.Value.Delegate(this.NativeHandle,_in_sz);
521 Eina.Error.RaiseIfUnhandledException();
523 /// <summary>Hints on the object's minimum size.
524 /// This is not a size enforcement in any way, it's just a hint that should be used whenever appropriate. The object container is in charge of fetching this property and placing the object accordingly.
526 /// Value 0 will be treated as unset hint components, when queried by managers.
528 /// Note: This property is meant to be set by applications and not by EFL itself. Use this to request a specific size (treated as minimum size).
529 /// (Since EFL 1.22)</summary>
530 /// <returns>Minimum size (hint) in pixels.</returns>
531 public Eina.Size2D GetHintSizeMin() {
532 var _ret_var = Efl.Gfx.IHintConcrete.NativeMethods.efl_gfx_hint_size_min_get_ptr.Value.Delegate(this.NativeHandle);
533 Eina.Error.RaiseIfUnhandledException();
536 /// <summary>Hints on the object's minimum size.
537 /// This is not a size enforcement in any way, it's just a hint that should be used whenever appropriate. The object container is in charge of fetching this property and placing the object accordingly.
539 /// Value 0 will be treated as unset hint components, when queried by managers.
541 /// Note: This property is meant to be set by applications and not by EFL itself. Use this to request a specific size (treated as minimum size).
542 /// (Since EFL 1.22)</summary>
543 /// <param name="sz">Minimum size (hint) in pixels.</param>
544 public void SetHintSizeMin(Eina.Size2D sz) {
545 Eina.Size2D.NativeStruct _in_sz = sz;
546 Efl.Gfx.IHintConcrete.NativeMethods.efl_gfx_hint_size_min_set_ptr.Value.Delegate(this.NativeHandle,_in_sz);
547 Eina.Error.RaiseIfUnhandledException();
549 /// <summary>Get the "intrinsic" minimum size of this object.
550 /// (Since EFL 1.22)</summary>
551 /// <returns>Minimum size (hint) in pixels.</returns>
552 public Eina.Size2D GetHintSizeRestrictedMin() {
553 var _ret_var = Efl.Gfx.IHintConcrete.NativeMethods.efl_gfx_hint_size_restricted_min_get_ptr.Value.Delegate(this.NativeHandle);
554 Eina.Error.RaiseIfUnhandledException();
557 /// <summary>This function is protected as it is meant for widgets to indicate their "intrinsic" minimum size.
558 /// (Since EFL 1.22)</summary>
559 /// <param name="sz">Minimum size (hint) in pixels.</param>
560 public void SetHintSizeRestrictedMin(Eina.Size2D sz) {
561 Eina.Size2D.NativeStruct _in_sz = sz;
562 Efl.Gfx.IHintConcrete.NativeMethods.efl_gfx_hint_size_restricted_min_set_ptr.Value.Delegate(this.NativeHandle,_in_sz);
563 Eina.Error.RaiseIfUnhandledException();
565 /// <summary>Read-only minimum size combining both <see cref="Efl.Gfx.IHint.HintSizeRestrictedMin"/> and <see cref="Efl.Gfx.IHint.HintSizeMin"/> hints.
566 /// <see cref="Efl.Gfx.IHint.HintSizeRestrictedMin"/> is intended for mostly internal usage and widget developers, and <see cref="Efl.Gfx.IHint.HintSizeMin"/> is intended to be set from application side. <see cref="Efl.Gfx.IHint.GetHintSizeCombinedMin"/> combines both values by taking their repective maximum (in both width and height), and is used internally to get an object's minimum size.
567 /// (Since EFL 1.22)</summary>
568 /// <returns>Minimum size (hint) in pixels.</returns>
569 public Eina.Size2D GetHintSizeCombinedMin() {
570 var _ret_var = Efl.Gfx.IHintConcrete.NativeMethods.efl_gfx_hint_size_combined_min_get_ptr.Value.Delegate(this.NativeHandle);
571 Eina.Error.RaiseIfUnhandledException();
574 /// <summary>Hints for an object's margin or padding space.
575 /// This is not a size enforcement in any way, it's just a hint that should be used whenever appropriate.
577 /// The object container is in charge of fetching this property and placing the object accordingly.
579 /// Note: Smart objects (such as elementary) can have their own hint policy. So calling this API may or may not affect the size of smart objects.
580 /// (Since EFL 1.22)</summary>
581 /// <param name="l">Integer to specify left padding.</param>
582 /// <param name="r">Integer to specify right padding.</param>
583 /// <param name="t">Integer to specify top padding.</param>
584 /// <param name="b">Integer to specify bottom padding.</param>
585 public void GetHintMargin(out int l, out int r, out int t, out int b) {
586 Efl.Gfx.IHintConcrete.NativeMethods.efl_gfx_hint_margin_get_ptr.Value.Delegate(this.NativeHandle,out l, out r, out t, out b);
587 Eina.Error.RaiseIfUnhandledException();
589 /// <summary>Hints for an object's margin or padding space.
590 /// This is not a size enforcement in any way, it's just a hint that should be used whenever appropriate.
592 /// The object container is in charge of fetching this property and placing the object accordingly.
594 /// Note: Smart objects (such as elementary) can have their own hint policy. So calling this API may or may not affect the size of smart objects.
595 /// (Since EFL 1.22)</summary>
596 /// <param name="l">Integer to specify left padding.</param>
597 /// <param name="r">Integer to specify right padding.</param>
598 /// <param name="t">Integer to specify top padding.</param>
599 /// <param name="b">Integer to specify bottom padding.</param>
600 public void SetHintMargin(int l, int r, int t, int b) {
601 Efl.Gfx.IHintConcrete.NativeMethods.efl_gfx_hint_margin_set_ptr.Value.Delegate(this.NativeHandle,l, r, t, b);
602 Eina.Error.RaiseIfUnhandledException();
604 /// <summary>Hints for an object's weight.
605 /// This is a hint on how a container object should resize a given child within its area. Containers may adhere to the simpler logic of just expanding the child object's dimensions to fit its own (see the <see cref="Efl.Gfx.Constants.HintExpand"/> helper weight macro) or the complete one of taking each child's weight hint as real weights to how much of its size to allocate for them in each axis. A container is supposed to, after normalizing the weights of its children (with weight hints), distribut the space it has to layout them by those factors -- most weighted children get larger in this process than the least ones.
607 /// Accepted values are zero or positive values. Some containers might use this hint as a boolean, but some others might consider it as a proportion, see documentation of each container.
609 /// Note: Default weight hint values are 0.0, for both axis.
610 /// (Since EFL 1.22)</summary>
611 /// <param name="x">Non-negative double value to use as horizontal weight hint.</param>
612 /// <param name="y">Non-negative double value to use as vertical weight hint.</param>
613 public void GetHintWeight(out double x, out double y) {
614 Efl.Gfx.IHintConcrete.NativeMethods.efl_gfx_hint_weight_get_ptr.Value.Delegate(this.NativeHandle,out x, out y);
615 Eina.Error.RaiseIfUnhandledException();
617 /// <summary>Hints for an object's weight.
618 /// This is a hint on how a container object should resize a given child within its area. Containers may adhere to the simpler logic of just expanding the child object's dimensions to fit its own (see the <see cref="Efl.Gfx.Constants.HintExpand"/> helper weight macro) or the complete one of taking each child's weight hint as real weights to how much of its size to allocate for them in each axis. A container is supposed to, after normalizing the weights of its children (with weight hints), distribut the space it has to layout them by those factors -- most weighted children get larger in this process than the least ones.
620 /// Accepted values are zero or positive values. Some containers might use this hint as a boolean, but some others might consider it as a proportion, see documentation of each container.
622 /// Note: Default weight hint values are 0.0, for both axis.
623 /// (Since EFL 1.22)</summary>
624 /// <param name="x">Non-negative double value to use as horizontal weight hint.</param>
625 /// <param name="y">Non-negative double value to use as vertical weight hint.</param>
626 public void SetHintWeight(double x, double y) {
627 Efl.Gfx.IHintConcrete.NativeMethods.efl_gfx_hint_weight_set_ptr.Value.Delegate(this.NativeHandle,x, y);
628 Eina.Error.RaiseIfUnhandledException();
630 /// <summary>Hints for an object's alignment.
631 /// These are hints on how to align an object inside the boundaries of a container/manager. Accepted values are in the 0.0 to 1.0 range.
633 /// For the horizontal component, 0.0 means to the left, 1.0 means to the right. Analogously, for the vertical component, 0.0 to the top, 1.0 means to the bottom.
635 /// This is not a size enforcement in any way, it's just a hint that should be used whenever appropriate.
637 /// Note: Default alignment hint values are 0.5, for both axes.
638 /// (Since EFL 1.22)</summary>
639 /// <param name="x">Double, ranging from 0.0 to 1.0.</param>
640 /// <param name="y">Double, ranging from 0.0 to 1.0.</param>
641 public void GetHintAlign(out double x, out double y) {
642 Efl.Gfx.IHintConcrete.NativeMethods.efl_gfx_hint_align_get_ptr.Value.Delegate(this.NativeHandle,out x, out y);
643 Eina.Error.RaiseIfUnhandledException();
645 /// <summary>Hints for an object's alignment.
646 /// These are hints on how to align an object inside the boundaries of a container/manager. Accepted values are in the 0.0 to 1.0 range.
648 /// For the horizontal component, 0.0 means to the left, 1.0 means to the right. Analogously, for the vertical component, 0.0 to the top, 1.0 means to the bottom.
650 /// This is not a size enforcement in any way, it's just a hint that should be used whenever appropriate.
652 /// Note: Default alignment hint values are 0.5, for both axes.
653 /// (Since EFL 1.22)</summary>
654 /// <param name="x">Double, ranging from 0.0 to 1.0.</param>
655 /// <param name="y">Double, ranging from 0.0 to 1.0.</param>
656 public void SetHintAlign(double x, double y) {
657 Efl.Gfx.IHintConcrete.NativeMethods.efl_gfx_hint_align_set_ptr.Value.Delegate(this.NativeHandle,x, y);
658 Eina.Error.RaiseIfUnhandledException();
660 /// <summary>Hints for an object's fill property that used to specify "justify" or "fill" by some users. <see cref="Efl.Gfx.IHint.GetHintFill"/> specify whether to fill the space inside the boundaries of a container/manager.
661 /// Maximum hints should be enforced with higher priority, if they are set. Also, any <see cref="Efl.Gfx.IHint.GetHintMargin"/> set on objects should add up to the object space on the final scene composition.
663 /// See documentation of possible users: in Evas, they are the <see cref="Efl.Ui.Box"/> "box" and <see cref="Efl.Ui.Table"/> "table" smart objects.
665 /// This is not a size enforcement in any way, it's just a hint that should be used whenever appropriate.
667 /// Note: Default fill hint values are true, for both axes.
668 /// (Since EFL 1.22)</summary>
669 /// <param name="x"><c>true</c> if to fill the object space, <c>false</c> otherwise, to use as horizontal fill hint.</param>
670 /// <param name="y"><c>true</c> if to fill the object space, <c>false</c> otherwise, to use as vertical fill hint.</param>
671 public void GetHintFill(out bool x, out bool y) {
672 Efl.Gfx.IHintConcrete.NativeMethods.efl_gfx_hint_fill_get_ptr.Value.Delegate(this.NativeHandle,out x, out y);
673 Eina.Error.RaiseIfUnhandledException();
675 /// <summary>Hints for an object's fill property that used to specify "justify" or "fill" by some users. <see cref="Efl.Gfx.IHint.GetHintFill"/> specify whether to fill the space inside the boundaries of a container/manager.
676 /// Maximum hints should be enforced with higher priority, if they are set. Also, any <see cref="Efl.Gfx.IHint.GetHintMargin"/> set on objects should add up to the object space on the final scene composition.
678 /// See documentation of possible users: in Evas, they are the <see cref="Efl.Ui.Box"/> "box" and <see cref="Efl.Ui.Table"/> "table" smart objects.
680 /// This is not a size enforcement in any way, it's just a hint that should be used whenever appropriate.
682 /// Note: Default fill hint values are true, for both axes.
683 /// (Since EFL 1.22)</summary>
684 /// <param name="x"><c>true</c> if to fill the object space, <c>false</c> otherwise, to use as horizontal fill hint.</param>
685 /// <param name="y"><c>true</c> if to fill the object space, <c>false</c> otherwise, to use as vertical fill hint.</param>
686 public void SetHintFill(bool x, bool y) {
687 Efl.Gfx.IHintConcrete.NativeMethods.efl_gfx_hint_fill_set_ptr.Value.Delegate(this.NativeHandle,x, y);
688 Eina.Error.RaiseIfUnhandledException();
690 /// <summary>Hints on the object's maximum size.
691 /// This is not a size enforcement in any way, it's just a hint that should be used whenever appropriate.
693 /// The object container is in charge of fetching this property and placing the object accordingly.
695 /// Values -1 will be treated as unset hint components, when queried by managers.
697 /// Note: Smart objects (such as elementary) can have their own hint policy. So calling this API may or may not affect the size of smart objects.
698 /// (Since EFL 1.22)</summary>
699 /// <value>Maximum size (hint) in pixels, (-1, -1) by default for canvas objects).</value>
700 public Eina.Size2D HintSizeMax {
701 get { return GetHintSizeMax(); }
702 set { SetHintSizeMax(value); }
704 /// <summary>Hints on the object's minimum size.
705 /// This is not a size enforcement in any way, it's just a hint that should be used whenever appropriate. The object container is in charge of fetching this property and placing the object accordingly.
707 /// Value 0 will be treated as unset hint components, when queried by managers.
709 /// Note: This property is meant to be set by applications and not by EFL itself. Use this to request a specific size (treated as minimum size).
710 /// (Since EFL 1.22)</summary>
711 /// <value>Minimum size (hint) in pixels.</value>
712 public Eina.Size2D HintSizeMin {
713 get { return GetHintSizeMin(); }
714 set { SetHintSizeMin(value); }
716 /// <summary>Internal hints for an object's minimum size.
717 /// This is not a size enforcement in any way, it's just a hint that should be used whenever appropriate.
719 /// Values 0 will be treated as unset hint components, when queried by managers.
721 /// Note: This property is internal and meant for widget developers to define the absolute minimum size of the object. EFL itself sets this size internally, so any change to it from an application might be ignored. Use <see cref="Efl.Gfx.IHint.HintSizeMin"/> instead.
722 /// (Since EFL 1.22)</summary>
723 /// <value>Minimum size (hint) in pixels.</value>
724 public Eina.Size2D HintSizeRestrictedMin {
725 get { return GetHintSizeRestrictedMin(); }
726 set { SetHintSizeRestrictedMin(value); }
728 /// <summary>Read-only minimum size combining both <see cref="Efl.Gfx.IHint.HintSizeRestrictedMin"/> and <see cref="Efl.Gfx.IHint.HintSizeMin"/> hints.
729 /// <see cref="Efl.Gfx.IHint.HintSizeRestrictedMin"/> is intended for mostly internal usage and widget developers, and <see cref="Efl.Gfx.IHint.HintSizeMin"/> is intended to be set from application side. <see cref="Efl.Gfx.IHint.GetHintSizeCombinedMin"/> combines both values by taking their repective maximum (in both width and height), and is used internally to get an object's minimum size.
730 /// (Since EFL 1.22)</summary>
731 /// <value>Minimum size (hint) in pixels.</value>
732 public Eina.Size2D HintSizeCombinedMin {
733 get { return GetHintSizeCombinedMin(); }
735 private static IntPtr GetEflClassStatic()
737 return Efl.Gfx.IHintConcrete.efl_gfx_hint_interface_get();
739 /// <summary>Wrapper for native methods and virtual method delegates.
740 /// For internal use by generated code only.</summary>
741 public class NativeMethods : Efl.Eo.NativeClass
743 private static Efl.Eo.NativeModule Module = new Efl.Eo.NativeModule( efl.Libs.Efl);
744 /// <summary>Gets the list of Eo operations to override.</summary>
745 /// <returns>The list of Eo operations to be overload.</returns>
746 public override System.Collections.Generic.List<Efl_Op_Description> GetEoOps(System.Type type)
748 var descs = new System.Collections.Generic.List<Efl_Op_Description>();
749 var methods = Efl.Eo.Globals.GetUserMethods(type);
751 if (efl_gfx_hint_aspect_get_static_delegate == null)
753 efl_gfx_hint_aspect_get_static_delegate = new efl_gfx_hint_aspect_get_delegate(hint_aspect_get);
756 if (methods.FirstOrDefault(m => m.Name == "GetHintAspect") != null)
758 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_gfx_hint_aspect_get"), func = Marshal.GetFunctionPointerForDelegate(efl_gfx_hint_aspect_get_static_delegate) });
761 if (efl_gfx_hint_aspect_set_static_delegate == null)
763 efl_gfx_hint_aspect_set_static_delegate = new efl_gfx_hint_aspect_set_delegate(hint_aspect_set);
766 if (methods.FirstOrDefault(m => m.Name == "SetHintAspect") != null)
768 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_gfx_hint_aspect_set"), func = Marshal.GetFunctionPointerForDelegate(efl_gfx_hint_aspect_set_static_delegate) });
771 if (efl_gfx_hint_size_max_get_static_delegate == null)
773 efl_gfx_hint_size_max_get_static_delegate = new efl_gfx_hint_size_max_get_delegate(hint_size_max_get);
776 if (methods.FirstOrDefault(m => m.Name == "GetHintSizeMax") != null)
778 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_gfx_hint_size_max_get"), func = Marshal.GetFunctionPointerForDelegate(efl_gfx_hint_size_max_get_static_delegate) });
781 if (efl_gfx_hint_size_max_set_static_delegate == null)
783 efl_gfx_hint_size_max_set_static_delegate = new efl_gfx_hint_size_max_set_delegate(hint_size_max_set);
786 if (methods.FirstOrDefault(m => m.Name == "SetHintSizeMax") != null)
788 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_gfx_hint_size_max_set"), func = Marshal.GetFunctionPointerForDelegate(efl_gfx_hint_size_max_set_static_delegate) });
791 if (efl_gfx_hint_size_min_get_static_delegate == null)
793 efl_gfx_hint_size_min_get_static_delegate = new efl_gfx_hint_size_min_get_delegate(hint_size_min_get);
796 if (methods.FirstOrDefault(m => m.Name == "GetHintSizeMin") != null)
798 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_gfx_hint_size_min_get"), func = Marshal.GetFunctionPointerForDelegate(efl_gfx_hint_size_min_get_static_delegate) });
801 if (efl_gfx_hint_size_min_set_static_delegate == null)
803 efl_gfx_hint_size_min_set_static_delegate = new efl_gfx_hint_size_min_set_delegate(hint_size_min_set);
806 if (methods.FirstOrDefault(m => m.Name == "SetHintSizeMin") != null)
808 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_gfx_hint_size_min_set"), func = Marshal.GetFunctionPointerForDelegate(efl_gfx_hint_size_min_set_static_delegate) });
811 if (efl_gfx_hint_size_restricted_min_get_static_delegate == null)
813 efl_gfx_hint_size_restricted_min_get_static_delegate = new efl_gfx_hint_size_restricted_min_get_delegate(hint_size_restricted_min_get);
816 if (methods.FirstOrDefault(m => m.Name == "GetHintSizeRestrictedMin") != null)
818 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_gfx_hint_size_restricted_min_get"), func = Marshal.GetFunctionPointerForDelegate(efl_gfx_hint_size_restricted_min_get_static_delegate) });
821 if (efl_gfx_hint_size_restricted_min_set_static_delegate == null)
823 efl_gfx_hint_size_restricted_min_set_static_delegate = new efl_gfx_hint_size_restricted_min_set_delegate(hint_size_restricted_min_set);
826 if (methods.FirstOrDefault(m => m.Name == "SetHintSizeRestrictedMin") != null)
828 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_gfx_hint_size_restricted_min_set"), func = Marshal.GetFunctionPointerForDelegate(efl_gfx_hint_size_restricted_min_set_static_delegate) });
831 if (efl_gfx_hint_size_combined_min_get_static_delegate == null)
833 efl_gfx_hint_size_combined_min_get_static_delegate = new efl_gfx_hint_size_combined_min_get_delegate(hint_size_combined_min_get);
836 if (methods.FirstOrDefault(m => m.Name == "GetHintSizeCombinedMin") != null)
838 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_gfx_hint_size_combined_min_get"), func = Marshal.GetFunctionPointerForDelegate(efl_gfx_hint_size_combined_min_get_static_delegate) });
841 if (efl_gfx_hint_margin_get_static_delegate == null)
843 efl_gfx_hint_margin_get_static_delegate = new efl_gfx_hint_margin_get_delegate(hint_margin_get);
846 if (methods.FirstOrDefault(m => m.Name == "GetHintMargin") != null)
848 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_gfx_hint_margin_get"), func = Marshal.GetFunctionPointerForDelegate(efl_gfx_hint_margin_get_static_delegate) });
851 if (efl_gfx_hint_margin_set_static_delegate == null)
853 efl_gfx_hint_margin_set_static_delegate = new efl_gfx_hint_margin_set_delegate(hint_margin_set);
856 if (methods.FirstOrDefault(m => m.Name == "SetHintMargin") != null)
858 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_gfx_hint_margin_set"), func = Marshal.GetFunctionPointerForDelegate(efl_gfx_hint_margin_set_static_delegate) });
861 if (efl_gfx_hint_weight_get_static_delegate == null)
863 efl_gfx_hint_weight_get_static_delegate = new efl_gfx_hint_weight_get_delegate(hint_weight_get);
866 if (methods.FirstOrDefault(m => m.Name == "GetHintWeight") != null)
868 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_gfx_hint_weight_get"), func = Marshal.GetFunctionPointerForDelegate(efl_gfx_hint_weight_get_static_delegate) });
871 if (efl_gfx_hint_weight_set_static_delegate == null)
873 efl_gfx_hint_weight_set_static_delegate = new efl_gfx_hint_weight_set_delegate(hint_weight_set);
876 if (methods.FirstOrDefault(m => m.Name == "SetHintWeight") != null)
878 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_gfx_hint_weight_set"), func = Marshal.GetFunctionPointerForDelegate(efl_gfx_hint_weight_set_static_delegate) });
881 if (efl_gfx_hint_align_get_static_delegate == null)
883 efl_gfx_hint_align_get_static_delegate = new efl_gfx_hint_align_get_delegate(hint_align_get);
886 if (methods.FirstOrDefault(m => m.Name == "GetHintAlign") != null)
888 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_gfx_hint_align_get"), func = Marshal.GetFunctionPointerForDelegate(efl_gfx_hint_align_get_static_delegate) });
891 if (efl_gfx_hint_align_set_static_delegate == null)
893 efl_gfx_hint_align_set_static_delegate = new efl_gfx_hint_align_set_delegate(hint_align_set);
896 if (methods.FirstOrDefault(m => m.Name == "SetHintAlign") != null)
898 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_gfx_hint_align_set"), func = Marshal.GetFunctionPointerForDelegate(efl_gfx_hint_align_set_static_delegate) });
901 if (efl_gfx_hint_fill_get_static_delegate == null)
903 efl_gfx_hint_fill_get_static_delegate = new efl_gfx_hint_fill_get_delegate(hint_fill_get);
906 if (methods.FirstOrDefault(m => m.Name == "GetHintFill") != null)
908 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_gfx_hint_fill_get"), func = Marshal.GetFunctionPointerForDelegate(efl_gfx_hint_fill_get_static_delegate) });
911 if (efl_gfx_hint_fill_set_static_delegate == null)
913 efl_gfx_hint_fill_set_static_delegate = new efl_gfx_hint_fill_set_delegate(hint_fill_set);
916 if (methods.FirstOrDefault(m => m.Name == "SetHintFill") != null)
918 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_gfx_hint_fill_set"), func = Marshal.GetFunctionPointerForDelegate(efl_gfx_hint_fill_set_static_delegate) });
923 /// <summary>Returns the Eo class for the native methods of this class.</summary>
924 /// <returns>The native class pointer.</returns>
925 public override IntPtr GetEflClass()
927 return Efl.Gfx.IHintConcrete.efl_gfx_hint_interface_get();
930 #pragma warning disable CA1707, SA1300, SA1600
933 private delegate void efl_gfx_hint_aspect_get_delegate(System.IntPtr obj, System.IntPtr pd, out Efl.Gfx.HintAspect mode, out Eina.Size2D.NativeStruct sz);
936 public delegate void efl_gfx_hint_aspect_get_api_delegate(System.IntPtr obj, out Efl.Gfx.HintAspect mode, out Eina.Size2D.NativeStruct sz);
938 public static Efl.Eo.FunctionWrapper<efl_gfx_hint_aspect_get_api_delegate> efl_gfx_hint_aspect_get_ptr = new Efl.Eo.FunctionWrapper<efl_gfx_hint_aspect_get_api_delegate>(Module, "efl_gfx_hint_aspect_get");
940 private static void hint_aspect_get(System.IntPtr obj, System.IntPtr pd, out Efl.Gfx.HintAspect mode, out Eina.Size2D.NativeStruct sz)
942 Eina.Log.Debug("function efl_gfx_hint_aspect_get was called");
943 Efl.Eo.IWrapper wrapper = Efl.Eo.Globals.PrivateDataGet(pd);
946 mode = default(Efl.Gfx.HintAspect); Eina.Size2D _out_sz = default(Eina.Size2D);
950 ((IHint)wrapper).GetHintAspect(out mode, out _out_sz);
954 Eina.Log.Warning($"Callback error: {e.ToString()}");
955 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
963 efl_gfx_hint_aspect_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), out mode, out sz);
967 private static efl_gfx_hint_aspect_get_delegate efl_gfx_hint_aspect_get_static_delegate;
970 private delegate void efl_gfx_hint_aspect_set_delegate(System.IntPtr obj, System.IntPtr pd, Efl.Gfx.HintAspect mode, Eina.Size2D.NativeStruct sz);
973 public delegate void efl_gfx_hint_aspect_set_api_delegate(System.IntPtr obj, Efl.Gfx.HintAspect mode, Eina.Size2D.NativeStruct sz);
975 public static Efl.Eo.FunctionWrapper<efl_gfx_hint_aspect_set_api_delegate> efl_gfx_hint_aspect_set_ptr = new Efl.Eo.FunctionWrapper<efl_gfx_hint_aspect_set_api_delegate>(Module, "efl_gfx_hint_aspect_set");
977 private static void hint_aspect_set(System.IntPtr obj, System.IntPtr pd, Efl.Gfx.HintAspect mode, Eina.Size2D.NativeStruct sz)
979 Eina.Log.Debug("function efl_gfx_hint_aspect_set was called");
980 Efl.Eo.IWrapper wrapper = Efl.Eo.Globals.PrivateDataGet(pd);
983 Eina.Size2D _in_sz = sz;
987 ((IHint)wrapper).SetHintAspect(mode, _in_sz);
991 Eina.Log.Warning($"Callback error: {e.ToString()}");
992 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
999 efl_gfx_hint_aspect_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), mode, sz);
1003 private static efl_gfx_hint_aspect_set_delegate efl_gfx_hint_aspect_set_static_delegate;
1006 private delegate Eina.Size2D.NativeStruct efl_gfx_hint_size_max_get_delegate(System.IntPtr obj, System.IntPtr pd);
1009 public delegate Eina.Size2D.NativeStruct efl_gfx_hint_size_max_get_api_delegate(System.IntPtr obj);
1011 public static Efl.Eo.FunctionWrapper<efl_gfx_hint_size_max_get_api_delegate> efl_gfx_hint_size_max_get_ptr = new Efl.Eo.FunctionWrapper<efl_gfx_hint_size_max_get_api_delegate>(Module, "efl_gfx_hint_size_max_get");
1013 private static Eina.Size2D.NativeStruct hint_size_max_get(System.IntPtr obj, System.IntPtr pd)
1015 Eina.Log.Debug("function efl_gfx_hint_size_max_get was called");
1016 Efl.Eo.IWrapper wrapper = Efl.Eo.Globals.PrivateDataGet(pd);
1017 if (wrapper != null)
1019 Eina.Size2D _ret_var = default(Eina.Size2D);
1022 _ret_var = ((IHint)wrapper).GetHintSizeMax();
1026 Eina.Log.Warning($"Callback error: {e.ToString()}");
1027 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
1035 return efl_gfx_hint_size_max_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
1039 private static efl_gfx_hint_size_max_get_delegate efl_gfx_hint_size_max_get_static_delegate;
1042 private delegate void efl_gfx_hint_size_max_set_delegate(System.IntPtr obj, System.IntPtr pd, Eina.Size2D.NativeStruct sz);
1045 public delegate void efl_gfx_hint_size_max_set_api_delegate(System.IntPtr obj, Eina.Size2D.NativeStruct sz);
1047 public static Efl.Eo.FunctionWrapper<efl_gfx_hint_size_max_set_api_delegate> efl_gfx_hint_size_max_set_ptr = new Efl.Eo.FunctionWrapper<efl_gfx_hint_size_max_set_api_delegate>(Module, "efl_gfx_hint_size_max_set");
1049 private static void hint_size_max_set(System.IntPtr obj, System.IntPtr pd, Eina.Size2D.NativeStruct sz)
1051 Eina.Log.Debug("function efl_gfx_hint_size_max_set was called");
1052 Efl.Eo.IWrapper wrapper = Efl.Eo.Globals.PrivateDataGet(pd);
1053 if (wrapper != null)
1055 Eina.Size2D _in_sz = sz;
1059 ((IHint)wrapper).SetHintSizeMax(_in_sz);
1063 Eina.Log.Warning($"Callback error: {e.ToString()}");
1064 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
1071 efl_gfx_hint_size_max_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), sz);
1075 private static efl_gfx_hint_size_max_set_delegate efl_gfx_hint_size_max_set_static_delegate;
1078 private delegate Eina.Size2D.NativeStruct efl_gfx_hint_size_min_get_delegate(System.IntPtr obj, System.IntPtr pd);
1081 public delegate Eina.Size2D.NativeStruct efl_gfx_hint_size_min_get_api_delegate(System.IntPtr obj);
1083 public static Efl.Eo.FunctionWrapper<efl_gfx_hint_size_min_get_api_delegate> efl_gfx_hint_size_min_get_ptr = new Efl.Eo.FunctionWrapper<efl_gfx_hint_size_min_get_api_delegate>(Module, "efl_gfx_hint_size_min_get");
1085 private static Eina.Size2D.NativeStruct hint_size_min_get(System.IntPtr obj, System.IntPtr pd)
1087 Eina.Log.Debug("function efl_gfx_hint_size_min_get was called");
1088 Efl.Eo.IWrapper wrapper = Efl.Eo.Globals.PrivateDataGet(pd);
1089 if (wrapper != null)
1091 Eina.Size2D _ret_var = default(Eina.Size2D);
1094 _ret_var = ((IHint)wrapper).GetHintSizeMin();
1098 Eina.Log.Warning($"Callback error: {e.ToString()}");
1099 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
1107 return efl_gfx_hint_size_min_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
1111 private static efl_gfx_hint_size_min_get_delegate efl_gfx_hint_size_min_get_static_delegate;
1114 private delegate void efl_gfx_hint_size_min_set_delegate(System.IntPtr obj, System.IntPtr pd, Eina.Size2D.NativeStruct sz);
1117 public delegate void efl_gfx_hint_size_min_set_api_delegate(System.IntPtr obj, Eina.Size2D.NativeStruct sz);
1119 public static Efl.Eo.FunctionWrapper<efl_gfx_hint_size_min_set_api_delegate> efl_gfx_hint_size_min_set_ptr = new Efl.Eo.FunctionWrapper<efl_gfx_hint_size_min_set_api_delegate>(Module, "efl_gfx_hint_size_min_set");
1121 private static void hint_size_min_set(System.IntPtr obj, System.IntPtr pd, Eina.Size2D.NativeStruct sz)
1123 Eina.Log.Debug("function efl_gfx_hint_size_min_set was called");
1124 Efl.Eo.IWrapper wrapper = Efl.Eo.Globals.PrivateDataGet(pd);
1125 if (wrapper != null)
1127 Eina.Size2D _in_sz = sz;
1131 ((IHint)wrapper).SetHintSizeMin(_in_sz);
1135 Eina.Log.Warning($"Callback error: {e.ToString()}");
1136 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
1143 efl_gfx_hint_size_min_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), sz);
1147 private static efl_gfx_hint_size_min_set_delegate efl_gfx_hint_size_min_set_static_delegate;
1150 private delegate Eina.Size2D.NativeStruct efl_gfx_hint_size_restricted_min_get_delegate(System.IntPtr obj, System.IntPtr pd);
1153 public delegate Eina.Size2D.NativeStruct efl_gfx_hint_size_restricted_min_get_api_delegate(System.IntPtr obj);
1155 public static Efl.Eo.FunctionWrapper<efl_gfx_hint_size_restricted_min_get_api_delegate> efl_gfx_hint_size_restricted_min_get_ptr = new Efl.Eo.FunctionWrapper<efl_gfx_hint_size_restricted_min_get_api_delegate>(Module, "efl_gfx_hint_size_restricted_min_get");
1157 private static Eina.Size2D.NativeStruct hint_size_restricted_min_get(System.IntPtr obj, System.IntPtr pd)
1159 Eina.Log.Debug("function efl_gfx_hint_size_restricted_min_get was called");
1160 Efl.Eo.IWrapper wrapper = Efl.Eo.Globals.PrivateDataGet(pd);
1161 if (wrapper != null)
1163 Eina.Size2D _ret_var = default(Eina.Size2D);
1166 _ret_var = ((IHint)wrapper).GetHintSizeRestrictedMin();
1170 Eina.Log.Warning($"Callback error: {e.ToString()}");
1171 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
1179 return efl_gfx_hint_size_restricted_min_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
1183 private static efl_gfx_hint_size_restricted_min_get_delegate efl_gfx_hint_size_restricted_min_get_static_delegate;
1186 private delegate void efl_gfx_hint_size_restricted_min_set_delegate(System.IntPtr obj, System.IntPtr pd, Eina.Size2D.NativeStruct sz);
1189 public delegate void efl_gfx_hint_size_restricted_min_set_api_delegate(System.IntPtr obj, Eina.Size2D.NativeStruct sz);
1191 public static Efl.Eo.FunctionWrapper<efl_gfx_hint_size_restricted_min_set_api_delegate> efl_gfx_hint_size_restricted_min_set_ptr = new Efl.Eo.FunctionWrapper<efl_gfx_hint_size_restricted_min_set_api_delegate>(Module, "efl_gfx_hint_size_restricted_min_set");
1193 private static void hint_size_restricted_min_set(System.IntPtr obj, System.IntPtr pd, Eina.Size2D.NativeStruct sz)
1195 Eina.Log.Debug("function efl_gfx_hint_size_restricted_min_set was called");
1196 Efl.Eo.IWrapper wrapper = Efl.Eo.Globals.PrivateDataGet(pd);
1197 if (wrapper != null)
1199 Eina.Size2D _in_sz = sz;
1203 ((IHint)wrapper).SetHintSizeRestrictedMin(_in_sz);
1207 Eina.Log.Warning($"Callback error: {e.ToString()}");
1208 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
1215 efl_gfx_hint_size_restricted_min_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), sz);
1219 private static efl_gfx_hint_size_restricted_min_set_delegate efl_gfx_hint_size_restricted_min_set_static_delegate;
1222 private delegate Eina.Size2D.NativeStruct efl_gfx_hint_size_combined_min_get_delegate(System.IntPtr obj, System.IntPtr pd);
1225 public delegate Eina.Size2D.NativeStruct efl_gfx_hint_size_combined_min_get_api_delegate(System.IntPtr obj);
1227 public static Efl.Eo.FunctionWrapper<efl_gfx_hint_size_combined_min_get_api_delegate> efl_gfx_hint_size_combined_min_get_ptr = new Efl.Eo.FunctionWrapper<efl_gfx_hint_size_combined_min_get_api_delegate>(Module, "efl_gfx_hint_size_combined_min_get");
1229 private static Eina.Size2D.NativeStruct hint_size_combined_min_get(System.IntPtr obj, System.IntPtr pd)
1231 Eina.Log.Debug("function efl_gfx_hint_size_combined_min_get was called");
1232 Efl.Eo.IWrapper wrapper = Efl.Eo.Globals.PrivateDataGet(pd);
1233 if (wrapper != null)
1235 Eina.Size2D _ret_var = default(Eina.Size2D);
1238 _ret_var = ((IHint)wrapper).GetHintSizeCombinedMin();
1242 Eina.Log.Warning($"Callback error: {e.ToString()}");
1243 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
1251 return efl_gfx_hint_size_combined_min_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
1255 private static efl_gfx_hint_size_combined_min_get_delegate efl_gfx_hint_size_combined_min_get_static_delegate;
1258 private delegate void efl_gfx_hint_margin_get_delegate(System.IntPtr obj, System.IntPtr pd, out int l, out int r, out int t, out int b);
1261 public delegate void efl_gfx_hint_margin_get_api_delegate(System.IntPtr obj, out int l, out int r, out int t, out int b);
1263 public static Efl.Eo.FunctionWrapper<efl_gfx_hint_margin_get_api_delegate> efl_gfx_hint_margin_get_ptr = new Efl.Eo.FunctionWrapper<efl_gfx_hint_margin_get_api_delegate>(Module, "efl_gfx_hint_margin_get");
1265 private static void hint_margin_get(System.IntPtr obj, System.IntPtr pd, out int l, out int r, out int t, out int b)
1267 Eina.Log.Debug("function efl_gfx_hint_margin_get was called");
1268 Efl.Eo.IWrapper wrapper = Efl.Eo.Globals.PrivateDataGet(pd);
1269 if (wrapper != null)
1271 l = default(int); r = default(int); t = default(int); b = default(int);
1274 ((IHint)wrapper).GetHintMargin(out l, out r, out t, out b);
1278 Eina.Log.Warning($"Callback error: {e.ToString()}");
1279 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
1286 efl_gfx_hint_margin_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), out l, out r, out t, out b);
1290 private static efl_gfx_hint_margin_get_delegate efl_gfx_hint_margin_get_static_delegate;
1293 private delegate void efl_gfx_hint_margin_set_delegate(System.IntPtr obj, System.IntPtr pd, int l, int r, int t, int b);
1296 public delegate void efl_gfx_hint_margin_set_api_delegate(System.IntPtr obj, int l, int r, int t, int b);
1298 public static Efl.Eo.FunctionWrapper<efl_gfx_hint_margin_set_api_delegate> efl_gfx_hint_margin_set_ptr = new Efl.Eo.FunctionWrapper<efl_gfx_hint_margin_set_api_delegate>(Module, "efl_gfx_hint_margin_set");
1300 private static void hint_margin_set(System.IntPtr obj, System.IntPtr pd, int l, int r, int t, int b)
1302 Eina.Log.Debug("function efl_gfx_hint_margin_set was called");
1303 Efl.Eo.IWrapper wrapper = Efl.Eo.Globals.PrivateDataGet(pd);
1304 if (wrapper != null)
1309 ((IHint)wrapper).SetHintMargin(l, r, t, b);
1313 Eina.Log.Warning($"Callback error: {e.ToString()}");
1314 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
1321 efl_gfx_hint_margin_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), l, r, t, b);
1325 private static efl_gfx_hint_margin_set_delegate efl_gfx_hint_margin_set_static_delegate;
1328 private delegate void efl_gfx_hint_weight_get_delegate(System.IntPtr obj, System.IntPtr pd, out double x, out double y);
1331 public delegate void efl_gfx_hint_weight_get_api_delegate(System.IntPtr obj, out double x, out double y);
1333 public static Efl.Eo.FunctionWrapper<efl_gfx_hint_weight_get_api_delegate> efl_gfx_hint_weight_get_ptr = new Efl.Eo.FunctionWrapper<efl_gfx_hint_weight_get_api_delegate>(Module, "efl_gfx_hint_weight_get");
1335 private static void hint_weight_get(System.IntPtr obj, System.IntPtr pd, out double x, out double y)
1337 Eina.Log.Debug("function efl_gfx_hint_weight_get was called");
1338 Efl.Eo.IWrapper wrapper = Efl.Eo.Globals.PrivateDataGet(pd);
1339 if (wrapper != null)
1341 x = default(double); y = default(double);
1344 ((IHint)wrapper).GetHintWeight(out x, out y);
1348 Eina.Log.Warning($"Callback error: {e.ToString()}");
1349 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
1356 efl_gfx_hint_weight_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), out x, out y);
1360 private static efl_gfx_hint_weight_get_delegate efl_gfx_hint_weight_get_static_delegate;
1363 private delegate void efl_gfx_hint_weight_set_delegate(System.IntPtr obj, System.IntPtr pd, double x, double y);
1366 public delegate void efl_gfx_hint_weight_set_api_delegate(System.IntPtr obj, double x, double y);
1368 public static Efl.Eo.FunctionWrapper<efl_gfx_hint_weight_set_api_delegate> efl_gfx_hint_weight_set_ptr = new Efl.Eo.FunctionWrapper<efl_gfx_hint_weight_set_api_delegate>(Module, "efl_gfx_hint_weight_set");
1370 private static void hint_weight_set(System.IntPtr obj, System.IntPtr pd, double x, double y)
1372 Eina.Log.Debug("function efl_gfx_hint_weight_set was called");
1373 Efl.Eo.IWrapper wrapper = Efl.Eo.Globals.PrivateDataGet(pd);
1374 if (wrapper != null)
1379 ((IHint)wrapper).SetHintWeight(x, y);
1383 Eina.Log.Warning($"Callback error: {e.ToString()}");
1384 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
1391 efl_gfx_hint_weight_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), x, y);
1395 private static efl_gfx_hint_weight_set_delegate efl_gfx_hint_weight_set_static_delegate;
1398 private delegate void efl_gfx_hint_align_get_delegate(System.IntPtr obj, System.IntPtr pd, out double x, out double y);
1401 public delegate void efl_gfx_hint_align_get_api_delegate(System.IntPtr obj, out double x, out double y);
1403 public static Efl.Eo.FunctionWrapper<efl_gfx_hint_align_get_api_delegate> efl_gfx_hint_align_get_ptr = new Efl.Eo.FunctionWrapper<efl_gfx_hint_align_get_api_delegate>(Module, "efl_gfx_hint_align_get");
1405 private static void hint_align_get(System.IntPtr obj, System.IntPtr pd, out double x, out double y)
1407 Eina.Log.Debug("function efl_gfx_hint_align_get was called");
1408 Efl.Eo.IWrapper wrapper = Efl.Eo.Globals.PrivateDataGet(pd);
1409 if (wrapper != null)
1411 x = default(double); y = default(double);
1414 ((IHint)wrapper).GetHintAlign(out x, out y);
1418 Eina.Log.Warning($"Callback error: {e.ToString()}");
1419 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
1426 efl_gfx_hint_align_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), out x, out y);
1430 private static efl_gfx_hint_align_get_delegate efl_gfx_hint_align_get_static_delegate;
1433 private delegate void efl_gfx_hint_align_set_delegate(System.IntPtr obj, System.IntPtr pd, double x, double y);
1436 public delegate void efl_gfx_hint_align_set_api_delegate(System.IntPtr obj, double x, double y);
1438 public static Efl.Eo.FunctionWrapper<efl_gfx_hint_align_set_api_delegate> efl_gfx_hint_align_set_ptr = new Efl.Eo.FunctionWrapper<efl_gfx_hint_align_set_api_delegate>(Module, "efl_gfx_hint_align_set");
1440 private static void hint_align_set(System.IntPtr obj, System.IntPtr pd, double x, double y)
1442 Eina.Log.Debug("function efl_gfx_hint_align_set was called");
1443 Efl.Eo.IWrapper wrapper = Efl.Eo.Globals.PrivateDataGet(pd);
1444 if (wrapper != null)
1449 ((IHint)wrapper).SetHintAlign(x, y);
1453 Eina.Log.Warning($"Callback error: {e.ToString()}");
1454 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
1461 efl_gfx_hint_align_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), x, y);
1465 private static efl_gfx_hint_align_set_delegate efl_gfx_hint_align_set_static_delegate;
1468 private delegate void efl_gfx_hint_fill_get_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.U1)] out bool x, [MarshalAs(UnmanagedType.U1)] out bool y);
1471 public delegate void efl_gfx_hint_fill_get_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.U1)] out bool x, [MarshalAs(UnmanagedType.U1)] out bool y);
1473 public static Efl.Eo.FunctionWrapper<efl_gfx_hint_fill_get_api_delegate> efl_gfx_hint_fill_get_ptr = new Efl.Eo.FunctionWrapper<efl_gfx_hint_fill_get_api_delegate>(Module, "efl_gfx_hint_fill_get");
1475 private static void hint_fill_get(System.IntPtr obj, System.IntPtr pd, out bool x, out bool y)
1477 Eina.Log.Debug("function efl_gfx_hint_fill_get was called");
1478 Efl.Eo.IWrapper wrapper = Efl.Eo.Globals.PrivateDataGet(pd);
1479 if (wrapper != null)
1481 x = default(bool); y = default(bool);
1484 ((IHint)wrapper).GetHintFill(out x, out y);
1488 Eina.Log.Warning($"Callback error: {e.ToString()}");
1489 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
1496 efl_gfx_hint_fill_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), out x, out y);
1500 private static efl_gfx_hint_fill_get_delegate efl_gfx_hint_fill_get_static_delegate;
1503 private delegate void efl_gfx_hint_fill_set_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.U1)] bool x, [MarshalAs(UnmanagedType.U1)] bool y);
1506 public delegate void efl_gfx_hint_fill_set_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.U1)] bool x, [MarshalAs(UnmanagedType.U1)] bool y);
1508 public static Efl.Eo.FunctionWrapper<efl_gfx_hint_fill_set_api_delegate> efl_gfx_hint_fill_set_ptr = new Efl.Eo.FunctionWrapper<efl_gfx_hint_fill_set_api_delegate>(Module, "efl_gfx_hint_fill_set");
1510 private static void hint_fill_set(System.IntPtr obj, System.IntPtr pd, bool x, bool y)
1512 Eina.Log.Debug("function efl_gfx_hint_fill_set was called");
1513 Efl.Eo.IWrapper wrapper = Efl.Eo.Globals.PrivateDataGet(pd);
1514 if (wrapper != null)
1519 ((IHint)wrapper).SetHintFill(x, y);
1523 Eina.Log.Warning($"Callback error: {e.ToString()}");
1524 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
1531 efl_gfx_hint_fill_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), x, y);
1535 private static efl_gfx_hint_fill_set_delegate efl_gfx_hint_fill_set_static_delegate;
1537 #pragma warning restore CA1707, SA1300, SA1600