1 #pragma warning disable CS1591
3 using System.Runtime.InteropServices;
4 using System.Collections.Generic;
6 using System.Threading;
7 using System.ComponentModel;
12 /// <summary>Frame widget
13 /// The Frame widget allows for collapsing and expanding the content widget by clicking on the frame label. the label and content can be set using text_set and content_set api.</summary>
14 [Efl.Ui.Frame.NativeMethods]
15 [Efl.Eo.BindingEntity]
16 public class Frame : Efl.Ui.LayoutBase, Efl.IContent, Efl.IText, Efl.ITextMarkup, Efl.Ui.IClickable
18 ///<summary>Pointer to the native class description.</summary>
19 public override System.IntPtr NativeClass
23 if (((object)this).GetType() == typeof(Frame))
25 return GetEflClassStatic();
29 return Efl.Eo.ClassRegister.klassFromType[((object)this).GetType()];
34 [System.Runtime.InteropServices.DllImport(efl.Libs.Elementary)] internal static extern System.IntPtr
35 efl_ui_frame_class_get();
36 /// <summary>Initializes a new instance of the <see cref="Frame"/> class.</summary>
37 /// <param name="parent">Parent instance.</param>
38 /// <param name="style">The widget style to use. See <see cref="Efl.Ui.Widget.SetStyle" /></param>
39 public Frame(Efl.Object parent
40 , System.String style = null) : base(efl_ui_frame_class_get(), parent)
42 if (Efl.Eo.Globals.ParamHelperCheck(style))
44 SetStyle(Efl.Eo.Globals.GetParamHelper(style));
47 FinishInstantiation();
50 /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
51 /// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
52 protected Frame(ConstructingHandle ch) : base(ch)
56 /// <summary>Initializes a new instance of the <see cref="Frame"/> class.
57 /// Internal usage: Constructs an instance from a native pointer. This is used when interacting with C code and should not be used directly.</summary>
58 /// <param name="wh">The native pointer to be wrapped.</param>
59 protected Frame(Efl.Eo.Globals.WrappingHandle wh) : base(wh)
63 /// <summary>Initializes a new instance of the <see cref="Frame"/> class.
64 /// Internal usage: Constructor to forward the wrapper initialization to the root class that interfaces with native code. Should not be used directly.</summary>
65 /// <param name="baseKlass">The pointer to the base native Eo class.</param>
66 /// <param name="parent">The Efl.Object parent of this instance.</param>
67 protected Frame(IntPtr baseKlass, Efl.Object parent) : base(baseKlass, parent)
71 /// <summary>Sent after the content is set or unset using the current content object.
72 /// (Since EFL 1.22)</summary>
73 public event EventHandler<Efl.IContentContentChangedEvt_Args> ContentChangedEvt
77 lock (eflBindingEventLock)
79 Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
81 var obj = Efl.Eo.Globals.WrapperSupervisorPtrToManaged(data).Target;
84 Efl.IContentContentChangedEvt_Args args = new Efl.IContentContentChangedEvt_Args();
85 args.arg = (Efl.Eo.Globals.CreateWrapperFor(evt.Info) as Efl.Gfx.IEntityConcrete);
88 value?.Invoke(obj, args);
92 Eina.Log.Error(e.ToString());
93 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
98 string key = "_EFL_CONTENT_EVENT_CONTENT_CHANGED";
99 AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value);
105 lock (eflBindingEventLock)
107 string key = "_EFL_CONTENT_EVENT_CONTENT_CHANGED";
108 RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
112 ///<summary>Method to raise event ContentChangedEvt.</summary>
113 public void OnContentChangedEvt(Efl.IContentContentChangedEvt_Args e)
115 var key = "_EFL_CONTENT_EVENT_CONTENT_CHANGED";
116 IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key);
117 if (desc == IntPtr.Zero)
119 Eina.Log.Error($"Failed to get native event {key}");
123 IntPtr info = e.arg.NativeHandle;
124 Efl.Eo.Globals.efl_event_callback_call(this.NativeHandle, desc, info);
126 /// <summary>Called when object is in sequence pressed and unpressed, by the primary button</summary>
127 public event EventHandler<Efl.Ui.IClickableClickedEvt_Args> ClickedEvt
131 lock (eflBindingEventLock)
133 Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
135 var obj = Efl.Eo.Globals.WrapperSupervisorPtrToManaged(data).Target;
138 Efl.Ui.IClickableClickedEvt_Args args = new Efl.Ui.IClickableClickedEvt_Args();
142 value?.Invoke(obj, args);
146 Eina.Log.Error(e.ToString());
147 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
152 string key = "_EFL_UI_EVENT_CLICKED";
153 AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value);
159 lock (eflBindingEventLock)
161 string key = "_EFL_UI_EVENT_CLICKED";
162 RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
166 ///<summary>Method to raise event ClickedEvt.</summary>
167 public void OnClickedEvt(Efl.Ui.IClickableClickedEvt_Args e)
169 var key = "_EFL_UI_EVENT_CLICKED";
170 IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key);
171 if (desc == IntPtr.Zero)
173 Eina.Log.Error($"Failed to get native event {key}");
177 IntPtr info = Marshal.AllocHGlobal(Marshal.SizeOf(e.arg));
180 Marshal.StructureToPtr(e.arg, info, false);
181 Efl.Eo.Globals.efl_event_callback_call(this.NativeHandle, desc, info);
185 Marshal.FreeHGlobal(info);
188 /// <summary>Called when object is in sequence pressed and unpressed by any button. The button that triggered the event can be found in the event information.</summary>
189 public event EventHandler<Efl.Ui.IClickableClickedAnyEvt_Args> ClickedAnyEvt
193 lock (eflBindingEventLock)
195 Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
197 var obj = Efl.Eo.Globals.WrapperSupervisorPtrToManaged(data).Target;
200 Efl.Ui.IClickableClickedAnyEvt_Args args = new Efl.Ui.IClickableClickedAnyEvt_Args();
204 value?.Invoke(obj, args);
208 Eina.Log.Error(e.ToString());
209 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
214 string key = "_EFL_UI_EVENT_CLICKED_ANY";
215 AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value);
221 lock (eflBindingEventLock)
223 string key = "_EFL_UI_EVENT_CLICKED_ANY";
224 RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
228 ///<summary>Method to raise event ClickedAnyEvt.</summary>
229 public void OnClickedAnyEvt(Efl.Ui.IClickableClickedAnyEvt_Args e)
231 var key = "_EFL_UI_EVENT_CLICKED_ANY";
232 IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key);
233 if (desc == IntPtr.Zero)
235 Eina.Log.Error($"Failed to get native event {key}");
239 IntPtr info = Marshal.AllocHGlobal(Marshal.SizeOf(e.arg));
242 Marshal.StructureToPtr(e.arg, info, false);
243 Efl.Eo.Globals.efl_event_callback_call(this.NativeHandle, desc, info);
247 Marshal.FreeHGlobal(info);
250 /// <summary>Called when the object is pressed, event_info is the button that got pressed</summary>
251 public event EventHandler<Efl.Ui.IClickablePressedEvt_Args> PressedEvt
255 lock (eflBindingEventLock)
257 Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
259 var obj = Efl.Eo.Globals.WrapperSupervisorPtrToManaged(data).Target;
262 Efl.Ui.IClickablePressedEvt_Args args = new Efl.Ui.IClickablePressedEvt_Args();
263 args.arg = Marshal.ReadInt32(evt.Info);
266 value?.Invoke(obj, args);
270 Eina.Log.Error(e.ToString());
271 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
276 string key = "_EFL_UI_EVENT_PRESSED";
277 AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value);
283 lock (eflBindingEventLock)
285 string key = "_EFL_UI_EVENT_PRESSED";
286 RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
290 ///<summary>Method to raise event PressedEvt.</summary>
291 public void OnPressedEvt(Efl.Ui.IClickablePressedEvt_Args e)
293 var key = "_EFL_UI_EVENT_PRESSED";
294 IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key);
295 if (desc == IntPtr.Zero)
297 Eina.Log.Error($"Failed to get native event {key}");
301 IntPtr info = Eina.PrimitiveConversion.ManagedToPointerAlloc(e.arg);
304 Efl.Eo.Globals.efl_event_callback_call(this.NativeHandle, desc, info);
308 Marshal.FreeHGlobal(info);
311 /// <summary>Called when the object is no longer pressed, event_info is the button that got pressed</summary>
312 public event EventHandler<Efl.Ui.IClickableUnpressedEvt_Args> UnpressedEvt
316 lock (eflBindingEventLock)
318 Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
320 var obj = Efl.Eo.Globals.WrapperSupervisorPtrToManaged(data).Target;
323 Efl.Ui.IClickableUnpressedEvt_Args args = new Efl.Ui.IClickableUnpressedEvt_Args();
324 args.arg = Marshal.ReadInt32(evt.Info);
327 value?.Invoke(obj, args);
331 Eina.Log.Error(e.ToString());
332 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
337 string key = "_EFL_UI_EVENT_UNPRESSED";
338 AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value);
344 lock (eflBindingEventLock)
346 string key = "_EFL_UI_EVENT_UNPRESSED";
347 RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
351 ///<summary>Method to raise event UnpressedEvt.</summary>
352 public void OnUnpressedEvt(Efl.Ui.IClickableUnpressedEvt_Args e)
354 var key = "_EFL_UI_EVENT_UNPRESSED";
355 IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key);
356 if (desc == IntPtr.Zero)
358 Eina.Log.Error($"Failed to get native event {key}");
362 IntPtr info = Eina.PrimitiveConversion.ManagedToPointerAlloc(e.arg);
365 Efl.Eo.Globals.efl_event_callback_call(this.NativeHandle, desc, info);
369 Marshal.FreeHGlobal(info);
372 /// <summary>Called when the object receives a long press, event_info is the button that got pressed</summary>
373 public event EventHandler<Efl.Ui.IClickableLongpressedEvt_Args> LongpressedEvt
377 lock (eflBindingEventLock)
379 Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
381 var obj = Efl.Eo.Globals.WrapperSupervisorPtrToManaged(data).Target;
384 Efl.Ui.IClickableLongpressedEvt_Args args = new Efl.Ui.IClickableLongpressedEvt_Args();
385 args.arg = Marshal.ReadInt32(evt.Info);
388 value?.Invoke(obj, args);
392 Eina.Log.Error(e.ToString());
393 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
398 string key = "_EFL_UI_EVENT_LONGPRESSED";
399 AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value);
405 lock (eflBindingEventLock)
407 string key = "_EFL_UI_EVENT_LONGPRESSED";
408 RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
412 ///<summary>Method to raise event LongpressedEvt.</summary>
413 public void OnLongpressedEvt(Efl.Ui.IClickableLongpressedEvt_Args e)
415 var key = "_EFL_UI_EVENT_LONGPRESSED";
416 IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key);
417 if (desc == IntPtr.Zero)
419 Eina.Log.Error($"Failed to get native event {key}");
423 IntPtr info = Eina.PrimitiveConversion.ManagedToPointerAlloc(e.arg);
426 Efl.Eo.Globals.efl_event_callback_call(this.NativeHandle, desc, info);
430 Marshal.FreeHGlobal(info);
433 /// <summary>Determine the collapse state of a frame Use this to determine the collapse state of a frame.</summary>
434 /// <returns><c>true</c> to collapse, <c>false</c> to expand.</returns>
435 virtual public bool GetCollapse() {
436 var _ret_var = Efl.Ui.Frame.NativeMethods.efl_ui_frame_collapse_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
437 Eina.Error.RaiseIfUnhandledException();
440 /// <summary>Manually collapse a frame without animations Use this to toggle the collapsed state of a frame, bypassing animations.</summary>
441 /// <param name="collapse"><c>true</c> to collapse, <c>false</c> to expand.</param>
442 virtual public void SetCollapse(bool collapse) {
443 Efl.Ui.Frame.NativeMethods.efl_ui_frame_collapse_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),collapse);
444 Eina.Error.RaiseIfUnhandledException();
446 /// <summary>Determine autocollapsing of a frame
447 /// When this returns <c>true</c>, clicking a frame's label will collapse the frame vertically, shrinking it to the height of the label. By default, this is DISABLED.</summary>
448 /// <returns>Whether to enable autocollapse.</returns>
449 virtual public bool GetAutocollapse() {
450 var _ret_var = Efl.Ui.Frame.NativeMethods.efl_ui_frame_autocollapse_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
451 Eina.Error.RaiseIfUnhandledException();
454 /// <summary>Toggle autocollapsing of a frame When <c>enable</c> is <c>true</c>, clicking a frame's label will collapse the frame vertically, shrinking it to the height of the label. By default, this is DISABLED.</summary>
455 /// <param name="autocollapse">Whether to enable autocollapse.</param>
456 virtual public void SetAutocollapse(bool autocollapse) {
457 Efl.Ui.Frame.NativeMethods.efl_ui_frame_autocollapse_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),autocollapse);
458 Eina.Error.RaiseIfUnhandledException();
460 /// <summary>Manually collapse a frame with animations Use this to toggle the collapsed state of a frame, triggering animations.</summary>
461 /// <param name="collapse"><c>true</c> to collapse, <c>false</c> to expand.</param>
462 virtual public void CollapseGo(bool collapse) {
463 Efl.Ui.Frame.NativeMethods.efl_ui_frame_collapse_go_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),collapse);
464 Eina.Error.RaiseIfUnhandledException();
466 /// <summary>Sub-object currently set as this object's single content.
467 /// If it is set multiple times, previous sub-objects are removed first. Therefore, if an invalid <c>content</c> is set the object will become empty (it will have no sub-object).
468 /// (Since EFL 1.22)</summary>
469 /// <returns>The sub-object.</returns>
470 virtual public Efl.Gfx.IEntity GetContent() {
471 var _ret_var = Efl.IContentConcrete.NativeMethods.efl_content_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
472 Eina.Error.RaiseIfUnhandledException();
475 /// <summary>Sub-object currently set as this object's single content.
476 /// If it is set multiple times, previous sub-objects are removed first. Therefore, if an invalid <c>content</c> is set the object will become empty (it will have no sub-object).
477 /// (Since EFL 1.22)</summary>
478 /// <param name="content">The sub-object.</param>
479 /// <returns><c>true</c> if <c>content</c> was successfully swallowed.</returns>
480 virtual public bool SetContent(Efl.Gfx.IEntity content) {
481 var _ret_var = Efl.IContentConcrete.NativeMethods.efl_content_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),content);
482 Eina.Error.RaiseIfUnhandledException();
485 /// <summary>Remove the sub-object currently set as content of this object and return it. This object becomes empty.
486 /// (Since EFL 1.22)</summary>
487 /// <returns>Unswallowed object</returns>
488 virtual public Efl.Gfx.IEntity UnsetContent() {
489 var _ret_var = Efl.IContentConcrete.NativeMethods.efl_content_unset_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
490 Eina.Error.RaiseIfUnhandledException();
493 /// <summary>Retrieves the text string currently being displayed by the given text object.
494 /// Do not free() the return value.
496 /// See also <see cref="Efl.IText.GetText"/>.
497 /// (Since EFL 1.22)</summary>
498 /// <returns>Text string to display on it.</returns>
499 virtual public System.String GetText() {
500 var _ret_var = Efl.ITextConcrete.NativeMethods.efl_text_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
501 Eina.Error.RaiseIfUnhandledException();
504 /// <summary>Sets the text string to be displayed by the given text object.
505 /// See also <see cref="Efl.IText.GetText"/>.
506 /// (Since EFL 1.22)</summary>
507 /// <param name="text">Text string to display on it.</param>
508 virtual public void SetText(System.String text) {
509 Efl.ITextConcrete.NativeMethods.efl_text_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),text);
510 Eina.Error.RaiseIfUnhandledException();
512 /// <summary>Markup property</summary>
513 /// <returns>The markup-text representation set to this text.</returns>
514 virtual public System.String GetMarkup() {
515 var _ret_var = Efl.ITextMarkupConcrete.NativeMethods.efl_text_markup_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
516 Eina.Error.RaiseIfUnhandledException();
519 /// <summary>Markup property</summary>
520 /// <param name="markup">The markup-text representation set to this text.</param>
521 virtual public void SetMarkup(System.String markup) {
522 Efl.ITextMarkupConcrete.NativeMethods.efl_text_markup_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),markup);
523 Eina.Error.RaiseIfUnhandledException();
525 /// <summary>Change internal states that a button got pressed.
526 /// When the button is already pressed, this is silently ignored.</summary>
527 /// <param name="button">The number of the button. FIXME ensure to have the right interval of possible input</param>
528 virtual public void Press(uint button) {
529 Efl.Ui.IClickableConcrete.NativeMethods.efl_ui_clickable_press_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),button);
530 Eina.Error.RaiseIfUnhandledException();
532 /// <summary>Change internal states that a button got unpressed.
533 /// When the button is not pressed, this is silently ignored.</summary>
534 /// <param name="button">The number of the button. FIXME ensure to have the right interval of possible input</param>
535 virtual public void Unpress(uint button) {
536 Efl.Ui.IClickableConcrete.NativeMethods.efl_ui_clickable_unpress_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),button);
537 Eina.Error.RaiseIfUnhandledException();
539 /// <summary>This aborts the internal state after a press call.
540 /// This will stop the timer for longpress. And set the state of the clickable mixin back into the unpressed state.</summary>
541 virtual public void ResetButtonState(uint button) {
542 Efl.Ui.IClickableConcrete.NativeMethods.efl_ui_clickable_button_state_reset_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),button);
543 Eina.Error.RaiseIfUnhandledException();
545 /// <summary>Determine the collapse state of a frame Use this to determine the collapse state of a frame.</summary>
546 /// <value><c>true</c> to collapse, <c>false</c> to expand.</value>
547 public bool Collapse {
548 get { return GetCollapse(); }
549 set { SetCollapse(value); }
551 /// <summary>Determine autocollapsing of a frame
552 /// When this returns <c>true</c>, clicking a frame's label will collapse the frame vertically, shrinking it to the height of the label. By default, this is DISABLED.</summary>
553 /// <value>Whether to enable autocollapse.</value>
554 public bool Autocollapse {
555 get { return GetAutocollapse(); }
556 set { SetAutocollapse(value); }
558 /// <summary>Sub-object currently set as this object's single content.
559 /// If it is set multiple times, previous sub-objects are removed first. Therefore, if an invalid <c>content</c> is set the object will become empty (it will have no sub-object).
560 /// (Since EFL 1.22)</summary>
561 /// <value>The sub-object.</value>
562 public Efl.Gfx.IEntity Content {
563 get { return GetContent(); }
564 set { SetContent(value); }
566 /// <summary>Markup property</summary>
567 /// <value>The markup-text representation set to this text.</value>
568 public System.String Markup {
569 get { return GetMarkup(); }
570 set { SetMarkup(value); }
572 private static IntPtr GetEflClassStatic()
574 return Efl.Ui.Frame.efl_ui_frame_class_get();
576 /// <summary>Wrapper for native methods and virtual method delegates.
577 /// For internal use by generated code only.</summary>
578 public new class NativeMethods : Efl.Ui.LayoutBase.NativeMethods
580 private static Efl.Eo.NativeModule Module = new Efl.Eo.NativeModule( efl.Libs.Elementary);
581 /// <summary>Gets the list of Eo operations to override.</summary>
582 /// <returns>The list of Eo operations to be overload.</returns>
583 public override System.Collections.Generic.List<Efl_Op_Description> GetEoOps(System.Type type)
585 var descs = new System.Collections.Generic.List<Efl_Op_Description>();
586 var methods = Efl.Eo.Globals.GetUserMethods(type);
588 if (efl_ui_frame_collapse_get_static_delegate == null)
590 efl_ui_frame_collapse_get_static_delegate = new efl_ui_frame_collapse_get_delegate(collapse_get);
593 if (methods.FirstOrDefault(m => m.Name == "GetCollapse") != null)
595 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_frame_collapse_get"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_frame_collapse_get_static_delegate) });
598 if (efl_ui_frame_collapse_set_static_delegate == null)
600 efl_ui_frame_collapse_set_static_delegate = new efl_ui_frame_collapse_set_delegate(collapse_set);
603 if (methods.FirstOrDefault(m => m.Name == "SetCollapse") != null)
605 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_frame_collapse_set"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_frame_collapse_set_static_delegate) });
608 if (efl_ui_frame_autocollapse_get_static_delegate == null)
610 efl_ui_frame_autocollapse_get_static_delegate = new efl_ui_frame_autocollapse_get_delegate(autocollapse_get);
613 if (methods.FirstOrDefault(m => m.Name == "GetAutocollapse") != null)
615 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_frame_autocollapse_get"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_frame_autocollapse_get_static_delegate) });
618 if (efl_ui_frame_autocollapse_set_static_delegate == null)
620 efl_ui_frame_autocollapse_set_static_delegate = new efl_ui_frame_autocollapse_set_delegate(autocollapse_set);
623 if (methods.FirstOrDefault(m => m.Name == "SetAutocollapse") != null)
625 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_frame_autocollapse_set"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_frame_autocollapse_set_static_delegate) });
628 if (efl_ui_frame_collapse_go_static_delegate == null)
630 efl_ui_frame_collapse_go_static_delegate = new efl_ui_frame_collapse_go_delegate(collapse_go);
633 if (methods.FirstOrDefault(m => m.Name == "CollapseGo") != null)
635 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_frame_collapse_go"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_frame_collapse_go_static_delegate) });
638 if (efl_content_get_static_delegate == null)
640 efl_content_get_static_delegate = new efl_content_get_delegate(content_get);
643 if (methods.FirstOrDefault(m => m.Name == "GetContent") != null)
645 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_content_get"), func = Marshal.GetFunctionPointerForDelegate(efl_content_get_static_delegate) });
648 if (efl_content_set_static_delegate == null)
650 efl_content_set_static_delegate = new efl_content_set_delegate(content_set);
653 if (methods.FirstOrDefault(m => m.Name == "SetContent") != null)
655 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_content_set"), func = Marshal.GetFunctionPointerForDelegate(efl_content_set_static_delegate) });
658 if (efl_content_unset_static_delegate == null)
660 efl_content_unset_static_delegate = new efl_content_unset_delegate(content_unset);
663 if (methods.FirstOrDefault(m => m.Name == "UnsetContent") != null)
665 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_content_unset"), func = Marshal.GetFunctionPointerForDelegate(efl_content_unset_static_delegate) });
668 if (efl_text_get_static_delegate == null)
670 efl_text_get_static_delegate = new efl_text_get_delegate(text_get);
673 if (methods.FirstOrDefault(m => m.Name == "GetText") != null)
675 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_text_get"), func = Marshal.GetFunctionPointerForDelegate(efl_text_get_static_delegate) });
678 if (efl_text_set_static_delegate == null)
680 efl_text_set_static_delegate = new efl_text_set_delegate(text_set);
683 if (methods.FirstOrDefault(m => m.Name == "SetText") != null)
685 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_text_set"), func = Marshal.GetFunctionPointerForDelegate(efl_text_set_static_delegate) });
688 if (efl_text_markup_get_static_delegate == null)
690 efl_text_markup_get_static_delegate = new efl_text_markup_get_delegate(markup_get);
693 if (methods.FirstOrDefault(m => m.Name == "GetMarkup") != null)
695 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_text_markup_get"), func = Marshal.GetFunctionPointerForDelegate(efl_text_markup_get_static_delegate) });
698 if (efl_text_markup_set_static_delegate == null)
700 efl_text_markup_set_static_delegate = new efl_text_markup_set_delegate(markup_set);
703 if (methods.FirstOrDefault(m => m.Name == "SetMarkup") != null)
705 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_text_markup_set"), func = Marshal.GetFunctionPointerForDelegate(efl_text_markup_set_static_delegate) });
708 if (efl_ui_clickable_press_static_delegate == null)
710 efl_ui_clickable_press_static_delegate = new efl_ui_clickable_press_delegate(press);
713 if (methods.FirstOrDefault(m => m.Name == "Press") != null)
715 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_clickable_press"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_clickable_press_static_delegate) });
718 if (efl_ui_clickable_unpress_static_delegate == null)
720 efl_ui_clickable_unpress_static_delegate = new efl_ui_clickable_unpress_delegate(unpress);
723 if (methods.FirstOrDefault(m => m.Name == "Unpress") != null)
725 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_clickable_unpress"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_clickable_unpress_static_delegate) });
728 if (efl_ui_clickable_button_state_reset_static_delegate == null)
730 efl_ui_clickable_button_state_reset_static_delegate = new efl_ui_clickable_button_state_reset_delegate(button_state_reset);
733 if (methods.FirstOrDefault(m => m.Name == "ResetButtonState") != null)
735 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_clickable_button_state_reset"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_clickable_button_state_reset_static_delegate) });
738 descs.AddRange(base.GetEoOps(type));
741 /// <summary>Returns the Eo class for the native methods of this class.</summary>
742 /// <returns>The native class pointer.</returns>
743 public override IntPtr GetEflClass()
745 return Efl.Ui.Frame.efl_ui_frame_class_get();
748 #pragma warning disable CA1707, CS1591, SA1300, SA1600
750 [return: MarshalAs(UnmanagedType.U1)]
751 private delegate bool efl_ui_frame_collapse_get_delegate(System.IntPtr obj, System.IntPtr pd);
753 [return: MarshalAs(UnmanagedType.U1)]
754 public delegate bool efl_ui_frame_collapse_get_api_delegate(System.IntPtr obj);
756 public static Efl.Eo.FunctionWrapper<efl_ui_frame_collapse_get_api_delegate> efl_ui_frame_collapse_get_ptr = new Efl.Eo.FunctionWrapper<efl_ui_frame_collapse_get_api_delegate>(Module, "efl_ui_frame_collapse_get");
758 private static bool collapse_get(System.IntPtr obj, System.IntPtr pd)
760 Eina.Log.Debug("function efl_ui_frame_collapse_get was called");
761 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
764 bool _ret_var = default(bool);
767 _ret_var = ((Frame)ws.Target).GetCollapse();
771 Eina.Log.Warning($"Callback error: {e.ToString()}");
772 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
780 return efl_ui_frame_collapse_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
784 private static efl_ui_frame_collapse_get_delegate efl_ui_frame_collapse_get_static_delegate;
787 private delegate void efl_ui_frame_collapse_set_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.U1)] bool collapse);
790 public delegate void efl_ui_frame_collapse_set_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.U1)] bool collapse);
792 public static Efl.Eo.FunctionWrapper<efl_ui_frame_collapse_set_api_delegate> efl_ui_frame_collapse_set_ptr = new Efl.Eo.FunctionWrapper<efl_ui_frame_collapse_set_api_delegate>(Module, "efl_ui_frame_collapse_set");
794 private static void collapse_set(System.IntPtr obj, System.IntPtr pd, bool collapse)
796 Eina.Log.Debug("function efl_ui_frame_collapse_set was called");
797 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
803 ((Frame)ws.Target).SetCollapse(collapse);
807 Eina.Log.Warning($"Callback error: {e.ToString()}");
808 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
815 efl_ui_frame_collapse_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), collapse);
819 private static efl_ui_frame_collapse_set_delegate efl_ui_frame_collapse_set_static_delegate;
821 [return: MarshalAs(UnmanagedType.U1)]
822 private delegate bool efl_ui_frame_autocollapse_get_delegate(System.IntPtr obj, System.IntPtr pd);
824 [return: MarshalAs(UnmanagedType.U1)]
825 public delegate bool efl_ui_frame_autocollapse_get_api_delegate(System.IntPtr obj);
827 public static Efl.Eo.FunctionWrapper<efl_ui_frame_autocollapse_get_api_delegate> efl_ui_frame_autocollapse_get_ptr = new Efl.Eo.FunctionWrapper<efl_ui_frame_autocollapse_get_api_delegate>(Module, "efl_ui_frame_autocollapse_get");
829 private static bool autocollapse_get(System.IntPtr obj, System.IntPtr pd)
831 Eina.Log.Debug("function efl_ui_frame_autocollapse_get was called");
832 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
835 bool _ret_var = default(bool);
838 _ret_var = ((Frame)ws.Target).GetAutocollapse();
842 Eina.Log.Warning($"Callback error: {e.ToString()}");
843 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
851 return efl_ui_frame_autocollapse_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
855 private static efl_ui_frame_autocollapse_get_delegate efl_ui_frame_autocollapse_get_static_delegate;
858 private delegate void efl_ui_frame_autocollapse_set_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.U1)] bool autocollapse);
861 public delegate void efl_ui_frame_autocollapse_set_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.U1)] bool autocollapse);
863 public static Efl.Eo.FunctionWrapper<efl_ui_frame_autocollapse_set_api_delegate> efl_ui_frame_autocollapse_set_ptr = new Efl.Eo.FunctionWrapper<efl_ui_frame_autocollapse_set_api_delegate>(Module, "efl_ui_frame_autocollapse_set");
865 private static void autocollapse_set(System.IntPtr obj, System.IntPtr pd, bool autocollapse)
867 Eina.Log.Debug("function efl_ui_frame_autocollapse_set was called");
868 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
874 ((Frame)ws.Target).SetAutocollapse(autocollapse);
878 Eina.Log.Warning($"Callback error: {e.ToString()}");
879 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
886 efl_ui_frame_autocollapse_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), autocollapse);
890 private static efl_ui_frame_autocollapse_set_delegate efl_ui_frame_autocollapse_set_static_delegate;
893 private delegate void efl_ui_frame_collapse_go_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.U1)] bool collapse);
896 public delegate void efl_ui_frame_collapse_go_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.U1)] bool collapse);
898 public static Efl.Eo.FunctionWrapper<efl_ui_frame_collapse_go_api_delegate> efl_ui_frame_collapse_go_ptr = new Efl.Eo.FunctionWrapper<efl_ui_frame_collapse_go_api_delegate>(Module, "efl_ui_frame_collapse_go");
900 private static void collapse_go(System.IntPtr obj, System.IntPtr pd, bool collapse)
902 Eina.Log.Debug("function efl_ui_frame_collapse_go was called");
903 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
909 ((Frame)ws.Target).CollapseGo(collapse);
913 Eina.Log.Warning($"Callback error: {e.ToString()}");
914 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
921 efl_ui_frame_collapse_go_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), collapse);
925 private static efl_ui_frame_collapse_go_delegate efl_ui_frame_collapse_go_static_delegate;
927 [return:MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))]
928 private delegate Efl.Gfx.IEntity efl_content_get_delegate(System.IntPtr obj, System.IntPtr pd);
930 [return:MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))]
931 public delegate Efl.Gfx.IEntity efl_content_get_api_delegate(System.IntPtr obj);
933 public static Efl.Eo.FunctionWrapper<efl_content_get_api_delegate> efl_content_get_ptr = new Efl.Eo.FunctionWrapper<efl_content_get_api_delegate>(Module, "efl_content_get");
935 private static Efl.Gfx.IEntity content_get(System.IntPtr obj, System.IntPtr pd)
937 Eina.Log.Debug("function efl_content_get was called");
938 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
941 Efl.Gfx.IEntity _ret_var = default(Efl.Gfx.IEntity);
944 _ret_var = ((Frame)ws.Target).GetContent();
948 Eina.Log.Warning($"Callback error: {e.ToString()}");
949 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
957 return efl_content_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
961 private static efl_content_get_delegate efl_content_get_static_delegate;
963 [return: MarshalAs(UnmanagedType.U1)]
964 private delegate bool efl_content_set_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] Efl.Gfx.IEntity content);
966 [return: MarshalAs(UnmanagedType.U1)]
967 public delegate bool efl_content_set_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] Efl.Gfx.IEntity content);
969 public static Efl.Eo.FunctionWrapper<efl_content_set_api_delegate> efl_content_set_ptr = new Efl.Eo.FunctionWrapper<efl_content_set_api_delegate>(Module, "efl_content_set");
971 private static bool content_set(System.IntPtr obj, System.IntPtr pd, Efl.Gfx.IEntity content)
973 Eina.Log.Debug("function efl_content_set was called");
974 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
977 bool _ret_var = default(bool);
980 _ret_var = ((Frame)ws.Target).SetContent(content);
984 Eina.Log.Warning($"Callback error: {e.ToString()}");
985 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
993 return efl_content_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), content);
997 private static efl_content_set_delegate efl_content_set_static_delegate;
999 [return:MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))]
1000 private delegate Efl.Gfx.IEntity efl_content_unset_delegate(System.IntPtr obj, System.IntPtr pd);
1002 [return:MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))]
1003 public delegate Efl.Gfx.IEntity efl_content_unset_api_delegate(System.IntPtr obj);
1005 public static Efl.Eo.FunctionWrapper<efl_content_unset_api_delegate> efl_content_unset_ptr = new Efl.Eo.FunctionWrapper<efl_content_unset_api_delegate>(Module, "efl_content_unset");
1007 private static Efl.Gfx.IEntity content_unset(System.IntPtr obj, System.IntPtr pd)
1009 Eina.Log.Debug("function efl_content_unset was called");
1010 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
1013 Efl.Gfx.IEntity _ret_var = default(Efl.Gfx.IEntity);
1016 _ret_var = ((Frame)ws.Target).UnsetContent();
1020 Eina.Log.Warning($"Callback error: {e.ToString()}");
1021 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
1029 return efl_content_unset_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
1033 private static efl_content_unset_delegate efl_content_unset_static_delegate;
1035 [return: MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))]
1036 private delegate System.String efl_text_get_delegate(System.IntPtr obj, System.IntPtr pd);
1038 [return: MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))]
1039 public delegate System.String efl_text_get_api_delegate(System.IntPtr obj);
1041 public static Efl.Eo.FunctionWrapper<efl_text_get_api_delegate> efl_text_get_ptr = new Efl.Eo.FunctionWrapper<efl_text_get_api_delegate>(Module, "efl_text_get");
1043 private static System.String text_get(System.IntPtr obj, System.IntPtr pd)
1045 Eina.Log.Debug("function efl_text_get was called");
1046 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
1049 System.String _ret_var = default(System.String);
1052 _ret_var = ((Frame)ws.Target).GetText();
1056 Eina.Log.Warning($"Callback error: {e.ToString()}");
1057 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
1065 return efl_text_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
1069 private static efl_text_get_delegate efl_text_get_static_delegate;
1072 private delegate void efl_text_set_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))] System.String text);
1075 public delegate void efl_text_set_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))] System.String text);
1077 public static Efl.Eo.FunctionWrapper<efl_text_set_api_delegate> efl_text_set_ptr = new Efl.Eo.FunctionWrapper<efl_text_set_api_delegate>(Module, "efl_text_set");
1079 private static void text_set(System.IntPtr obj, System.IntPtr pd, System.String text)
1081 Eina.Log.Debug("function efl_text_set was called");
1082 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
1088 ((Frame)ws.Target).SetText(text);
1092 Eina.Log.Warning($"Callback error: {e.ToString()}");
1093 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
1100 efl_text_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), text);
1104 private static efl_text_set_delegate efl_text_set_static_delegate;
1106 [return: MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))]
1107 private delegate System.String efl_text_markup_get_delegate(System.IntPtr obj, System.IntPtr pd);
1109 [return: MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))]
1110 public delegate System.String efl_text_markup_get_api_delegate(System.IntPtr obj);
1112 public static Efl.Eo.FunctionWrapper<efl_text_markup_get_api_delegate> efl_text_markup_get_ptr = new Efl.Eo.FunctionWrapper<efl_text_markup_get_api_delegate>(Module, "efl_text_markup_get");
1114 private static System.String markup_get(System.IntPtr obj, System.IntPtr pd)
1116 Eina.Log.Debug("function efl_text_markup_get was called");
1117 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
1120 System.String _ret_var = default(System.String);
1123 _ret_var = ((Frame)ws.Target).GetMarkup();
1127 Eina.Log.Warning($"Callback error: {e.ToString()}");
1128 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
1136 return efl_text_markup_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
1140 private static efl_text_markup_get_delegate efl_text_markup_get_static_delegate;
1143 private delegate void efl_text_markup_set_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))] System.String markup);
1146 public delegate void efl_text_markup_set_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))] System.String markup);
1148 public static Efl.Eo.FunctionWrapper<efl_text_markup_set_api_delegate> efl_text_markup_set_ptr = new Efl.Eo.FunctionWrapper<efl_text_markup_set_api_delegate>(Module, "efl_text_markup_set");
1150 private static void markup_set(System.IntPtr obj, System.IntPtr pd, System.String markup)
1152 Eina.Log.Debug("function efl_text_markup_set was called");
1153 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
1159 ((Frame)ws.Target).SetMarkup(markup);
1163 Eina.Log.Warning($"Callback error: {e.ToString()}");
1164 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
1171 efl_text_markup_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), markup);
1175 private static efl_text_markup_set_delegate efl_text_markup_set_static_delegate;
1178 private delegate void efl_ui_clickable_press_delegate(System.IntPtr obj, System.IntPtr pd, uint button);
1181 public delegate void efl_ui_clickable_press_api_delegate(System.IntPtr obj, uint button);
1183 public static Efl.Eo.FunctionWrapper<efl_ui_clickable_press_api_delegate> efl_ui_clickable_press_ptr = new Efl.Eo.FunctionWrapper<efl_ui_clickable_press_api_delegate>(Module, "efl_ui_clickable_press");
1185 private static void press(System.IntPtr obj, System.IntPtr pd, uint button)
1187 Eina.Log.Debug("function efl_ui_clickable_press was called");
1188 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
1194 ((Frame)ws.Target).Press(button);
1198 Eina.Log.Warning($"Callback error: {e.ToString()}");
1199 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
1206 efl_ui_clickable_press_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), button);
1210 private static efl_ui_clickable_press_delegate efl_ui_clickable_press_static_delegate;
1213 private delegate void efl_ui_clickable_unpress_delegate(System.IntPtr obj, System.IntPtr pd, uint button);
1216 public delegate void efl_ui_clickable_unpress_api_delegate(System.IntPtr obj, uint button);
1218 public static Efl.Eo.FunctionWrapper<efl_ui_clickable_unpress_api_delegate> efl_ui_clickable_unpress_ptr = new Efl.Eo.FunctionWrapper<efl_ui_clickable_unpress_api_delegate>(Module, "efl_ui_clickable_unpress");
1220 private static void unpress(System.IntPtr obj, System.IntPtr pd, uint button)
1222 Eina.Log.Debug("function efl_ui_clickable_unpress was called");
1223 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
1229 ((Frame)ws.Target).Unpress(button);
1233 Eina.Log.Warning($"Callback error: {e.ToString()}");
1234 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
1241 efl_ui_clickable_unpress_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), button);
1245 private static efl_ui_clickable_unpress_delegate efl_ui_clickable_unpress_static_delegate;
1248 private delegate void efl_ui_clickable_button_state_reset_delegate(System.IntPtr obj, System.IntPtr pd, uint button);
1251 public delegate void efl_ui_clickable_button_state_reset_api_delegate(System.IntPtr obj, uint button);
1253 public static Efl.Eo.FunctionWrapper<efl_ui_clickable_button_state_reset_api_delegate> efl_ui_clickable_button_state_reset_ptr = new Efl.Eo.FunctionWrapper<efl_ui_clickable_button_state_reset_api_delegate>(Module, "efl_ui_clickable_button_state_reset");
1255 private static void button_state_reset(System.IntPtr obj, System.IntPtr pd, uint button)
1257 Eina.Log.Debug("function efl_ui_clickable_button_state_reset was called");
1258 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
1264 ((Frame)ws.Target).ResetButtonState(button);
1268 Eina.Log.Warning($"Callback error: {e.ToString()}");
1269 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
1276 efl_ui_clickable_button_state_reset_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), button);
1280 private static efl_ui_clickable_button_state_reset_delegate efl_ui_clickable_button_state_reset_static_delegate;
1282 #pragma warning restore CA1707, CS1591, SA1300, SA1600