1 #pragma warning disable CS1591
3 using System.Runtime.InteropServices;
4 using System.Collections.Generic;
6 using System.ComponentModel;
7 namespace Efl { namespace Ui {
8 /// <summary>Frame widget
9 /// 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>
11 public class Frame : Efl.Ui.LayoutBase, Efl.Eo.IWrapper,Efl.Content,Efl.Text,Efl.TextMarkup,Efl.Ui.Clickable
13 public new static System.IntPtr klass = System.IntPtr.Zero;
14 public new static Efl.Ui.FrameNativeInherit nativeInherit = new Efl.Ui.FrameNativeInherit();
15 ///<summary>Pointer to the native class description.</summary>
16 public override System.IntPtr NativeClass {
18 if (((object)this).GetType() == typeof (Frame))
19 return Efl.Ui.FrameNativeInherit.GetEflClassStatic();
21 return Efl.Eo.ClassRegister.klassFromType[((object)this).GetType()];
24 [System.Runtime.InteropServices.DllImport(efl.Libs.Elementary)] internal static extern System.IntPtr
25 efl_ui_frame_class_get();
26 ///<summary>Creates a new instance.</summary>
27 ///<param name="parent">Parent instance.</param>
28 ///<param name="style">The widget style to use. See <see cref="Efl.Ui.Widget.SetStyle"/></param>
29 public Frame(Efl.Object parent
30 , System.String style = null) :
31 base(efl_ui_frame_class_get(), typeof(Frame), parent)
33 if (Efl.Eo.Globals.ParamHelperCheck(style))
34 SetStyle(Efl.Eo.Globals.GetParamHelper(style));
35 FinishInstantiation();
37 ///<summary>Internal usage: Constructs an instance from a native pointer. This is used when interacting with C code and should not be used directly.</summary>
38 public Frame(System.IntPtr raw) : base(raw)
40 register_event_proxies();
42 ///<summary>Internal usage: Constructor to forward the wrapper initialization to the root class that interfaces with native code. Should not be used directly.</summary>
43 protected Frame(IntPtr base_klass, System.Type managed_type, Efl.Object parent) : base(base_klass, managed_type, parent) {}
44 ///<summary>Casts obj into an instance of this type.</summary>
45 public new static Frame static_cast(Efl.Object obj)
48 throw new System.ArgumentNullException("obj");
49 return new Frame(obj.NativeHandle);
51 ///<summary>Verifies if the given object is equal to this one.</summary>
52 public override bool Equals(object obj)
54 var other = obj as Efl.Object;
57 return this.NativeHandle == other.NativeHandle;
59 ///<summary>Gets the hash code for this object based on the native pointer it points to.</summary>
60 public override int GetHashCode()
62 return this.NativeHandle.ToInt32();
64 ///<summary>Turns the native pointer into a string representation.</summary>
65 public override String ToString()
67 return $"{this.GetType().Name}@[{this.NativeHandle.ToInt32():x}]";
69 private static object ContentChangedEvtKey = new object();
70 /// <summary>Sent after the content is set or unset using the current content object.</summary>
71 public event EventHandler<Efl.ContentContentChangedEvt_Args> ContentChangedEvt
75 string key = "_EFL_CONTENT_EVENT_CONTENT_CHANGED";
76 if (add_cpp_event_handler(efl.Libs.Efl, key, this.evt_ContentChangedEvt_delegate)) {
77 eventHandlers.AddHandler(ContentChangedEvtKey , value);
79 Eina.Log.Error($"Error adding proxy for event {key}");
84 string key = "_EFL_CONTENT_EVENT_CONTENT_CHANGED";
85 if (remove_cpp_event_handler(key, this.evt_ContentChangedEvt_delegate)) {
86 eventHandlers.RemoveHandler(ContentChangedEvtKey , value);
88 Eina.Log.Error($"Error removing proxy for event {key}");
92 ///<summary>Method to raise event ContentChangedEvt.</summary>
93 public void On_ContentChangedEvt(Efl.ContentContentChangedEvt_Args e)
95 EventHandler<Efl.ContentContentChangedEvt_Args> evt;
97 evt = (EventHandler<Efl.ContentContentChangedEvt_Args>)eventHandlers[ContentChangedEvtKey];
101 Efl.EventCb evt_ContentChangedEvt_delegate;
102 private void on_ContentChangedEvt_NativeCallback(System.IntPtr data, ref Efl.Event_StructInternal evt)
104 Efl.ContentContentChangedEvt_Args args = new Efl.ContentContentChangedEvt_Args();
105 args.arg = new Efl.Gfx.EntityConcrete(evt.Info);
107 On_ContentChangedEvt(args);
108 } catch (Exception e) {
109 Eina.Log.Error(e.ToString());
110 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
114 private static object ClickedEvtKey = new object();
115 /// <summary>Called when object is clicked</summary>
116 public event EventHandler ClickedEvt
120 string key = "_EFL_UI_EVENT_CLICKED";
121 if (add_cpp_event_handler(efl.Libs.Efl, key, this.evt_ClickedEvt_delegate)) {
122 eventHandlers.AddHandler(ClickedEvtKey , value);
124 Eina.Log.Error($"Error adding proxy for event {key}");
129 string key = "_EFL_UI_EVENT_CLICKED";
130 if (remove_cpp_event_handler(key, this.evt_ClickedEvt_delegate)) {
131 eventHandlers.RemoveHandler(ClickedEvtKey , value);
133 Eina.Log.Error($"Error removing proxy for event {key}");
137 ///<summary>Method to raise event ClickedEvt.</summary>
138 public void On_ClickedEvt(EventArgs e)
142 evt = (EventHandler)eventHandlers[ClickedEvtKey];
144 evt?.Invoke(this, e);
146 Efl.EventCb evt_ClickedEvt_delegate;
147 private void on_ClickedEvt_NativeCallback(System.IntPtr data, ref Efl.Event_StructInternal evt)
149 EventArgs args = EventArgs.Empty;
152 } catch (Exception e) {
153 Eina.Log.Error(e.ToString());
154 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
158 private static object ClickedDoubleEvtKey = new object();
159 /// <summary>Called when object receives a double click</summary>
160 public event EventHandler ClickedDoubleEvt
164 string key = "_EFL_UI_EVENT_CLICKED_DOUBLE";
165 if (add_cpp_event_handler(efl.Libs.Efl, key, this.evt_ClickedDoubleEvt_delegate)) {
166 eventHandlers.AddHandler(ClickedDoubleEvtKey , value);
168 Eina.Log.Error($"Error adding proxy for event {key}");
173 string key = "_EFL_UI_EVENT_CLICKED_DOUBLE";
174 if (remove_cpp_event_handler(key, this.evt_ClickedDoubleEvt_delegate)) {
175 eventHandlers.RemoveHandler(ClickedDoubleEvtKey , value);
177 Eina.Log.Error($"Error removing proxy for event {key}");
181 ///<summary>Method to raise event ClickedDoubleEvt.</summary>
182 public void On_ClickedDoubleEvt(EventArgs e)
186 evt = (EventHandler)eventHandlers[ClickedDoubleEvtKey];
188 evt?.Invoke(this, e);
190 Efl.EventCb evt_ClickedDoubleEvt_delegate;
191 private void on_ClickedDoubleEvt_NativeCallback(System.IntPtr data, ref Efl.Event_StructInternal evt)
193 EventArgs args = EventArgs.Empty;
195 On_ClickedDoubleEvt(args);
196 } catch (Exception e) {
197 Eina.Log.Error(e.ToString());
198 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
202 private static object ClickedTripleEvtKey = new object();
203 /// <summary>Called when object receives a triple click</summary>
204 public event EventHandler ClickedTripleEvt
208 string key = "_EFL_UI_EVENT_CLICKED_TRIPLE";
209 if (add_cpp_event_handler(efl.Libs.Efl, key, this.evt_ClickedTripleEvt_delegate)) {
210 eventHandlers.AddHandler(ClickedTripleEvtKey , value);
212 Eina.Log.Error($"Error adding proxy for event {key}");
217 string key = "_EFL_UI_EVENT_CLICKED_TRIPLE";
218 if (remove_cpp_event_handler(key, this.evt_ClickedTripleEvt_delegate)) {
219 eventHandlers.RemoveHandler(ClickedTripleEvtKey , value);
221 Eina.Log.Error($"Error removing proxy for event {key}");
225 ///<summary>Method to raise event ClickedTripleEvt.</summary>
226 public void On_ClickedTripleEvt(EventArgs e)
230 evt = (EventHandler)eventHandlers[ClickedTripleEvtKey];
232 evt?.Invoke(this, e);
234 Efl.EventCb evt_ClickedTripleEvt_delegate;
235 private void on_ClickedTripleEvt_NativeCallback(System.IntPtr data, ref Efl.Event_StructInternal evt)
237 EventArgs args = EventArgs.Empty;
239 On_ClickedTripleEvt(args);
240 } catch (Exception e) {
241 Eina.Log.Error(e.ToString());
242 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
246 private static object ClickedRightEvtKey = new object();
247 /// <summary>Called when object receives a right click</summary>
248 public event EventHandler<Efl.Ui.ClickableClickedRightEvt_Args> ClickedRightEvt
252 string key = "_EFL_UI_EVENT_CLICKED_RIGHT";
253 if (add_cpp_event_handler(efl.Libs.Efl, key, this.evt_ClickedRightEvt_delegate)) {
254 eventHandlers.AddHandler(ClickedRightEvtKey , value);
256 Eina.Log.Error($"Error adding proxy for event {key}");
261 string key = "_EFL_UI_EVENT_CLICKED_RIGHT";
262 if (remove_cpp_event_handler(key, this.evt_ClickedRightEvt_delegate)) {
263 eventHandlers.RemoveHandler(ClickedRightEvtKey , value);
265 Eina.Log.Error($"Error removing proxy for event {key}");
269 ///<summary>Method to raise event ClickedRightEvt.</summary>
270 public void On_ClickedRightEvt(Efl.Ui.ClickableClickedRightEvt_Args e)
272 EventHandler<Efl.Ui.ClickableClickedRightEvt_Args> evt;
274 evt = (EventHandler<Efl.Ui.ClickableClickedRightEvt_Args>)eventHandlers[ClickedRightEvtKey];
276 evt?.Invoke(this, e);
278 Efl.EventCb evt_ClickedRightEvt_delegate;
279 private void on_ClickedRightEvt_NativeCallback(System.IntPtr data, ref Efl.Event_StructInternal evt)
281 Efl.Ui.ClickableClickedRightEvt_Args args = new Efl.Ui.ClickableClickedRightEvt_Args();
282 args.arg = new Efl.Object(evt.Info);
284 On_ClickedRightEvt(args);
285 } catch (Exception e) {
286 Eina.Log.Error(e.ToString());
287 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
291 private static object PressedEvtKey = new object();
292 /// <summary>Called when the object is pressed</summary>
293 public event EventHandler<Efl.Ui.ClickablePressedEvt_Args> PressedEvt
297 string key = "_EFL_UI_EVENT_PRESSED";
298 if (add_cpp_event_handler(efl.Libs.Efl, key, this.evt_PressedEvt_delegate)) {
299 eventHandlers.AddHandler(PressedEvtKey , value);
301 Eina.Log.Error($"Error adding proxy for event {key}");
306 string key = "_EFL_UI_EVENT_PRESSED";
307 if (remove_cpp_event_handler(key, this.evt_PressedEvt_delegate)) {
308 eventHandlers.RemoveHandler(PressedEvtKey , value);
310 Eina.Log.Error($"Error removing proxy for event {key}");
314 ///<summary>Method to raise event PressedEvt.</summary>
315 public void On_PressedEvt(Efl.Ui.ClickablePressedEvt_Args e)
317 EventHandler<Efl.Ui.ClickablePressedEvt_Args> evt;
319 evt = (EventHandler<Efl.Ui.ClickablePressedEvt_Args>)eventHandlers[PressedEvtKey];
321 evt?.Invoke(this, e);
323 Efl.EventCb evt_PressedEvt_delegate;
324 private void on_PressedEvt_NativeCallback(System.IntPtr data, ref Efl.Event_StructInternal evt)
326 Efl.Ui.ClickablePressedEvt_Args args = new Efl.Ui.ClickablePressedEvt_Args();
327 args.arg = new Efl.Object(evt.Info);
330 } catch (Exception e) {
331 Eina.Log.Error(e.ToString());
332 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
336 private static object UnpressedEvtKey = new object();
337 /// <summary>Called when the object is no longer pressed</summary>
338 public event EventHandler<Efl.Ui.ClickableUnpressedEvt_Args> UnpressedEvt
342 string key = "_EFL_UI_EVENT_UNPRESSED";
343 if (add_cpp_event_handler(efl.Libs.Efl, key, this.evt_UnpressedEvt_delegate)) {
344 eventHandlers.AddHandler(UnpressedEvtKey , value);
346 Eina.Log.Error($"Error adding proxy for event {key}");
351 string key = "_EFL_UI_EVENT_UNPRESSED";
352 if (remove_cpp_event_handler(key, this.evt_UnpressedEvt_delegate)) {
353 eventHandlers.RemoveHandler(UnpressedEvtKey , value);
355 Eina.Log.Error($"Error removing proxy for event {key}");
359 ///<summary>Method to raise event UnpressedEvt.</summary>
360 public void On_UnpressedEvt(Efl.Ui.ClickableUnpressedEvt_Args e)
362 EventHandler<Efl.Ui.ClickableUnpressedEvt_Args> evt;
364 evt = (EventHandler<Efl.Ui.ClickableUnpressedEvt_Args>)eventHandlers[UnpressedEvtKey];
366 evt?.Invoke(this, e);
368 Efl.EventCb evt_UnpressedEvt_delegate;
369 private void on_UnpressedEvt_NativeCallback(System.IntPtr data, ref Efl.Event_StructInternal evt)
371 Efl.Ui.ClickableUnpressedEvt_Args args = new Efl.Ui.ClickableUnpressedEvt_Args();
372 args.arg = new Efl.Object(evt.Info);
374 On_UnpressedEvt(args);
375 } catch (Exception e) {
376 Eina.Log.Error(e.ToString());
377 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
381 private static object LongpressedEvtKey = new object();
382 /// <summary>Called when the object receives a long press</summary>
383 public event EventHandler<Efl.Ui.ClickableLongpressedEvt_Args> LongpressedEvt
387 string key = "_EFL_UI_EVENT_LONGPRESSED";
388 if (add_cpp_event_handler(efl.Libs.Efl, key, this.evt_LongpressedEvt_delegate)) {
389 eventHandlers.AddHandler(LongpressedEvtKey , value);
391 Eina.Log.Error($"Error adding proxy for event {key}");
396 string key = "_EFL_UI_EVENT_LONGPRESSED";
397 if (remove_cpp_event_handler(key, this.evt_LongpressedEvt_delegate)) {
398 eventHandlers.RemoveHandler(LongpressedEvtKey , value);
400 Eina.Log.Error($"Error removing proxy for event {key}");
404 ///<summary>Method to raise event LongpressedEvt.</summary>
405 public void On_LongpressedEvt(Efl.Ui.ClickableLongpressedEvt_Args e)
407 EventHandler<Efl.Ui.ClickableLongpressedEvt_Args> evt;
409 evt = (EventHandler<Efl.Ui.ClickableLongpressedEvt_Args>)eventHandlers[LongpressedEvtKey];
411 evt?.Invoke(this, e);
413 Efl.EventCb evt_LongpressedEvt_delegate;
414 private void on_LongpressedEvt_NativeCallback(System.IntPtr data, ref Efl.Event_StructInternal evt)
416 Efl.Ui.ClickableLongpressedEvt_Args args = new Efl.Ui.ClickableLongpressedEvt_Args();
417 args.arg = new Efl.Object(evt.Info);
419 On_LongpressedEvt(args);
420 } catch (Exception e) {
421 Eina.Log.Error(e.ToString());
422 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
426 private static object RepeatedEvtKey = new object();
427 /// <summary>Called when the object receives repeated presses/clicks</summary>
428 public event EventHandler RepeatedEvt
432 string key = "_EFL_UI_EVENT_REPEATED";
433 if (add_cpp_event_handler(efl.Libs.Efl, key, this.evt_RepeatedEvt_delegate)) {
434 eventHandlers.AddHandler(RepeatedEvtKey , value);
436 Eina.Log.Error($"Error adding proxy for event {key}");
441 string key = "_EFL_UI_EVENT_REPEATED";
442 if (remove_cpp_event_handler(key, this.evt_RepeatedEvt_delegate)) {
443 eventHandlers.RemoveHandler(RepeatedEvtKey , value);
445 Eina.Log.Error($"Error removing proxy for event {key}");
449 ///<summary>Method to raise event RepeatedEvt.</summary>
450 public void On_RepeatedEvt(EventArgs e)
454 evt = (EventHandler)eventHandlers[RepeatedEvtKey];
456 evt?.Invoke(this, e);
458 Efl.EventCb evt_RepeatedEvt_delegate;
459 private void on_RepeatedEvt_NativeCallback(System.IntPtr data, ref Efl.Event_StructInternal evt)
461 EventArgs args = EventArgs.Empty;
463 On_RepeatedEvt(args);
464 } catch (Exception e) {
465 Eina.Log.Error(e.ToString());
466 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
470 protected override void register_event_proxies()
472 base.register_event_proxies();
473 evt_ContentChangedEvt_delegate = new Efl.EventCb(on_ContentChangedEvt_NativeCallback);
474 evt_ClickedEvt_delegate = new Efl.EventCb(on_ClickedEvt_NativeCallback);
475 evt_ClickedDoubleEvt_delegate = new Efl.EventCb(on_ClickedDoubleEvt_NativeCallback);
476 evt_ClickedTripleEvt_delegate = new Efl.EventCb(on_ClickedTripleEvt_NativeCallback);
477 evt_ClickedRightEvt_delegate = new Efl.EventCb(on_ClickedRightEvt_NativeCallback);
478 evt_PressedEvt_delegate = new Efl.EventCb(on_PressedEvt_NativeCallback);
479 evt_UnpressedEvt_delegate = new Efl.EventCb(on_UnpressedEvt_NativeCallback);
480 evt_LongpressedEvt_delegate = new Efl.EventCb(on_LongpressedEvt_NativeCallback);
481 evt_RepeatedEvt_delegate = new Efl.EventCb(on_RepeatedEvt_NativeCallback);
483 /// <summary>Determine the collapse state of a frame Use this to determine the collapse state of a frame.</summary>
484 /// <returns><c>true</c> to collapse, <c>false</c> to expand.</returns>
485 virtual public bool GetCollapse() {
486 var _ret_var = Efl.Ui.FrameNativeInherit.efl_ui_frame_collapse_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
487 Eina.Error.RaiseIfUnhandledException();
490 /// <summary>Manually collapse a frame without animations Use this to toggle the collapsed state of a frame, bypassing animations.</summary>
491 /// <param name="collapse"><c>true</c> to collapse, <c>false</c> to expand.</param>
492 /// <returns></returns>
493 virtual public void SetCollapse( bool collapse) {
494 Efl.Ui.FrameNativeInherit.efl_ui_frame_collapse_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle), collapse);
495 Eina.Error.RaiseIfUnhandledException();
497 /// <summary>Determine autocollapsing of a frame
498 /// 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>
499 /// <returns>Whether to enable autocollapse.</returns>
500 virtual public bool GetAutocollapse() {
501 var _ret_var = Efl.Ui.FrameNativeInherit.efl_ui_frame_autocollapse_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
502 Eina.Error.RaiseIfUnhandledException();
505 /// <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>
506 /// <param name="autocollapse">Whether to enable autocollapse.</param>
507 /// <returns></returns>
508 virtual public void SetAutocollapse( bool autocollapse) {
509 Efl.Ui.FrameNativeInherit.efl_ui_frame_autocollapse_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle), autocollapse);
510 Eina.Error.RaiseIfUnhandledException();
512 /// <summary>Manually collapse a frame with animations Use this to toggle the collapsed state of a frame, triggering animations.</summary>
513 /// <param name="collapse"><c>true</c> to collapse, <c>false</c> to expand.</param>
514 /// <returns></returns>
515 virtual public void CollapseGo( bool collapse) {
516 Efl.Ui.FrameNativeInherit.efl_ui_frame_collapse_go_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle), collapse);
517 Eina.Error.RaiseIfUnhandledException();
519 /// <summary>Swallowed sub-object contained in this object.</summary>
520 /// <returns>The object to swallow.</returns>
521 virtual public Efl.Gfx.Entity GetContent() {
522 var _ret_var = Efl.ContentNativeInherit.efl_content_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
523 Eina.Error.RaiseIfUnhandledException();
526 /// <summary>Swallowed sub-object contained in this object.</summary>
527 /// <param name="content">The object to swallow.</param>
528 /// <returns><c>true</c> on success, <c>false</c> otherwise</returns>
529 virtual public bool SetContent( Efl.Gfx.Entity content) {
530 var _ret_var = Efl.ContentNativeInherit.efl_content_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle), content);
531 Eina.Error.RaiseIfUnhandledException();
534 /// <summary>Unswallow the object in the current container and return it.</summary>
535 /// <returns>Unswallowed object</returns>
536 virtual public Efl.Gfx.Entity UnsetContent() {
537 var _ret_var = Efl.ContentNativeInherit.efl_content_unset_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
538 Eina.Error.RaiseIfUnhandledException();
541 /// <summary>Retrieves the text string currently being displayed by the given text object.
542 /// Do not free() the return value.
544 /// See also <see cref="Efl.Text.GetText"/>.</summary>
545 /// <returns>Text string to display on it.</returns>
546 virtual public System.String GetText() {
547 var _ret_var = Efl.TextNativeInherit.efl_text_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
548 Eina.Error.RaiseIfUnhandledException();
551 /// <summary>Sets the text string to be displayed by the given text object.
552 /// See also <see cref="Efl.Text.GetText"/>.</summary>
553 /// <param name="text">Text string to display on it.</param>
554 /// <returns></returns>
555 virtual public void SetText( System.String text) {
556 Efl.TextNativeInherit.efl_text_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle), text);
557 Eina.Error.RaiseIfUnhandledException();
559 /// <summary>Markup property
561 /// <returns>The markup-text representation set to this text.
563 virtual public System.String GetMarkup() {
564 var _ret_var = Efl.TextMarkupNativeInherit.efl_text_markup_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
565 Eina.Error.RaiseIfUnhandledException();
568 /// <summary>Markup property
570 /// <param name="markup">The markup-text representation set to this text.
572 /// <returns></returns>
573 virtual public void SetMarkup( System.String markup) {
574 Efl.TextMarkupNativeInherit.efl_text_markup_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle), markup);
575 Eina.Error.RaiseIfUnhandledException();
577 /// <summary>Determine the collapse state of a frame Use this to determine the collapse state of a frame.</summary>
578 /// <value><c>true</c> to collapse, <c>false</c> to expand.</value>
579 public bool Collapse {
580 get { return GetCollapse(); }
581 set { SetCollapse( value); }
583 /// <summary>Determine autocollapsing of a frame
584 /// 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>
585 /// <value>Whether to enable autocollapse.</value>
586 public bool Autocollapse {
587 get { return GetAutocollapse(); }
588 set { SetAutocollapse( value); }
590 /// <summary>Swallowed sub-object contained in this object.</summary>
591 /// <value>The object to swallow.</value>
592 public Efl.Gfx.Entity Content {
593 get { return GetContent(); }
594 set { SetContent( value); }
596 /// <summary>Markup property
598 /// <value>The markup-text representation set to this text.
600 public System.String Markup {
601 get { return GetMarkup(); }
602 set { SetMarkup( value); }
604 private static new IntPtr GetEflClassStatic()
606 return Efl.Ui.Frame.efl_ui_frame_class_get();
609 public class FrameNativeInherit : Efl.Ui.LayoutBaseNativeInherit{
610 public new static Efl.Eo.NativeModule _Module = new Efl.Eo.NativeModule(efl.Libs.Elementary);
611 public override System.Collections.Generic.List<Efl_Op_Description> GetEoOps(System.Type type)
613 var descs = new System.Collections.Generic.List<Efl_Op_Description>();
614 if (efl_ui_frame_collapse_get_static_delegate == null)
615 efl_ui_frame_collapse_get_static_delegate = new efl_ui_frame_collapse_get_delegate(collapse_get);
616 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)});
617 if (efl_ui_frame_collapse_set_static_delegate == null)
618 efl_ui_frame_collapse_set_static_delegate = new efl_ui_frame_collapse_set_delegate(collapse_set);
619 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)});
620 if (efl_ui_frame_autocollapse_get_static_delegate == null)
621 efl_ui_frame_autocollapse_get_static_delegate = new efl_ui_frame_autocollapse_get_delegate(autocollapse_get);
622 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)});
623 if (efl_ui_frame_autocollapse_set_static_delegate == null)
624 efl_ui_frame_autocollapse_set_static_delegate = new efl_ui_frame_autocollapse_set_delegate(autocollapse_set);
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)});
626 if (efl_ui_frame_collapse_go_static_delegate == null)
627 efl_ui_frame_collapse_go_static_delegate = new efl_ui_frame_collapse_go_delegate(collapse_go);
628 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)});
629 if (efl_content_get_static_delegate == null)
630 efl_content_get_static_delegate = new efl_content_get_delegate(content_get);
631 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)});
632 if (efl_content_set_static_delegate == null)
633 efl_content_set_static_delegate = new efl_content_set_delegate(content_set);
634 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)});
635 if (efl_content_unset_static_delegate == null)
636 efl_content_unset_static_delegate = new efl_content_unset_delegate(content_unset);
637 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)});
638 if (efl_text_get_static_delegate == null)
639 efl_text_get_static_delegate = new efl_text_get_delegate(text_get);
640 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)});
641 if (efl_text_set_static_delegate == null)
642 efl_text_set_static_delegate = new efl_text_set_delegate(text_set);
643 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)});
644 if (efl_text_markup_get_static_delegate == null)
645 efl_text_markup_get_static_delegate = new efl_text_markup_get_delegate(markup_get);
646 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)});
647 if (efl_text_markup_set_static_delegate == null)
648 efl_text_markup_set_static_delegate = new efl_text_markup_set_delegate(markup_set);
649 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)});
650 descs.AddRange(base.GetEoOps(type));
653 public override IntPtr GetEflClass()
655 return Efl.Ui.Frame.efl_ui_frame_class_get();
657 public static new IntPtr GetEflClassStatic()
659 return Efl.Ui.Frame.efl_ui_frame_class_get();
663 [return: MarshalAs(UnmanagedType.U1)] private delegate bool efl_ui_frame_collapse_get_delegate(System.IntPtr obj, System.IntPtr pd);
666 [return: MarshalAs(UnmanagedType.U1)] public delegate bool efl_ui_frame_collapse_get_api_delegate(System.IntPtr obj);
667 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");
668 private static bool collapse_get(System.IntPtr obj, System.IntPtr pd)
670 Eina.Log.Debug("function efl_ui_frame_collapse_get was called");
671 Efl.Eo.IWrapper wrapper = Efl.Eo.Globals.data_get(pd);
672 if(wrapper != null) {
673 bool _ret_var = default(bool);
675 _ret_var = ((Frame)wrapper).GetCollapse();
676 } catch (Exception e) {
677 Eina.Log.Warning($"Callback error: {e.ToString()}");
678 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
682 return efl_ui_frame_collapse_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
685 private static efl_ui_frame_collapse_get_delegate efl_ui_frame_collapse_get_static_delegate;
688 private delegate void efl_ui_frame_collapse_set_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.U1)] bool collapse);
691 public delegate void efl_ui_frame_collapse_set_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.U1)] bool collapse);
692 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");
693 private static void collapse_set(System.IntPtr obj, System.IntPtr pd, bool collapse)
695 Eina.Log.Debug("function efl_ui_frame_collapse_set was called");
696 Efl.Eo.IWrapper wrapper = Efl.Eo.Globals.data_get(pd);
697 if(wrapper != null) {
700 ((Frame)wrapper).SetCollapse( collapse);
701 } catch (Exception e) {
702 Eina.Log.Warning($"Callback error: {e.ToString()}");
703 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
706 efl_ui_frame_collapse_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), collapse);
709 private static efl_ui_frame_collapse_set_delegate efl_ui_frame_collapse_set_static_delegate;
712 [return: MarshalAs(UnmanagedType.U1)] private delegate bool efl_ui_frame_autocollapse_get_delegate(System.IntPtr obj, System.IntPtr pd);
715 [return: MarshalAs(UnmanagedType.U1)] public delegate bool efl_ui_frame_autocollapse_get_api_delegate(System.IntPtr obj);
716 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");
717 private static bool autocollapse_get(System.IntPtr obj, System.IntPtr pd)
719 Eina.Log.Debug("function efl_ui_frame_autocollapse_get was called");
720 Efl.Eo.IWrapper wrapper = Efl.Eo.Globals.data_get(pd);
721 if(wrapper != null) {
722 bool _ret_var = default(bool);
724 _ret_var = ((Frame)wrapper).GetAutocollapse();
725 } catch (Exception e) {
726 Eina.Log.Warning($"Callback error: {e.ToString()}");
727 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
731 return efl_ui_frame_autocollapse_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
734 private static efl_ui_frame_autocollapse_get_delegate efl_ui_frame_autocollapse_get_static_delegate;
737 private delegate void efl_ui_frame_autocollapse_set_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.U1)] bool autocollapse);
740 public delegate void efl_ui_frame_autocollapse_set_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.U1)] bool autocollapse);
741 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");
742 private static void autocollapse_set(System.IntPtr obj, System.IntPtr pd, bool autocollapse)
744 Eina.Log.Debug("function efl_ui_frame_autocollapse_set was called");
745 Efl.Eo.IWrapper wrapper = Efl.Eo.Globals.data_get(pd);
746 if(wrapper != null) {
749 ((Frame)wrapper).SetAutocollapse( autocollapse);
750 } catch (Exception e) {
751 Eina.Log.Warning($"Callback error: {e.ToString()}");
752 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
755 efl_ui_frame_autocollapse_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), autocollapse);
758 private static efl_ui_frame_autocollapse_set_delegate efl_ui_frame_autocollapse_set_static_delegate;
761 private delegate void efl_ui_frame_collapse_go_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.U1)] bool collapse);
764 public delegate void efl_ui_frame_collapse_go_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.U1)] bool collapse);
765 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");
766 private static void collapse_go(System.IntPtr obj, System.IntPtr pd, bool collapse)
768 Eina.Log.Debug("function efl_ui_frame_collapse_go was called");
769 Efl.Eo.IWrapper wrapper = Efl.Eo.Globals.data_get(pd);
770 if(wrapper != null) {
773 ((Frame)wrapper).CollapseGo( collapse);
774 } catch (Exception e) {
775 Eina.Log.Warning($"Callback error: {e.ToString()}");
776 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
779 efl_ui_frame_collapse_go_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), collapse);
782 private static efl_ui_frame_collapse_go_delegate efl_ui_frame_collapse_go_static_delegate;
785 [return:MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalTest<Efl.Gfx.EntityConcrete, Efl.Eo.NonOwnTag>))] private delegate Efl.Gfx.Entity efl_content_get_delegate(System.IntPtr obj, System.IntPtr pd);
788 [return:MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalTest<Efl.Gfx.EntityConcrete, Efl.Eo.NonOwnTag>))] public delegate Efl.Gfx.Entity efl_content_get_api_delegate(System.IntPtr obj);
789 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");
790 private static Efl.Gfx.Entity content_get(System.IntPtr obj, System.IntPtr pd)
792 Eina.Log.Debug("function efl_content_get was called");
793 Efl.Eo.IWrapper wrapper = Efl.Eo.Globals.data_get(pd);
794 if(wrapper != null) {
795 Efl.Gfx.Entity _ret_var = default(Efl.Gfx.Entity);
797 _ret_var = ((Frame)wrapper).GetContent();
798 } catch (Exception e) {
799 Eina.Log.Warning($"Callback error: {e.ToString()}");
800 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
804 return efl_content_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
807 private static efl_content_get_delegate efl_content_get_static_delegate;
810 [return: MarshalAs(UnmanagedType.U1)] private delegate bool efl_content_set_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalTest<Efl.Gfx.EntityConcrete, Efl.Eo.NonOwnTag>))] Efl.Gfx.Entity content);
813 [return: MarshalAs(UnmanagedType.U1)] public delegate bool efl_content_set_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalTest<Efl.Gfx.EntityConcrete, Efl.Eo.NonOwnTag>))] Efl.Gfx.Entity content);
814 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");
815 private static bool content_set(System.IntPtr obj, System.IntPtr pd, Efl.Gfx.Entity content)
817 Eina.Log.Debug("function efl_content_set was called");
818 Efl.Eo.IWrapper wrapper = Efl.Eo.Globals.data_get(pd);
819 if(wrapper != null) {
820 bool _ret_var = default(bool);
822 _ret_var = ((Frame)wrapper).SetContent( content);
823 } catch (Exception e) {
824 Eina.Log.Warning($"Callback error: {e.ToString()}");
825 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
829 return efl_content_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), content);
832 private static efl_content_set_delegate efl_content_set_static_delegate;
835 [return:MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalTest<Efl.Gfx.EntityConcrete, Efl.Eo.NonOwnTag>))] private delegate Efl.Gfx.Entity efl_content_unset_delegate(System.IntPtr obj, System.IntPtr pd);
838 [return:MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalTest<Efl.Gfx.EntityConcrete, Efl.Eo.NonOwnTag>))] public delegate Efl.Gfx.Entity efl_content_unset_api_delegate(System.IntPtr obj);
839 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");
840 private static Efl.Gfx.Entity content_unset(System.IntPtr obj, System.IntPtr pd)
842 Eina.Log.Debug("function efl_content_unset was called");
843 Efl.Eo.IWrapper wrapper = Efl.Eo.Globals.data_get(pd);
844 if(wrapper != null) {
845 Efl.Gfx.Entity _ret_var = default(Efl.Gfx.Entity);
847 _ret_var = ((Frame)wrapper).UnsetContent();
848 } catch (Exception e) {
849 Eina.Log.Warning($"Callback error: {e.ToString()}");
850 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
854 return efl_content_unset_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
857 private static efl_content_unset_delegate efl_content_unset_static_delegate;
860 [return: MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))] private delegate System.String efl_text_get_delegate(System.IntPtr obj, System.IntPtr pd);
863 [return: MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))] public delegate System.String efl_text_get_api_delegate(System.IntPtr obj);
864 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");
865 private static System.String text_get(System.IntPtr obj, System.IntPtr pd)
867 Eina.Log.Debug("function efl_text_get was called");
868 Efl.Eo.IWrapper wrapper = Efl.Eo.Globals.data_get(pd);
869 if(wrapper != null) {
870 System.String _ret_var = default( System.String);
872 _ret_var = ((Frame)wrapper).GetText();
873 } catch (Exception e) {
874 Eina.Log.Warning($"Callback error: {e.ToString()}");
875 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
879 return efl_text_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
882 private static efl_text_get_delegate efl_text_get_static_delegate;
885 private delegate void efl_text_set_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))] System.String text);
888 public delegate void efl_text_set_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))] System.String text);
889 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");
890 private static void text_set(System.IntPtr obj, System.IntPtr pd, System.String text)
892 Eina.Log.Debug("function efl_text_set was called");
893 Efl.Eo.IWrapper wrapper = Efl.Eo.Globals.data_get(pd);
894 if(wrapper != null) {
897 ((Frame)wrapper).SetText( text);
898 } catch (Exception e) {
899 Eina.Log.Warning($"Callback error: {e.ToString()}");
900 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
903 efl_text_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), text);
906 private static efl_text_set_delegate efl_text_set_static_delegate;
909 [return: MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))] private delegate System.String efl_text_markup_get_delegate(System.IntPtr obj, System.IntPtr pd);
912 [return: MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))] public delegate System.String efl_text_markup_get_api_delegate(System.IntPtr obj);
913 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");
914 private static System.String markup_get(System.IntPtr obj, System.IntPtr pd)
916 Eina.Log.Debug("function efl_text_markup_get was called");
917 Efl.Eo.IWrapper wrapper = Efl.Eo.Globals.data_get(pd);
918 if(wrapper != null) {
919 System.String _ret_var = default( System.String);
921 _ret_var = ((Frame)wrapper).GetMarkup();
922 } catch (Exception e) {
923 Eina.Log.Warning($"Callback error: {e.ToString()}");
924 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
928 return efl_text_markup_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
931 private static efl_text_markup_get_delegate efl_text_markup_get_static_delegate;
934 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);
937 public delegate void efl_text_markup_set_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))] System.String markup);
938 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");
939 private static void markup_set(System.IntPtr obj, System.IntPtr pd, System.String markup)
941 Eina.Log.Debug("function efl_text_markup_set was called");
942 Efl.Eo.IWrapper wrapper = Efl.Eo.Globals.data_get(pd);
943 if(wrapper != null) {
946 ((Frame)wrapper).SetMarkup( markup);
947 } catch (Exception e) {
948 Eina.Log.Warning($"Callback error: {e.ToString()}");
949 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
952 efl_text_markup_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), markup);
955 private static efl_text_markup_set_delegate efl_text_markup_set_static_delegate;