1 #pragma warning disable CS1591
3 using System.Runtime.InteropServices;
4 using System.Collections.Generic;
6 using System.Threading;
7 using System.ComponentModel;
14 /// <summary>A class that automatically registers its border elements in the parent manager
15 /// This sub manager will register its border elements on the parent manager. The parent manager is found with the <see cref="Efl.Ui.Focus.IObject"/> interface of the <see cref="Efl.Object.Parent"/>.
17 /// Each sub manager also has to be a focus object, the object itself will be registered into the parent manager. It will be used as logical parent while registering the border elements.
19 /// You can filter the border elements by overriding the property <see cref="Efl.Ui.Focus.IManager.GetBorderElements"/>.</summary>
20 [Efl.Ui.Focus.IManagerSubConcrete.NativeMethods]
21 public interface IManagerSub :
22 Efl.Ui.Focus.IManager ,
23 Efl.Eo.IWrapper, IDisposable
26 /// <summary>A class that automatically registers its border elements in the parent manager
27 /// This sub manager will register its border elements on the parent manager. The parent manager is found with the <see cref="Efl.Ui.Focus.IObject"/> interface of the <see cref="Efl.Object.Parent"/>.
29 /// Each sub manager also has to be a focus object, the object itself will be registered into the parent manager. It will be used as logical parent while registering the border elements.
31 /// You can filter the border elements by overriding the property <see cref="Efl.Ui.Focus.IManager.GetBorderElements"/>.</summary>
32 sealed public class IManagerSubConcrete :
35 , Efl.Ui.Focus.IManager
37 ///<summary>Pointer to the native class description.</summary>
38 public override System.IntPtr NativeClass
42 if (((object)this).GetType() == typeof(IManagerSubConcrete))
44 return GetEflClassStatic();
48 return Efl.Eo.ClassRegister.klassFromType[((object)this).GetType()];
53 [System.Runtime.InteropServices.DllImport(efl.Libs.Elementary)] internal static extern System.IntPtr
54 efl_ui_focus_manager_sub_mixin_get();
55 /// <summary>Initializes a new instance of the <see cref="IManagerSub"/> class.
56 /// Internal usage: This is used when interacting with C code and should not be used directly.</summary>
57 private IManagerSubConcrete(System.IntPtr raw) : base(raw)
61 /// <summary>Redirect object has changed, the old manager is passed as an event argument.
62 /// (Since EFL 1.22)</summary>
63 public event EventHandler<Efl.Ui.Focus.IManagerRedirectChangedEvt_Args> RedirectChangedEvt
69 Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
71 var obj = Efl.Eo.Globals.WrapperSupervisorPtrToManaged(data).Target;
74 Efl.Ui.Focus.IManagerRedirectChangedEvt_Args args = new Efl.Ui.Focus.IManagerRedirectChangedEvt_Args();
75 args.arg = (Efl.Eo.Globals.CreateWrapperFor(evt.Info) as Efl.Ui.Focus.IManagerConcrete);
78 value?.Invoke(obj, args);
82 Eina.Log.Error(e.ToString());
83 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
88 string key = "_EFL_UI_FOCUS_MANAGER_EVENT_REDIRECT_CHANGED";
89 AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value);
97 string key = "_EFL_UI_FOCUS_MANAGER_EVENT_REDIRECT_CHANGED";
98 RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
102 ///<summary>Method to raise event RedirectChangedEvt.</summary>
103 public void OnRedirectChangedEvt(Efl.Ui.Focus.IManagerRedirectChangedEvt_Args e)
105 var key = "_EFL_UI_FOCUS_MANAGER_EVENT_REDIRECT_CHANGED";
106 IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key);
107 if (desc == IntPtr.Zero)
109 Eina.Log.Error($"Failed to get native event {key}");
113 IntPtr info = e.arg.NativeHandle;
114 Efl.Eo.Globals.efl_event_callback_call(this.NativeHandle, desc, info);
116 /// <summary>After this event, the manager object will calculate relations in the graph. Can be used to add / remove children in a lazy fashion.
117 /// (Since EFL 1.22)</summary>
118 public event EventHandler FlushPreEvt
124 Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
126 var obj = Efl.Eo.Globals.WrapperSupervisorPtrToManaged(data).Target;
129 EventArgs args = EventArgs.Empty;
132 value?.Invoke(obj, args);
136 Eina.Log.Error(e.ToString());
137 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
142 string key = "_EFL_UI_FOCUS_MANAGER_EVENT_FLUSH_PRE";
143 AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value);
151 string key = "_EFL_UI_FOCUS_MANAGER_EVENT_FLUSH_PRE";
152 RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
156 ///<summary>Method to raise event FlushPreEvt.</summary>
157 public void OnFlushPreEvt(EventArgs e)
159 var key = "_EFL_UI_FOCUS_MANAGER_EVENT_FLUSH_PRE";
160 IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key);
161 if (desc == IntPtr.Zero)
163 Eina.Log.Error($"Failed to get native event {key}");
167 Efl.Eo.Globals.efl_event_callback_call(this.NativeHandle, desc, IntPtr.Zero);
169 /// <summary>Cached relationship calculation results have been invalidated.
170 /// (Since EFL 1.22)</summary>
171 public event EventHandler CoordsDirtyEvt
177 Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
179 var obj = Efl.Eo.Globals.WrapperSupervisorPtrToManaged(data).Target;
182 EventArgs args = EventArgs.Empty;
185 value?.Invoke(obj, args);
189 Eina.Log.Error(e.ToString());
190 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
195 string key = "_EFL_UI_FOCUS_MANAGER_EVENT_COORDS_DIRTY";
196 AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value);
204 string key = "_EFL_UI_FOCUS_MANAGER_EVENT_COORDS_DIRTY";
205 RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
209 ///<summary>Method to raise event CoordsDirtyEvt.</summary>
210 public void OnCoordsDirtyEvt(EventArgs e)
212 var key = "_EFL_UI_FOCUS_MANAGER_EVENT_COORDS_DIRTY";
213 IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key);
214 if (desc == IntPtr.Zero)
216 Eina.Log.Error($"Failed to get native event {key}");
220 Efl.Eo.Globals.efl_event_callback_call(this.NativeHandle, desc, IntPtr.Zero);
222 /// <summary>The manager_focus property has changed. The previously focused object is passed as an event argument.
223 /// (Since EFL 1.22)</summary>
224 public event EventHandler<Efl.Ui.Focus.IManagerManagerFocusChangedEvt_Args> ManagerFocusChangedEvt
230 Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
232 var obj = Efl.Eo.Globals.WrapperSupervisorPtrToManaged(data).Target;
235 Efl.Ui.Focus.IManagerManagerFocusChangedEvt_Args args = new Efl.Ui.Focus.IManagerManagerFocusChangedEvt_Args();
236 args.arg = (Efl.Eo.Globals.CreateWrapperFor(evt.Info) as Efl.Ui.Focus.IObjectConcrete);
239 value?.Invoke(obj, args);
243 Eina.Log.Error(e.ToString());
244 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
249 string key = "_EFL_UI_FOCUS_MANAGER_EVENT_MANAGER_FOCUS_CHANGED";
250 AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value);
258 string key = "_EFL_UI_FOCUS_MANAGER_EVENT_MANAGER_FOCUS_CHANGED";
259 RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
263 ///<summary>Method to raise event ManagerFocusChangedEvt.</summary>
264 public void OnManagerFocusChangedEvt(Efl.Ui.Focus.IManagerManagerFocusChangedEvt_Args e)
266 var key = "_EFL_UI_FOCUS_MANAGER_EVENT_MANAGER_FOCUS_CHANGED";
267 IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key);
268 if (desc == IntPtr.Zero)
270 Eina.Log.Error($"Failed to get native event {key}");
274 IntPtr info = e.arg.NativeHandle;
275 Efl.Eo.Globals.efl_event_callback_call(this.NativeHandle, desc, info);
277 /// <summary>Called when this focus manager is frozen or thawed, even_info being <c>true</c> indicates that it is now frozen, <c>false</c> indicates that it is thawed.
278 /// (Since EFL 1.22)</summary>
279 public event EventHandler<Efl.Ui.Focus.IManagerDirtyLogicFreezeChangedEvt_Args> DirtyLogicFreezeChangedEvt
285 Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
287 var obj = Efl.Eo.Globals.WrapperSupervisorPtrToManaged(data).Target;
290 Efl.Ui.Focus.IManagerDirtyLogicFreezeChangedEvt_Args args = new Efl.Ui.Focus.IManagerDirtyLogicFreezeChangedEvt_Args();
291 args.arg = Marshal.ReadByte(evt.Info) != 0;
294 value?.Invoke(obj, args);
298 Eina.Log.Error(e.ToString());
299 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
304 string key = "_EFL_UI_FOCUS_MANAGER_EVENT_DIRTY_LOGIC_FREEZE_CHANGED";
305 AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value);
313 string key = "_EFL_UI_FOCUS_MANAGER_EVENT_DIRTY_LOGIC_FREEZE_CHANGED";
314 RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
318 ///<summary>Method to raise event DirtyLogicFreezeChangedEvt.</summary>
319 public void OnDirtyLogicFreezeChangedEvt(Efl.Ui.Focus.IManagerDirtyLogicFreezeChangedEvt_Args e)
321 var key = "_EFL_UI_FOCUS_MANAGER_EVENT_DIRTY_LOGIC_FREEZE_CHANGED";
322 IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key);
323 if (desc == IntPtr.Zero)
325 Eina.Log.Error($"Failed to get native event {key}");
329 IntPtr info = Eina.PrimitiveConversion.ManagedToPointerAlloc(e.arg ? (byte) 1 : (byte) 0);
332 Efl.Eo.Globals.efl_event_callback_call(this.NativeHandle, desc, info);
336 Marshal.FreeHGlobal(info);
339 /// <summary>The element which is currently focused by this manager
340 /// Use this property to retrieve the object currently being focused, or to set the focus to a new one. When <c>focus</c> is a logical child (which cannot receive focus), the next non-logical object is selected instead. If there is no such object, focus does not change.
341 /// (Since EFL 1.22)</summary>
342 /// <returns>Currently focused element.</returns>
343 public Efl.Ui.Focus.IObject GetManagerFocus() {
344 var _ret_var = Efl.Ui.Focus.IManagerConcrete.NativeMethods.efl_ui_focus_manager_focus_get_ptr.Value.Delegate(this.NativeHandle);
345 Eina.Error.RaiseIfUnhandledException();
348 /// <summary>The element which is currently focused by this manager
349 /// Use this property to retrieve the object currently being focused, or to set the focus to a new one. When <c>focus</c> is a logical child (which cannot receive focus), the next non-logical object is selected instead. If there is no such object, focus does not change.
350 /// (Since EFL 1.22)</summary>
351 /// <param name="focus">Currently focused element.</param>
352 public void SetManagerFocus(Efl.Ui.Focus.IObject focus) {
353 Efl.Ui.Focus.IManagerConcrete.NativeMethods.efl_ui_focus_manager_focus_set_ptr.Value.Delegate(this.NativeHandle,focus);
354 Eina.Error.RaiseIfUnhandledException();
356 /// <summary>Add another manager to serve the move requests.
357 /// If this value is set, all move requests are redirected to this manager object. Set it to <c>null</c> once nothing should be redirected anymore.
358 /// (Since EFL 1.22)</summary>
359 /// <returns>The redirect manager.</returns>
360 public Efl.Ui.Focus.IManager GetRedirect() {
361 var _ret_var = Efl.Ui.Focus.IManagerConcrete.NativeMethods.efl_ui_focus_manager_redirect_get_ptr.Value.Delegate(this.NativeHandle);
362 Eina.Error.RaiseIfUnhandledException();
365 /// <summary>Add another manager to serve the move requests.
366 /// If this value is set, all move requests are redirected to this manager object. Set it to <c>null</c> once nothing should be redirected anymore.
367 /// (Since EFL 1.22)</summary>
368 /// <param name="redirect">The redirect manager.</param>
369 public void SetRedirect(Efl.Ui.Focus.IManager redirect) {
370 Efl.Ui.Focus.IManagerConcrete.NativeMethods.efl_ui_focus_manager_redirect_set_ptr.Value.Delegate(this.NativeHandle,redirect);
371 Eina.Error.RaiseIfUnhandledException();
373 /// <summary>The list of elements which are at the border of the graph.
374 /// This means one of the relations right,left or down,up are not set. This call flushes all changes. See <see cref="Efl.Ui.Focus.IManager.Move"/>
375 /// (Since EFL 1.22)</summary>
376 /// <returns>An iterator over the border objects.</returns>
377 public Eina.Iterator<Efl.Ui.Focus.IObject> GetBorderElements() {
378 var _ret_var = Efl.Ui.Focus.IManagerConcrete.NativeMethods.efl_ui_focus_manager_border_elements_get_ptr.Value.Delegate(this.NativeHandle);
379 Eina.Error.RaiseIfUnhandledException();
380 return new Eina.Iterator<Efl.Ui.Focus.IObject>(_ret_var, false, false);
382 /// <summary>Get all elements that are at the border of the viewport
383 /// Every element returned by this is located inside the viewport rectangle, but has a right, left, down or up neighbor outside the viewport.
384 /// (Since EFL 1.22)</summary>
385 /// <param name="viewport">The rectangle defining the viewport.</param>
386 /// <returns>The list of border objects.</returns>
387 public Eina.Iterator<Efl.Ui.Focus.IObject> GetViewportElements(Eina.Rect viewport) {
388 Eina.Rect.NativeStruct _in_viewport = viewport;
389 var _ret_var = Efl.Ui.Focus.IManagerConcrete.NativeMethods.efl_ui_focus_manager_viewport_elements_get_ptr.Value.Delegate(this.NativeHandle,_in_viewport);
390 Eina.Error.RaiseIfUnhandledException();
391 return new Eina.Iterator<Efl.Ui.Focus.IObject>(_ret_var, false, false);
393 /// <summary>Root node for all logical subtrees.
394 /// This property can only be set once.
395 /// (Since EFL 1.22)</summary>
396 /// <returns>Will be registered into this manager object.</returns>
397 public Efl.Ui.Focus.IObject GetRoot() {
398 var _ret_var = Efl.Ui.Focus.IManagerConcrete.NativeMethods.efl_ui_focus_manager_root_get_ptr.Value.Delegate(this.NativeHandle);
399 Eina.Error.RaiseIfUnhandledException();
402 /// <summary>Root node for all logical subtrees.
403 /// This property can only be set once.
404 /// (Since EFL 1.22)</summary>
405 /// <param name="root">Will be registered into this manager object.</param>
406 /// <returns>If <c>true</c>, this is the root node</returns>
407 public bool SetRoot(Efl.Ui.Focus.IObject root) {
408 var _ret_var = Efl.Ui.Focus.IManagerConcrete.NativeMethods.efl_ui_focus_manager_root_set_ptr.Value.Delegate(this.NativeHandle,root);
409 Eina.Error.RaiseIfUnhandledException();
412 /// <summary>Move the focus in the given direction.
413 /// This call flushes all changes. This means all changes between the last flush and now are computed.
414 /// (Since EFL 1.22)</summary>
415 /// <param name="direction">The direction to move to.</param>
416 /// <returns>The element which is now focused.</returns>
417 public Efl.Ui.Focus.IObject Move(Efl.Ui.Focus.Direction direction) {
418 var _ret_var = Efl.Ui.Focus.IManagerConcrete.NativeMethods.efl_ui_focus_manager_move_ptr.Value.Delegate(this.NativeHandle,direction);
419 Eina.Error.RaiseIfUnhandledException();
422 /// <summary>Return the object in the <c>direction</c> from <c>child</c>.
423 /// (Since EFL 1.22)</summary>
424 /// <param name="direction">Direction to move focus.</param>
425 /// <param name="child">The child to move from. Pass <c>null</c> to indicate the currently focused child.</param>
426 /// <param name="logical">Wether you want to have a logical node as result or a non-logical. Note, in a <see cref="Efl.Ui.Focus.IManager.Move"/> call no logical node will get focus.</param>
427 /// <returns>Object that would receive focus if moved in the given direction.</returns>
428 public Efl.Ui.Focus.IObject MoveRequest(Efl.Ui.Focus.Direction direction, Efl.Ui.Focus.IObject child, bool logical) {
429 var _ret_var = Efl.Ui.Focus.IManagerConcrete.NativeMethods.efl_ui_focus_manager_request_move_ptr.Value.Delegate(this.NativeHandle,direction, child, logical);
430 Eina.Error.RaiseIfUnhandledException();
433 /// <summary>Return the widget in the direction next.
434 /// The returned widget is a child of <c>root</c>. It's guaranteed that child will not be prepared once again, so you can call this function inside a <see cref="Efl.Ui.Focus.IObject.SetupOrder"/> call.
435 /// (Since EFL 1.22)</summary>
436 /// <param name="root">Parent for returned child.</param>
437 /// <returns>Child of passed parameter.</returns>
438 public Efl.Ui.Focus.IObject RequestSubchild(Efl.Ui.Focus.IObject root) {
439 var _ret_var = Efl.Ui.Focus.IManagerConcrete.NativeMethods.efl_ui_focus_manager_request_subchild_ptr.Value.Delegate(this.NativeHandle,root);
440 Eina.Error.RaiseIfUnhandledException();
443 /// <summary>This will fetch the data from a registered node.
444 /// Be aware this function will trigger a computation of all dirty nodes.
445 /// (Since EFL 1.22)</summary>
446 /// <param name="child">The child object to inspect.</param>
447 /// <returns>The list of relations starting from <c>child</c>.</returns>
448 public Efl.Ui.Focus.Relations Fetch(Efl.Ui.Focus.IObject child) {
449 var _ret_var = Efl.Ui.Focus.IManagerConcrete.NativeMethods.efl_ui_focus_manager_fetch_ptr.Value.Delegate(this.NativeHandle,child);
450 Eina.Error.RaiseIfUnhandledException();
451 var __ret_tmp = Eina.PrimitiveConversion.PointerToManaged<Efl.Ui.Focus.Relations>(_ret_var);
452 Marshal.FreeHGlobal(_ret_var);
455 /// <summary>Return the last logical object.
456 /// The returned object is the last object that would be returned if you start at the root and move the direction into next.
457 /// (Since EFL 1.22)</summary>
458 /// <returns>Last object.</returns>
459 public Efl.Ui.Focus.ManagerLogicalEndDetail LogicalEnd() {
460 var _ret_var = Efl.Ui.Focus.IManagerConcrete.NativeMethods.efl_ui_focus_manager_logical_end_ptr.Value.Delegate(this.NativeHandle);
461 Eina.Error.RaiseIfUnhandledException();
464 /// <summary>Reset the history stack of this manager object. This means the uppermost element will be unfocused, and all other elements will be removed from the remembered list.
465 /// You should focus another element immediately after calling this, in order to always have a focused object.
466 /// (Since EFL 1.22)</summary>
467 public void ResetHistory() {
468 Efl.Ui.Focus.IManagerConcrete.NativeMethods.efl_ui_focus_manager_reset_history_ptr.Value.Delegate(this.NativeHandle);
469 Eina.Error.RaiseIfUnhandledException();
471 /// <summary>Remove the uppermost history element, and focus the previous one.
472 /// If there is an element that was focused before, it will be used. Otherwise, the best fitting element from the registered elements will be focused.
473 /// (Since EFL 1.22)</summary>
474 public void PopHistoryStack() {
475 Efl.Ui.Focus.IManagerConcrete.NativeMethods.efl_ui_focus_manager_pop_history_stack_ptr.Value.Delegate(this.NativeHandle);
476 Eina.Error.RaiseIfUnhandledException();
478 /// <summary>Called when this manager is set as redirect.
479 /// In case that this is called as an result of a move call, <c>direction</c> and <c>entry</c> will be set to the direction of the move call, and the <c>entry</c> object will be set to the object that had this manager as redirect property.
480 /// (Since EFL 1.22)</summary>
481 /// <param name="direction">The direction in which this should be setup.</param>
482 /// <param name="entry">The object that caused this manager to be redirect.</param>
483 public void SetupOnFirstTouch(Efl.Ui.Focus.Direction direction, Efl.Ui.Focus.IObject entry) {
484 Efl.Ui.Focus.IManagerConcrete.NativeMethods.efl_ui_focus_manager_setup_on_first_touch_ptr.Value.Delegate(this.NativeHandle,direction, entry);
485 Eina.Error.RaiseIfUnhandledException();
487 /// <summary>This disables the cache invalidation when an object is moved.
488 /// Even if an object is moved, the focus manager will not recalculate its relations. This can be used when you know that the set of widgets in the focus manager is moved the same way, so the relations between the widets in the set do not change and the complex calculations can be avoided. Use <see cref="Efl.Ui.Focus.IManager.DirtyLogicUnfreeze"/> to re-enable relationship calculation.
489 /// (Since EFL 1.22)</summary>
490 public void FreezeDirtyLogic() {
491 Efl.Ui.Focus.IManagerConcrete.NativeMethods.efl_ui_focus_manager_dirty_logic_freeze_ptr.Value.Delegate(this.NativeHandle);
492 Eina.Error.RaiseIfUnhandledException();
494 /// <summary>This enables the cache invalidation when an object is moved.
495 /// This is the counterpart to <see cref="Efl.Ui.Focus.IManager.FreezeDirtyLogic"/>.
496 /// (Since EFL 1.22)</summary>
497 public void DirtyLogicUnfreeze() {
498 Efl.Ui.Focus.IManagerConcrete.NativeMethods.efl_ui_focus_manager_dirty_logic_unfreeze_ptr.Value.Delegate(this.NativeHandle);
499 Eina.Error.RaiseIfUnhandledException();
501 /// <summary>The element which is currently focused by this manager
502 /// Use this property to retrieve the object currently being focused, or to set the focus to a new one. When <c>focus</c> is a logical child (which cannot receive focus), the next non-logical object is selected instead. If there is no such object, focus does not change.
503 /// (Since EFL 1.22)</summary>
504 /// <value>Currently focused element.</value>
505 public Efl.Ui.Focus.IObject ManagerFocus {
506 get { return GetManagerFocus(); }
507 set { SetManagerFocus(value); }
509 /// <summary>Add another manager to serve the move requests.
510 /// If this value is set, all move requests are redirected to this manager object. Set it to <c>null</c> once nothing should be redirected anymore.
511 /// (Since EFL 1.22)</summary>
512 /// <value>The redirect manager.</value>
513 public Efl.Ui.Focus.IManager Redirect {
514 get { return GetRedirect(); }
515 set { SetRedirect(value); }
517 /// <summary>The list of elements which are at the border of the graph.
518 /// This means one of the relations right,left or down,up are not set. This call flushes all changes. See <see cref="Efl.Ui.Focus.IManager.Move"/>
519 /// (Since EFL 1.22)</summary>
520 /// <value>An iterator over the border objects.</value>
521 public Eina.Iterator<Efl.Ui.Focus.IObject> BorderElements {
522 get { return GetBorderElements(); }
524 /// <summary>Root node for all logical subtrees.
525 /// This property can only be set once.
526 /// (Since EFL 1.22)</summary>
527 /// <value>Will be registered into this manager object.</value>
528 public Efl.Ui.Focus.IObject Root {
529 get { return GetRoot(); }
530 set { SetRoot(value); }
532 private static IntPtr GetEflClassStatic()
534 return Efl.Ui.Focus.IManagerSubConcrete.efl_ui_focus_manager_sub_mixin_get();
536 /// <summary>Wrapper for native methods and virtual method delegates.
537 /// For internal use by generated code only.</summary>
538 public class NativeMethods : Efl.Eo.NativeClass
540 private static Efl.Eo.NativeModule Module = new Efl.Eo.NativeModule( efl.Libs.Elementary);
541 /// <summary>Gets the list of Eo operations to override.</summary>
542 /// <returns>The list of Eo operations to be overload.</returns>
543 public override System.Collections.Generic.List<Efl_Op_Description> GetEoOps(System.Type type)
545 var descs = new System.Collections.Generic.List<Efl_Op_Description>();
546 var methods = Efl.Eo.Globals.GetUserMethods(type);
548 if (efl_ui_focus_manager_focus_get_static_delegate == null)
550 efl_ui_focus_manager_focus_get_static_delegate = new efl_ui_focus_manager_focus_get_delegate(manager_focus_get);
553 if (methods.FirstOrDefault(m => m.Name == "GetManagerFocus") != null)
555 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_focus_manager_focus_get"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_focus_manager_focus_get_static_delegate) });
558 if (efl_ui_focus_manager_focus_set_static_delegate == null)
560 efl_ui_focus_manager_focus_set_static_delegate = new efl_ui_focus_manager_focus_set_delegate(manager_focus_set);
563 if (methods.FirstOrDefault(m => m.Name == "SetManagerFocus") != null)
565 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_focus_manager_focus_set"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_focus_manager_focus_set_static_delegate) });
568 if (efl_ui_focus_manager_redirect_get_static_delegate == null)
570 efl_ui_focus_manager_redirect_get_static_delegate = new efl_ui_focus_manager_redirect_get_delegate(redirect_get);
573 if (methods.FirstOrDefault(m => m.Name == "GetRedirect") != null)
575 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_focus_manager_redirect_get"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_focus_manager_redirect_get_static_delegate) });
578 if (efl_ui_focus_manager_redirect_set_static_delegate == null)
580 efl_ui_focus_manager_redirect_set_static_delegate = new efl_ui_focus_manager_redirect_set_delegate(redirect_set);
583 if (methods.FirstOrDefault(m => m.Name == "SetRedirect") != null)
585 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_focus_manager_redirect_set"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_focus_manager_redirect_set_static_delegate) });
588 if (efl_ui_focus_manager_border_elements_get_static_delegate == null)
590 efl_ui_focus_manager_border_elements_get_static_delegate = new efl_ui_focus_manager_border_elements_get_delegate(border_elements_get);
593 if (methods.FirstOrDefault(m => m.Name == "GetBorderElements") != null)
595 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_focus_manager_border_elements_get"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_focus_manager_border_elements_get_static_delegate) });
598 if (efl_ui_focus_manager_viewport_elements_get_static_delegate == null)
600 efl_ui_focus_manager_viewport_elements_get_static_delegate = new efl_ui_focus_manager_viewport_elements_get_delegate(viewport_elements_get);
603 if (methods.FirstOrDefault(m => m.Name == "GetViewportElements") != null)
605 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_focus_manager_viewport_elements_get"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_focus_manager_viewport_elements_get_static_delegate) });
608 if (efl_ui_focus_manager_root_get_static_delegate == null)
610 efl_ui_focus_manager_root_get_static_delegate = new efl_ui_focus_manager_root_get_delegate(root_get);
613 if (methods.FirstOrDefault(m => m.Name == "GetRoot") != null)
615 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_focus_manager_root_get"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_focus_manager_root_get_static_delegate) });
618 if (efl_ui_focus_manager_root_set_static_delegate == null)
620 efl_ui_focus_manager_root_set_static_delegate = new efl_ui_focus_manager_root_set_delegate(root_set);
623 if (methods.FirstOrDefault(m => m.Name == "SetRoot") != null)
625 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_focus_manager_root_set"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_focus_manager_root_set_static_delegate) });
628 if (efl_ui_focus_manager_move_static_delegate == null)
630 efl_ui_focus_manager_move_static_delegate = new efl_ui_focus_manager_move_delegate(move);
633 if (methods.FirstOrDefault(m => m.Name == "Move") != null)
635 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_focus_manager_move"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_focus_manager_move_static_delegate) });
638 if (efl_ui_focus_manager_request_move_static_delegate == null)
640 efl_ui_focus_manager_request_move_static_delegate = new efl_ui_focus_manager_request_move_delegate(request_move);
643 if (methods.FirstOrDefault(m => m.Name == "MoveRequest") != null)
645 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_focus_manager_request_move"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_focus_manager_request_move_static_delegate) });
648 if (efl_ui_focus_manager_request_subchild_static_delegate == null)
650 efl_ui_focus_manager_request_subchild_static_delegate = new efl_ui_focus_manager_request_subchild_delegate(request_subchild);
653 if (methods.FirstOrDefault(m => m.Name == "RequestSubchild") != null)
655 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_focus_manager_request_subchild"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_focus_manager_request_subchild_static_delegate) });
658 if (efl_ui_focus_manager_fetch_static_delegate == null)
660 efl_ui_focus_manager_fetch_static_delegate = new efl_ui_focus_manager_fetch_delegate(fetch);
663 if (methods.FirstOrDefault(m => m.Name == "Fetch") != null)
665 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_focus_manager_fetch"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_focus_manager_fetch_static_delegate) });
668 if (efl_ui_focus_manager_logical_end_static_delegate == null)
670 efl_ui_focus_manager_logical_end_static_delegate = new efl_ui_focus_manager_logical_end_delegate(logical_end);
673 if (methods.FirstOrDefault(m => m.Name == "LogicalEnd") != null)
675 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_focus_manager_logical_end"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_focus_manager_logical_end_static_delegate) });
678 if (efl_ui_focus_manager_reset_history_static_delegate == null)
680 efl_ui_focus_manager_reset_history_static_delegate = new efl_ui_focus_manager_reset_history_delegate(reset_history);
683 if (methods.FirstOrDefault(m => m.Name == "ResetHistory") != null)
685 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_focus_manager_reset_history"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_focus_manager_reset_history_static_delegate) });
688 if (efl_ui_focus_manager_pop_history_stack_static_delegate == null)
690 efl_ui_focus_manager_pop_history_stack_static_delegate = new efl_ui_focus_manager_pop_history_stack_delegate(pop_history_stack);
693 if (methods.FirstOrDefault(m => m.Name == "PopHistoryStack") != null)
695 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_focus_manager_pop_history_stack"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_focus_manager_pop_history_stack_static_delegate) });
698 if (efl_ui_focus_manager_setup_on_first_touch_static_delegate == null)
700 efl_ui_focus_manager_setup_on_first_touch_static_delegate = new efl_ui_focus_manager_setup_on_first_touch_delegate(setup_on_first_touch);
703 if (methods.FirstOrDefault(m => m.Name == "SetupOnFirstTouch") != null)
705 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_focus_manager_setup_on_first_touch"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_focus_manager_setup_on_first_touch_static_delegate) });
708 if (efl_ui_focus_manager_dirty_logic_freeze_static_delegate == null)
710 efl_ui_focus_manager_dirty_logic_freeze_static_delegate = new efl_ui_focus_manager_dirty_logic_freeze_delegate(dirty_logic_freeze);
713 if (methods.FirstOrDefault(m => m.Name == "FreezeDirtyLogic") != null)
715 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_focus_manager_dirty_logic_freeze"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_focus_manager_dirty_logic_freeze_static_delegate) });
718 if (efl_ui_focus_manager_dirty_logic_unfreeze_static_delegate == null)
720 efl_ui_focus_manager_dirty_logic_unfreeze_static_delegate = new efl_ui_focus_manager_dirty_logic_unfreeze_delegate(dirty_logic_unfreeze);
723 if (methods.FirstOrDefault(m => m.Name == "DirtyLogicUnfreeze") != null)
725 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_focus_manager_dirty_logic_unfreeze"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_focus_manager_dirty_logic_unfreeze_static_delegate) });
730 /// <summary>Returns the Eo class for the native methods of this class.</summary>
731 /// <returns>The native class pointer.</returns>
732 public override IntPtr GetEflClass()
734 return Efl.Ui.Focus.IManagerSubConcrete.efl_ui_focus_manager_sub_mixin_get();
737 #pragma warning disable CA1707, CS1591, SA1300, SA1600
739 [return:MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))]
740 private delegate Efl.Ui.Focus.IObject efl_ui_focus_manager_focus_get_delegate(System.IntPtr obj, System.IntPtr pd);
742 [return:MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))]
743 public delegate Efl.Ui.Focus.IObject efl_ui_focus_manager_focus_get_api_delegate(System.IntPtr obj);
745 public static Efl.Eo.FunctionWrapper<efl_ui_focus_manager_focus_get_api_delegate> efl_ui_focus_manager_focus_get_ptr = new Efl.Eo.FunctionWrapper<efl_ui_focus_manager_focus_get_api_delegate>(Module, "efl_ui_focus_manager_focus_get");
747 private static Efl.Ui.Focus.IObject manager_focus_get(System.IntPtr obj, System.IntPtr pd)
749 Eina.Log.Debug("function efl_ui_focus_manager_focus_get was called");
750 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
753 Efl.Ui.Focus.IObject _ret_var = default(Efl.Ui.Focus.IObject);
756 _ret_var = ((IManagerSubConcrete)ws.Target).GetManagerFocus();
760 Eina.Log.Warning($"Callback error: {e.ToString()}");
761 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
769 return efl_ui_focus_manager_focus_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
773 private static efl_ui_focus_manager_focus_get_delegate efl_ui_focus_manager_focus_get_static_delegate;
776 private delegate void efl_ui_focus_manager_focus_set_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] Efl.Ui.Focus.IObject focus);
779 public delegate void efl_ui_focus_manager_focus_set_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] Efl.Ui.Focus.IObject focus);
781 public static Efl.Eo.FunctionWrapper<efl_ui_focus_manager_focus_set_api_delegate> efl_ui_focus_manager_focus_set_ptr = new Efl.Eo.FunctionWrapper<efl_ui_focus_manager_focus_set_api_delegate>(Module, "efl_ui_focus_manager_focus_set");
783 private static void manager_focus_set(System.IntPtr obj, System.IntPtr pd, Efl.Ui.Focus.IObject focus)
785 Eina.Log.Debug("function efl_ui_focus_manager_focus_set was called");
786 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
792 ((IManagerSubConcrete)ws.Target).SetManagerFocus(focus);
796 Eina.Log.Warning($"Callback error: {e.ToString()}");
797 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
804 efl_ui_focus_manager_focus_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), focus);
808 private static efl_ui_focus_manager_focus_set_delegate efl_ui_focus_manager_focus_set_static_delegate;
810 [return:MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))]
811 private delegate Efl.Ui.Focus.IManager efl_ui_focus_manager_redirect_get_delegate(System.IntPtr obj, System.IntPtr pd);
813 [return:MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))]
814 public delegate Efl.Ui.Focus.IManager efl_ui_focus_manager_redirect_get_api_delegate(System.IntPtr obj);
816 public static Efl.Eo.FunctionWrapper<efl_ui_focus_manager_redirect_get_api_delegate> efl_ui_focus_manager_redirect_get_ptr = new Efl.Eo.FunctionWrapper<efl_ui_focus_manager_redirect_get_api_delegate>(Module, "efl_ui_focus_manager_redirect_get");
818 private static Efl.Ui.Focus.IManager redirect_get(System.IntPtr obj, System.IntPtr pd)
820 Eina.Log.Debug("function efl_ui_focus_manager_redirect_get was called");
821 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
824 Efl.Ui.Focus.IManager _ret_var = default(Efl.Ui.Focus.IManager);
827 _ret_var = ((IManagerSubConcrete)ws.Target).GetRedirect();
831 Eina.Log.Warning($"Callback error: {e.ToString()}");
832 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
840 return efl_ui_focus_manager_redirect_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
844 private static efl_ui_focus_manager_redirect_get_delegate efl_ui_focus_manager_redirect_get_static_delegate;
847 private delegate void efl_ui_focus_manager_redirect_set_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] Efl.Ui.Focus.IManager redirect);
850 public delegate void efl_ui_focus_manager_redirect_set_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] Efl.Ui.Focus.IManager redirect);
852 public static Efl.Eo.FunctionWrapper<efl_ui_focus_manager_redirect_set_api_delegate> efl_ui_focus_manager_redirect_set_ptr = new Efl.Eo.FunctionWrapper<efl_ui_focus_manager_redirect_set_api_delegate>(Module, "efl_ui_focus_manager_redirect_set");
854 private static void redirect_set(System.IntPtr obj, System.IntPtr pd, Efl.Ui.Focus.IManager redirect)
856 Eina.Log.Debug("function efl_ui_focus_manager_redirect_set was called");
857 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
863 ((IManagerSubConcrete)ws.Target).SetRedirect(redirect);
867 Eina.Log.Warning($"Callback error: {e.ToString()}");
868 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
875 efl_ui_focus_manager_redirect_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), redirect);
879 private static efl_ui_focus_manager_redirect_set_delegate efl_ui_focus_manager_redirect_set_static_delegate;
882 private delegate System.IntPtr efl_ui_focus_manager_border_elements_get_delegate(System.IntPtr obj, System.IntPtr pd);
885 public delegate System.IntPtr efl_ui_focus_manager_border_elements_get_api_delegate(System.IntPtr obj);
887 public static Efl.Eo.FunctionWrapper<efl_ui_focus_manager_border_elements_get_api_delegate> efl_ui_focus_manager_border_elements_get_ptr = new Efl.Eo.FunctionWrapper<efl_ui_focus_manager_border_elements_get_api_delegate>(Module, "efl_ui_focus_manager_border_elements_get");
889 private static System.IntPtr border_elements_get(System.IntPtr obj, System.IntPtr pd)
891 Eina.Log.Debug("function efl_ui_focus_manager_border_elements_get was called");
892 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
895 Eina.Iterator<Efl.Ui.Focus.IObject> _ret_var = default(Eina.Iterator<Efl.Ui.Focus.IObject>);
898 _ret_var = ((IManagerSubConcrete)ws.Target).GetBorderElements();
902 Eina.Log.Warning($"Callback error: {e.ToString()}");
903 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
906 return _ret_var.Handle;
911 return efl_ui_focus_manager_border_elements_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
915 private static efl_ui_focus_manager_border_elements_get_delegate efl_ui_focus_manager_border_elements_get_static_delegate;
918 private delegate System.IntPtr efl_ui_focus_manager_viewport_elements_get_delegate(System.IntPtr obj, System.IntPtr pd, Eina.Rect.NativeStruct viewport);
921 public delegate System.IntPtr efl_ui_focus_manager_viewport_elements_get_api_delegate(System.IntPtr obj, Eina.Rect.NativeStruct viewport);
923 public static Efl.Eo.FunctionWrapper<efl_ui_focus_manager_viewport_elements_get_api_delegate> efl_ui_focus_manager_viewport_elements_get_ptr = new Efl.Eo.FunctionWrapper<efl_ui_focus_manager_viewport_elements_get_api_delegate>(Module, "efl_ui_focus_manager_viewport_elements_get");
925 private static System.IntPtr viewport_elements_get(System.IntPtr obj, System.IntPtr pd, Eina.Rect.NativeStruct viewport)
927 Eina.Log.Debug("function efl_ui_focus_manager_viewport_elements_get was called");
928 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
931 Eina.Rect _in_viewport = viewport;
932 Eina.Iterator<Efl.Ui.Focus.IObject> _ret_var = default(Eina.Iterator<Efl.Ui.Focus.IObject>);
935 _ret_var = ((IManagerSubConcrete)ws.Target).GetViewportElements(_in_viewport);
939 Eina.Log.Warning($"Callback error: {e.ToString()}");
940 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
943 return _ret_var.Handle;
948 return efl_ui_focus_manager_viewport_elements_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), viewport);
952 private static efl_ui_focus_manager_viewport_elements_get_delegate efl_ui_focus_manager_viewport_elements_get_static_delegate;
954 [return:MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))]
955 private delegate Efl.Ui.Focus.IObject efl_ui_focus_manager_root_get_delegate(System.IntPtr obj, System.IntPtr pd);
957 [return:MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))]
958 public delegate Efl.Ui.Focus.IObject efl_ui_focus_manager_root_get_api_delegate(System.IntPtr obj);
960 public static Efl.Eo.FunctionWrapper<efl_ui_focus_manager_root_get_api_delegate> efl_ui_focus_manager_root_get_ptr = new Efl.Eo.FunctionWrapper<efl_ui_focus_manager_root_get_api_delegate>(Module, "efl_ui_focus_manager_root_get");
962 private static Efl.Ui.Focus.IObject root_get(System.IntPtr obj, System.IntPtr pd)
964 Eina.Log.Debug("function efl_ui_focus_manager_root_get was called");
965 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
968 Efl.Ui.Focus.IObject _ret_var = default(Efl.Ui.Focus.IObject);
971 _ret_var = ((IManagerSubConcrete)ws.Target).GetRoot();
975 Eina.Log.Warning($"Callback error: {e.ToString()}");
976 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
984 return efl_ui_focus_manager_root_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
988 private static efl_ui_focus_manager_root_get_delegate efl_ui_focus_manager_root_get_static_delegate;
990 [return: MarshalAs(UnmanagedType.U1)]
991 private delegate bool efl_ui_focus_manager_root_set_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] Efl.Ui.Focus.IObject root);
993 [return: MarshalAs(UnmanagedType.U1)]
994 public delegate bool efl_ui_focus_manager_root_set_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] Efl.Ui.Focus.IObject root);
996 public static Efl.Eo.FunctionWrapper<efl_ui_focus_manager_root_set_api_delegate> efl_ui_focus_manager_root_set_ptr = new Efl.Eo.FunctionWrapper<efl_ui_focus_manager_root_set_api_delegate>(Module, "efl_ui_focus_manager_root_set");
998 private static bool root_set(System.IntPtr obj, System.IntPtr pd, Efl.Ui.Focus.IObject root)
1000 Eina.Log.Debug("function efl_ui_focus_manager_root_set was called");
1001 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
1004 bool _ret_var = default(bool);
1007 _ret_var = ((IManagerSubConcrete)ws.Target).SetRoot(root);
1011 Eina.Log.Warning($"Callback error: {e.ToString()}");
1012 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
1020 return efl_ui_focus_manager_root_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), root);
1024 private static efl_ui_focus_manager_root_set_delegate efl_ui_focus_manager_root_set_static_delegate;
1026 [return:MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))]
1027 private delegate Efl.Ui.Focus.IObject efl_ui_focus_manager_move_delegate(System.IntPtr obj, System.IntPtr pd, Efl.Ui.Focus.Direction direction);
1029 [return:MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))]
1030 public delegate Efl.Ui.Focus.IObject efl_ui_focus_manager_move_api_delegate(System.IntPtr obj, Efl.Ui.Focus.Direction direction);
1032 public static Efl.Eo.FunctionWrapper<efl_ui_focus_manager_move_api_delegate> efl_ui_focus_manager_move_ptr = new Efl.Eo.FunctionWrapper<efl_ui_focus_manager_move_api_delegate>(Module, "efl_ui_focus_manager_move");
1034 private static Efl.Ui.Focus.IObject move(System.IntPtr obj, System.IntPtr pd, Efl.Ui.Focus.Direction direction)
1036 Eina.Log.Debug("function efl_ui_focus_manager_move was called");
1037 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
1040 Efl.Ui.Focus.IObject _ret_var = default(Efl.Ui.Focus.IObject);
1043 _ret_var = ((IManagerSubConcrete)ws.Target).Move(direction);
1047 Eina.Log.Warning($"Callback error: {e.ToString()}");
1048 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
1056 return efl_ui_focus_manager_move_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), direction);
1060 private static efl_ui_focus_manager_move_delegate efl_ui_focus_manager_move_static_delegate;
1062 [return:MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))]
1063 private delegate Efl.Ui.Focus.IObject efl_ui_focus_manager_request_move_delegate(System.IntPtr obj, System.IntPtr pd, Efl.Ui.Focus.Direction direction, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] Efl.Ui.Focus.IObject child, [MarshalAs(UnmanagedType.U1)] bool logical);
1065 [return:MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))]
1066 public delegate Efl.Ui.Focus.IObject efl_ui_focus_manager_request_move_api_delegate(System.IntPtr obj, Efl.Ui.Focus.Direction direction, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] Efl.Ui.Focus.IObject child, [MarshalAs(UnmanagedType.U1)] bool logical);
1068 public static Efl.Eo.FunctionWrapper<efl_ui_focus_manager_request_move_api_delegate> efl_ui_focus_manager_request_move_ptr = new Efl.Eo.FunctionWrapper<efl_ui_focus_manager_request_move_api_delegate>(Module, "efl_ui_focus_manager_request_move");
1070 private static Efl.Ui.Focus.IObject request_move(System.IntPtr obj, System.IntPtr pd, Efl.Ui.Focus.Direction direction, Efl.Ui.Focus.IObject child, bool logical)
1072 Eina.Log.Debug("function efl_ui_focus_manager_request_move was called");
1073 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
1076 Efl.Ui.Focus.IObject _ret_var = default(Efl.Ui.Focus.IObject);
1079 _ret_var = ((IManagerSubConcrete)ws.Target).MoveRequest(direction, child, logical);
1083 Eina.Log.Warning($"Callback error: {e.ToString()}");
1084 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
1092 return efl_ui_focus_manager_request_move_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), direction, child, logical);
1096 private static efl_ui_focus_manager_request_move_delegate efl_ui_focus_manager_request_move_static_delegate;
1098 [return:MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))]
1099 private delegate Efl.Ui.Focus.IObject efl_ui_focus_manager_request_subchild_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] Efl.Ui.Focus.IObject root);
1101 [return:MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))]
1102 public delegate Efl.Ui.Focus.IObject efl_ui_focus_manager_request_subchild_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] Efl.Ui.Focus.IObject root);
1104 public static Efl.Eo.FunctionWrapper<efl_ui_focus_manager_request_subchild_api_delegate> efl_ui_focus_manager_request_subchild_ptr = new Efl.Eo.FunctionWrapper<efl_ui_focus_manager_request_subchild_api_delegate>(Module, "efl_ui_focus_manager_request_subchild");
1106 private static Efl.Ui.Focus.IObject request_subchild(System.IntPtr obj, System.IntPtr pd, Efl.Ui.Focus.IObject root)
1108 Eina.Log.Debug("function efl_ui_focus_manager_request_subchild was called");
1109 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
1112 Efl.Ui.Focus.IObject _ret_var = default(Efl.Ui.Focus.IObject);
1115 _ret_var = ((IManagerSubConcrete)ws.Target).RequestSubchild(root);
1119 Eina.Log.Warning($"Callback error: {e.ToString()}");
1120 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
1128 return efl_ui_focus_manager_request_subchild_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), root);
1132 private static efl_ui_focus_manager_request_subchild_delegate efl_ui_focus_manager_request_subchild_static_delegate;
1135 private delegate System.IntPtr efl_ui_focus_manager_fetch_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] Efl.Ui.Focus.IObject child);
1138 public delegate System.IntPtr efl_ui_focus_manager_fetch_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] Efl.Ui.Focus.IObject child);
1140 public static Efl.Eo.FunctionWrapper<efl_ui_focus_manager_fetch_api_delegate> efl_ui_focus_manager_fetch_ptr = new Efl.Eo.FunctionWrapper<efl_ui_focus_manager_fetch_api_delegate>(Module, "efl_ui_focus_manager_fetch");
1142 private static System.IntPtr fetch(System.IntPtr obj, System.IntPtr pd, Efl.Ui.Focus.IObject child)
1144 Eina.Log.Debug("function efl_ui_focus_manager_fetch was called");
1145 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
1148 Efl.Ui.Focus.Relations _ret_var = default(Efl.Ui.Focus.Relations);
1151 _ret_var = ((IManagerSubConcrete)ws.Target).Fetch(child);
1155 Eina.Log.Warning($"Callback error: {e.ToString()}");
1156 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
1159 return Eina.PrimitiveConversion.ManagedToPointerAlloc(_ret_var);
1164 return efl_ui_focus_manager_fetch_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), child);
1168 private static efl_ui_focus_manager_fetch_delegate efl_ui_focus_manager_fetch_static_delegate;
1171 private delegate Efl.Ui.Focus.ManagerLogicalEndDetail.NativeStruct efl_ui_focus_manager_logical_end_delegate(System.IntPtr obj, System.IntPtr pd);
1174 public delegate Efl.Ui.Focus.ManagerLogicalEndDetail.NativeStruct efl_ui_focus_manager_logical_end_api_delegate(System.IntPtr obj);
1176 public static Efl.Eo.FunctionWrapper<efl_ui_focus_manager_logical_end_api_delegate> efl_ui_focus_manager_logical_end_ptr = new Efl.Eo.FunctionWrapper<efl_ui_focus_manager_logical_end_api_delegate>(Module, "efl_ui_focus_manager_logical_end");
1178 private static Efl.Ui.Focus.ManagerLogicalEndDetail.NativeStruct logical_end(System.IntPtr obj, System.IntPtr pd)
1180 Eina.Log.Debug("function efl_ui_focus_manager_logical_end was called");
1181 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
1184 Efl.Ui.Focus.ManagerLogicalEndDetail _ret_var = default(Efl.Ui.Focus.ManagerLogicalEndDetail);
1187 _ret_var = ((IManagerSubConcrete)ws.Target).LogicalEnd();
1191 Eina.Log.Warning($"Callback error: {e.ToString()}");
1192 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
1200 return efl_ui_focus_manager_logical_end_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
1204 private static efl_ui_focus_manager_logical_end_delegate efl_ui_focus_manager_logical_end_static_delegate;
1207 private delegate void efl_ui_focus_manager_reset_history_delegate(System.IntPtr obj, System.IntPtr pd);
1210 public delegate void efl_ui_focus_manager_reset_history_api_delegate(System.IntPtr obj);
1212 public static Efl.Eo.FunctionWrapper<efl_ui_focus_manager_reset_history_api_delegate> efl_ui_focus_manager_reset_history_ptr = new Efl.Eo.FunctionWrapper<efl_ui_focus_manager_reset_history_api_delegate>(Module, "efl_ui_focus_manager_reset_history");
1214 private static void reset_history(System.IntPtr obj, System.IntPtr pd)
1216 Eina.Log.Debug("function efl_ui_focus_manager_reset_history was called");
1217 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
1223 ((IManagerSubConcrete)ws.Target).ResetHistory();
1227 Eina.Log.Warning($"Callback error: {e.ToString()}");
1228 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
1235 efl_ui_focus_manager_reset_history_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
1239 private static efl_ui_focus_manager_reset_history_delegate efl_ui_focus_manager_reset_history_static_delegate;
1242 private delegate void efl_ui_focus_manager_pop_history_stack_delegate(System.IntPtr obj, System.IntPtr pd);
1245 public delegate void efl_ui_focus_manager_pop_history_stack_api_delegate(System.IntPtr obj);
1247 public static Efl.Eo.FunctionWrapper<efl_ui_focus_manager_pop_history_stack_api_delegate> efl_ui_focus_manager_pop_history_stack_ptr = new Efl.Eo.FunctionWrapper<efl_ui_focus_manager_pop_history_stack_api_delegate>(Module, "efl_ui_focus_manager_pop_history_stack");
1249 private static void pop_history_stack(System.IntPtr obj, System.IntPtr pd)
1251 Eina.Log.Debug("function efl_ui_focus_manager_pop_history_stack was called");
1252 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
1258 ((IManagerSubConcrete)ws.Target).PopHistoryStack();
1262 Eina.Log.Warning($"Callback error: {e.ToString()}");
1263 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
1270 efl_ui_focus_manager_pop_history_stack_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
1274 private static efl_ui_focus_manager_pop_history_stack_delegate efl_ui_focus_manager_pop_history_stack_static_delegate;
1277 private delegate void efl_ui_focus_manager_setup_on_first_touch_delegate(System.IntPtr obj, System.IntPtr pd, Efl.Ui.Focus.Direction direction, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] Efl.Ui.Focus.IObject entry);
1280 public delegate void efl_ui_focus_manager_setup_on_first_touch_api_delegate(System.IntPtr obj, Efl.Ui.Focus.Direction direction, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] Efl.Ui.Focus.IObject entry);
1282 public static Efl.Eo.FunctionWrapper<efl_ui_focus_manager_setup_on_first_touch_api_delegate> efl_ui_focus_manager_setup_on_first_touch_ptr = new Efl.Eo.FunctionWrapper<efl_ui_focus_manager_setup_on_first_touch_api_delegate>(Module, "efl_ui_focus_manager_setup_on_first_touch");
1284 private static void setup_on_first_touch(System.IntPtr obj, System.IntPtr pd, Efl.Ui.Focus.Direction direction, Efl.Ui.Focus.IObject entry)
1286 Eina.Log.Debug("function efl_ui_focus_manager_setup_on_first_touch was called");
1287 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
1293 ((IManagerSubConcrete)ws.Target).SetupOnFirstTouch(direction, entry);
1297 Eina.Log.Warning($"Callback error: {e.ToString()}");
1298 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
1305 efl_ui_focus_manager_setup_on_first_touch_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), direction, entry);
1309 private static efl_ui_focus_manager_setup_on_first_touch_delegate efl_ui_focus_manager_setup_on_first_touch_static_delegate;
1312 private delegate void efl_ui_focus_manager_dirty_logic_freeze_delegate(System.IntPtr obj, System.IntPtr pd);
1315 public delegate void efl_ui_focus_manager_dirty_logic_freeze_api_delegate(System.IntPtr obj);
1317 public static Efl.Eo.FunctionWrapper<efl_ui_focus_manager_dirty_logic_freeze_api_delegate> efl_ui_focus_manager_dirty_logic_freeze_ptr = new Efl.Eo.FunctionWrapper<efl_ui_focus_manager_dirty_logic_freeze_api_delegate>(Module, "efl_ui_focus_manager_dirty_logic_freeze");
1319 private static void dirty_logic_freeze(System.IntPtr obj, System.IntPtr pd)
1321 Eina.Log.Debug("function efl_ui_focus_manager_dirty_logic_freeze was called");
1322 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
1328 ((IManagerSubConcrete)ws.Target).FreezeDirtyLogic();
1332 Eina.Log.Warning($"Callback error: {e.ToString()}");
1333 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
1340 efl_ui_focus_manager_dirty_logic_freeze_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
1344 private static efl_ui_focus_manager_dirty_logic_freeze_delegate efl_ui_focus_manager_dirty_logic_freeze_static_delegate;
1347 private delegate void efl_ui_focus_manager_dirty_logic_unfreeze_delegate(System.IntPtr obj, System.IntPtr pd);
1350 public delegate void efl_ui_focus_manager_dirty_logic_unfreeze_api_delegate(System.IntPtr obj);
1352 public static Efl.Eo.FunctionWrapper<efl_ui_focus_manager_dirty_logic_unfreeze_api_delegate> efl_ui_focus_manager_dirty_logic_unfreeze_ptr = new Efl.Eo.FunctionWrapper<efl_ui_focus_manager_dirty_logic_unfreeze_api_delegate>(Module, "efl_ui_focus_manager_dirty_logic_unfreeze");
1354 private static void dirty_logic_unfreeze(System.IntPtr obj, System.IntPtr pd)
1356 Eina.Log.Debug("function efl_ui_focus_manager_dirty_logic_unfreeze was called");
1357 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
1363 ((IManagerSubConcrete)ws.Target).DirtyLogicUnfreeze();
1367 Eina.Log.Warning($"Callback error: {e.ToString()}");
1368 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
1375 efl_ui_focus_manager_dirty_logic_unfreeze_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
1379 private static efl_ui_focus_manager_dirty_logic_unfreeze_delegate efl_ui_focus_manager_dirty_logic_unfreeze_static_delegate;
1381 #pragma warning restore CA1707, CS1591, SA1300, SA1600