1 #pragma warning disable CS1591
3 using System.Runtime.InteropServices;
4 using System.Collections.Generic;
6 using System.ComponentModel;
7 namespace Efl { namespace Ui { namespace Focus {
8 /// <summary>Calculates the directions of Efl.Ui.Focus.Direction
9 /// Each registered item will get an other registered object in each direction. You can get items for the currently focused item if you call request move.</summary>
10 [ManagerCalcNativeInherit]
11 public class ManagerCalc : Efl.Object, Efl.Eo.IWrapper,Efl.Ui.Focus.IManager
13 ///<summary>Pointer to the native class description.</summary>
14 public override System.IntPtr NativeClass {
16 if (((object)this).GetType() == typeof (ManagerCalc))
17 return Efl.Ui.Focus.ManagerCalcNativeInherit.GetEflClassStatic();
19 return Efl.Eo.ClassRegister.klassFromType[((object)this).GetType()];
22 [System.Runtime.InteropServices.DllImport(efl.Libs.Elementary)] internal static extern System.IntPtr
23 efl_ui_focus_manager_calc_class_get();
24 ///<summary>Creates a new instance.</summary>
25 ///<param name="parent">Parent instance.</param>
26 public ManagerCalc(Efl.Object parent= null
28 base(efl_ui_focus_manager_calc_class_get(), typeof(ManagerCalc), parent)
30 FinishInstantiation();
32 ///<summary>Internal usage: Constructs an instance from a native pointer. This is used when interacting with C code and should not be used directly.</summary>
33 protected ManagerCalc(System.IntPtr raw) : base(raw)
35 RegisterEventProxies();
37 ///<summary>Internal usage: Constructor to forward the wrapper initialization to the root class that interfaces with native code. Should not be used directly.</summary>
38 protected ManagerCalc(IntPtr base_klass, System.Type managed_type, Efl.Object parent) : base(base_klass, managed_type, parent) {}
39 ///<summary>Verifies if the given object is equal to this one.</summary>
40 public override bool Equals(object obj)
42 var other = obj as Efl.Object;
45 return this.NativeHandle == other.NativeHandle;
47 ///<summary>Gets the hash code for this object based on the native pointer it points to.</summary>
48 public override int GetHashCode()
50 return this.NativeHandle.ToInt32();
52 ///<summary>Turns the native pointer into a string representation.</summary>
53 public override String ToString()
55 return $"{this.GetType().Name}@[{this.NativeHandle.ToInt32():x}]";
57 private static object RedirectChangedEvtKey = new object();
58 /// <summary>Redirect object has changed, the old manager is passed as an event argument.
59 /// (Since EFL 1.22)</summary>
60 public event EventHandler<Efl.Ui.Focus.IManagerRedirectChangedEvt_Args> RedirectChangedEvt
64 string key = "_EFL_UI_FOCUS_MANAGER_EVENT_REDIRECT_CHANGED";
65 if (AddNativeEventHandler(efl.Libs.Elementary, key, this.evt_RedirectChangedEvt_delegate)) {
66 eventHandlers.AddHandler(RedirectChangedEvtKey , value);
68 Eina.Log.Error($"Error adding proxy for event {key}");
73 string key = "_EFL_UI_FOCUS_MANAGER_EVENT_REDIRECT_CHANGED";
74 if (RemoveNativeEventHandler(key, this.evt_RedirectChangedEvt_delegate)) {
75 eventHandlers.RemoveHandler(RedirectChangedEvtKey , value);
77 Eina.Log.Error($"Error removing proxy for event {key}");
81 ///<summary>Method to raise event RedirectChangedEvt.</summary>
82 public void On_RedirectChangedEvt(Efl.Ui.Focus.IManagerRedirectChangedEvt_Args e)
84 EventHandler<Efl.Ui.Focus.IManagerRedirectChangedEvt_Args> evt;
86 evt = (EventHandler<Efl.Ui.Focus.IManagerRedirectChangedEvt_Args>)eventHandlers[RedirectChangedEvtKey];
90 Efl.EventCb evt_RedirectChangedEvt_delegate;
91 private void on_RedirectChangedEvt_NativeCallback(System.IntPtr data, ref Efl.Event.NativeStruct evt)
93 Efl.Ui.Focus.IManagerRedirectChangedEvt_Args args = new Efl.Ui.Focus.IManagerRedirectChangedEvt_Args();
94 args.arg = (Efl.Eo.Globals.CreateWrapperFor(evt.Info) as Efl.Ui.Focus.IManagerConcrete);
96 On_RedirectChangedEvt(args);
97 } catch (Exception e) {
98 Eina.Log.Error(e.ToString());
99 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
103 private static object FlushPreEvtKey = new object();
104 /// <summary>After this event, the manager object will calculate relations in the graph. Can be used to add / remove children in a lazy fashion.
105 /// (Since EFL 1.22)</summary>
106 public event EventHandler FlushPreEvt
110 string key = "_EFL_UI_FOCUS_MANAGER_EVENT_FLUSH_PRE";
111 if (AddNativeEventHandler(efl.Libs.Elementary, key, this.evt_FlushPreEvt_delegate)) {
112 eventHandlers.AddHandler(FlushPreEvtKey , value);
114 Eina.Log.Error($"Error adding proxy for event {key}");
119 string key = "_EFL_UI_FOCUS_MANAGER_EVENT_FLUSH_PRE";
120 if (RemoveNativeEventHandler(key, this.evt_FlushPreEvt_delegate)) {
121 eventHandlers.RemoveHandler(FlushPreEvtKey , value);
123 Eina.Log.Error($"Error removing proxy for event {key}");
127 ///<summary>Method to raise event FlushPreEvt.</summary>
128 public void On_FlushPreEvt(EventArgs e)
132 evt = (EventHandler)eventHandlers[FlushPreEvtKey];
134 evt?.Invoke(this, e);
136 Efl.EventCb evt_FlushPreEvt_delegate;
137 private void on_FlushPreEvt_NativeCallback(System.IntPtr data, ref Efl.Event.NativeStruct evt)
139 EventArgs args = EventArgs.Empty;
141 On_FlushPreEvt(args);
142 } catch (Exception e) {
143 Eina.Log.Error(e.ToString());
144 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
148 private static object CoordsDirtyEvtKey = new object();
149 /// <summary>Cached relationship calculation results have been invalidated.
150 /// (Since EFL 1.22)</summary>
151 public event EventHandler CoordsDirtyEvt
155 string key = "_EFL_UI_FOCUS_MANAGER_EVENT_COORDS_DIRTY";
156 if (AddNativeEventHandler(efl.Libs.Elementary, key, this.evt_CoordsDirtyEvt_delegate)) {
157 eventHandlers.AddHandler(CoordsDirtyEvtKey , value);
159 Eina.Log.Error($"Error adding proxy for event {key}");
164 string key = "_EFL_UI_FOCUS_MANAGER_EVENT_COORDS_DIRTY";
165 if (RemoveNativeEventHandler(key, this.evt_CoordsDirtyEvt_delegate)) {
166 eventHandlers.RemoveHandler(CoordsDirtyEvtKey , value);
168 Eina.Log.Error($"Error removing proxy for event {key}");
172 ///<summary>Method to raise event CoordsDirtyEvt.</summary>
173 public void On_CoordsDirtyEvt(EventArgs e)
177 evt = (EventHandler)eventHandlers[CoordsDirtyEvtKey];
179 evt?.Invoke(this, e);
181 Efl.EventCb evt_CoordsDirtyEvt_delegate;
182 private void on_CoordsDirtyEvt_NativeCallback(System.IntPtr data, ref Efl.Event.NativeStruct evt)
184 EventArgs args = EventArgs.Empty;
186 On_CoordsDirtyEvt(args);
187 } catch (Exception e) {
188 Eina.Log.Error(e.ToString());
189 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
193 private static object ManagerFocusChangedEvtKey = new object();
194 /// <summary>The manager_focus property has changed. The previously focused object is passed as an event argument.
195 /// (Since EFL 1.22)</summary>
196 public event EventHandler<Efl.Ui.Focus.IManagerManagerFocusChangedEvt_Args> ManagerFocusChangedEvt
200 string key = "_EFL_UI_FOCUS_MANAGER_EVENT_MANAGER_FOCUS_CHANGED";
201 if (AddNativeEventHandler(efl.Libs.Elementary, key, this.evt_ManagerFocusChangedEvt_delegate)) {
202 eventHandlers.AddHandler(ManagerFocusChangedEvtKey , value);
204 Eina.Log.Error($"Error adding proxy for event {key}");
209 string key = "_EFL_UI_FOCUS_MANAGER_EVENT_MANAGER_FOCUS_CHANGED";
210 if (RemoveNativeEventHandler(key, this.evt_ManagerFocusChangedEvt_delegate)) {
211 eventHandlers.RemoveHandler(ManagerFocusChangedEvtKey , value);
213 Eina.Log.Error($"Error removing proxy for event {key}");
217 ///<summary>Method to raise event ManagerFocusChangedEvt.</summary>
218 public void On_ManagerFocusChangedEvt(Efl.Ui.Focus.IManagerManagerFocusChangedEvt_Args e)
220 EventHandler<Efl.Ui.Focus.IManagerManagerFocusChangedEvt_Args> evt;
222 evt = (EventHandler<Efl.Ui.Focus.IManagerManagerFocusChangedEvt_Args>)eventHandlers[ManagerFocusChangedEvtKey];
224 evt?.Invoke(this, e);
226 Efl.EventCb evt_ManagerFocusChangedEvt_delegate;
227 private void on_ManagerFocusChangedEvt_NativeCallback(System.IntPtr data, ref Efl.Event.NativeStruct evt)
229 Efl.Ui.Focus.IManagerManagerFocusChangedEvt_Args args = new Efl.Ui.Focus.IManagerManagerFocusChangedEvt_Args();
230 args.arg = (Efl.Eo.Globals.CreateWrapperFor(evt.Info) as Efl.Ui.Focus.IObjectConcrete);
232 On_ManagerFocusChangedEvt(args);
233 } catch (Exception e) {
234 Eina.Log.Error(e.ToString());
235 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
239 private static object DirtyLogicFreezeChangedEvtKey = new object();
240 /// <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.
241 /// (Since EFL 1.22)</summary>
242 public event EventHandler<Efl.Ui.Focus.IManagerDirtyLogicFreezeChangedEvt_Args> DirtyLogicFreezeChangedEvt
246 string key = "_EFL_UI_FOCUS_MANAGER_EVENT_DIRTY_LOGIC_FREEZE_CHANGED";
247 if (AddNativeEventHandler(efl.Libs.Elementary, key, this.evt_DirtyLogicFreezeChangedEvt_delegate)) {
248 eventHandlers.AddHandler(DirtyLogicFreezeChangedEvtKey , value);
250 Eina.Log.Error($"Error adding proxy for event {key}");
255 string key = "_EFL_UI_FOCUS_MANAGER_EVENT_DIRTY_LOGIC_FREEZE_CHANGED";
256 if (RemoveNativeEventHandler(key, this.evt_DirtyLogicFreezeChangedEvt_delegate)) {
257 eventHandlers.RemoveHandler(DirtyLogicFreezeChangedEvtKey , value);
259 Eina.Log.Error($"Error removing proxy for event {key}");
263 ///<summary>Method to raise event DirtyLogicFreezeChangedEvt.</summary>
264 public void On_DirtyLogicFreezeChangedEvt(Efl.Ui.Focus.IManagerDirtyLogicFreezeChangedEvt_Args e)
266 EventHandler<Efl.Ui.Focus.IManagerDirtyLogicFreezeChangedEvt_Args> evt;
268 evt = (EventHandler<Efl.Ui.Focus.IManagerDirtyLogicFreezeChangedEvt_Args>)eventHandlers[DirtyLogicFreezeChangedEvtKey];
270 evt?.Invoke(this, e);
272 Efl.EventCb evt_DirtyLogicFreezeChangedEvt_delegate;
273 private void on_DirtyLogicFreezeChangedEvt_NativeCallback(System.IntPtr data, ref Efl.Event.NativeStruct evt)
275 Efl.Ui.Focus.IManagerDirtyLogicFreezeChangedEvt_Args args = new Efl.Ui.Focus.IManagerDirtyLogicFreezeChangedEvt_Args();
276 args.arg = evt.Info != IntPtr.Zero;
278 On_DirtyLogicFreezeChangedEvt(args);
279 } catch (Exception e) {
280 Eina.Log.Error(e.ToString());
281 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
285 ///<summary>Register the Eo event wrappers making the bridge to C# events. Internal usage only.</summary>
286 protected override void RegisterEventProxies()
288 base.RegisterEventProxies();
289 evt_RedirectChangedEvt_delegate = new Efl.EventCb(on_RedirectChangedEvt_NativeCallback);
290 evt_FlushPreEvt_delegate = new Efl.EventCb(on_FlushPreEvt_NativeCallback);
291 evt_CoordsDirtyEvt_delegate = new Efl.EventCb(on_CoordsDirtyEvt_NativeCallback);
292 evt_ManagerFocusChangedEvt_delegate = new Efl.EventCb(on_ManagerFocusChangedEvt_NativeCallback);
293 evt_DirtyLogicFreezeChangedEvt_delegate = new Efl.EventCb(on_DirtyLogicFreezeChangedEvt_NativeCallback);
295 /// <summary>Register a new item in the graph.
296 /// <c>parent</c> can not be <c>null</c>, it will be used as the parent in the logical tree. <c>redirect</c> will be set as redirect property on that manager, once <c>child</c> gets focused.</summary>
297 /// <param name="child">The object to register</param>
298 /// <param name="parent">The parent to use in the logical tree</param>
299 /// <param name="redirect">The redirect manager to set once this child is focused can be NULL for no redirect</param>
300 /// <returns><c>true</c> if successful, <c>false</c> otherwise</returns>
301 virtual public bool Register( Efl.Ui.Focus.IObject child, Efl.Ui.Focus.IObject parent, Efl.Ui.Focus.IManager redirect) {
302 var _ret_var = Efl.Ui.Focus.ManagerCalcNativeInherit.efl_ui_focus_manager_calc_register_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle), child, parent, redirect);
303 Eina.Error.RaiseIfUnhandledException();
306 /// <summary>Register a new item only for the logical parent.
307 /// The item can never get focus, it just helps to build a tree out of the items that are.</summary>
308 /// <param name="child">The object to register</param>
309 /// <param name="parent">The parent to use in the logical tree</param>
310 /// <param name="redirect">The redirect manager to set once this child is focused can be <c>null</c> for no redirect</param>
311 /// <returns><c>true</c> if successful, <c>false</c> otherwise</returns>
312 virtual public bool RegisterLogical( Efl.Ui.Focus.IObject child, Efl.Ui.Focus.IObject parent, Efl.Ui.Focus.IManager redirect) {
313 var _ret_var = Efl.Ui.Focus.ManagerCalcNativeInherit.efl_ui_focus_manager_calc_register_logical_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle), child, parent, redirect);
314 Eina.Error.RaiseIfUnhandledException();
317 /// <summary>Set a new redirect object for the given child.
318 /// Once <c>child</c> is focused the redirect manager will be set in the redirect property. Set redirect to <c>null</c> if nothing should happen.</summary>
319 /// <param name="child">The child to update</param>
320 /// <param name="redirect">Once <c>child</c> is focused this element will be set as redirect</param>
321 /// <returns><c>true</c> if successful, <c>false</c> otherwise</returns>
322 virtual public bool UpdateRedirect( Efl.Ui.Focus.IObject child, Efl.Ui.Focus.IManager redirect) {
323 var _ret_var = Efl.Ui.Focus.ManagerCalcNativeInherit.efl_ui_focus_manager_calc_update_redirect_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle), child, redirect);
324 Eina.Error.RaiseIfUnhandledException();
327 /// <summary>Set a new logical parent for the given child.</summary>
328 /// <param name="child">The child to update</param>
329 /// <param name="parent">The parent which now will be the logical parent of child</param>
330 /// <returns><c>true</c> if successful, <c>false</c> otherwise</returns>
331 virtual public bool UpdateParent( Efl.Ui.Focus.IObject child, Efl.Ui.Focus.IObject parent) {
332 var _ret_var = Efl.Ui.Focus.ManagerCalcNativeInherit.efl_ui_focus_manager_calc_update_parent_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle), child, parent);
333 Eina.Error.RaiseIfUnhandledException();
336 /// <summary>Give the list of children a different order.</summary>
337 /// <param name="parent">the parent to update</param>
338 /// <param name="children">the list with the new order</param>
339 /// <returns><c>true</c> if successful, <c>false</c> otherwise</returns>
340 virtual public bool UpdateChildren( Efl.Ui.Focus.IObject parent, Eina.List<Efl.Ui.Focus.IObject> children) {
341 var _in_children = children.Handle;
342 children.Own = false;
343 var _ret_var = Efl.Ui.Focus.ManagerCalcNativeInherit.efl_ui_focus_manager_calc_update_children_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle), parent, _in_children);
344 Eina.Error.RaiseIfUnhandledException();
347 /// <summary>Give the given order to the parent's child.
348 /// Children from the list which are not true children are ignored.</summary>
349 /// <param name="parent">the parent to update</param>
350 /// <param name="children">the order of items</param>
351 /// <returns></returns>
352 virtual public void UpdateOrder( Efl.Ui.Focus.IObject parent, Eina.List<Efl.Ui.Focus.IObject> children) {
353 var _in_children = children.Handle;
354 children.Own = false;
355 Efl.Ui.Focus.ManagerCalcNativeInherit.efl_ui_focus_manager_calc_update_order_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle), parent, _in_children);
356 Eina.Error.RaiseIfUnhandledException();
358 /// <summary>Unregister the given item from the focus graph.</summary>
359 /// <param name="child">The child to unregister.</param>
360 /// <returns></returns>
361 virtual public void Unregister( Efl.Ui.Focus.IObject child) {
362 Efl.Ui.Focus.ManagerCalcNativeInherit.efl_ui_focus_manager_calc_unregister_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle), child);
363 Eina.Error.RaiseIfUnhandledException();
365 /// <summary>The element which is currently focused by this manager
366 /// 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.
367 /// (Since EFL 1.22)</summary>
368 /// <returns>Currently focused element.</returns>
369 virtual public Efl.Ui.Focus.IObject GetManagerFocus() {
370 var _ret_var = Efl.Ui.Focus.IManagerNativeInherit.efl_ui_focus_manager_focus_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
371 Eina.Error.RaiseIfUnhandledException();
374 /// <summary>The element which is currently focused by this manager
375 /// 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.
376 /// (Since EFL 1.22)</summary>
377 /// <param name="focus">Currently focused element.</param>
378 /// <returns></returns>
379 virtual public void SetManagerFocus( Efl.Ui.Focus.IObject focus) {
380 Efl.Ui.Focus.IManagerNativeInherit.efl_ui_focus_manager_focus_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle), focus);
381 Eina.Error.RaiseIfUnhandledException();
383 /// <summary>Add another manager to serve the move requests.
384 /// 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.
385 /// (Since EFL 1.22)</summary>
386 /// <returns>The redirect manager.</returns>
387 virtual public Efl.Ui.Focus.IManager GetRedirect() {
388 var _ret_var = Efl.Ui.Focus.IManagerNativeInherit.efl_ui_focus_manager_redirect_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
389 Eina.Error.RaiseIfUnhandledException();
392 /// <summary>Add another manager to serve the move requests.
393 /// 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.
394 /// (Since EFL 1.22)</summary>
395 /// <param name="redirect">The redirect manager.</param>
396 /// <returns></returns>
397 virtual public void SetRedirect( Efl.Ui.Focus.IManager redirect) {
398 Efl.Ui.Focus.IManagerNativeInherit.efl_ui_focus_manager_redirect_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle), redirect);
399 Eina.Error.RaiseIfUnhandledException();
401 /// <summary>The list of elements which are at the border of the graph.
402 /// 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"/>
403 /// (Since EFL 1.22)</summary>
404 /// <returns>An iterator over the border objects.</returns>
405 virtual public Eina.Iterator<Efl.Ui.Focus.IObject> GetBorderElements() {
406 var _ret_var = Efl.Ui.Focus.IManagerNativeInherit.efl_ui_focus_manager_border_elements_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
407 Eina.Error.RaiseIfUnhandledException();
408 return new Eina.Iterator<Efl.Ui.Focus.IObject>(_ret_var, false, false);
410 /// <summary>Get all elements that are at the border of the viewport
411 /// Every element returned by this is located inside the viewport rectangle, but has a right, left, down or up neighbor outside the viewport.
412 /// (Since EFL 1.22)</summary>
413 /// <param name="viewport">The rectangle defining the viewport.</param>
414 /// <returns>The list of border objects.</returns>
415 virtual public Eina.Iterator<Efl.Ui.Focus.IObject> GetViewportElements( Eina.Rect viewport) {
416 Eina.Rect.NativeStruct _in_viewport = viewport;
417 var _ret_var = Efl.Ui.Focus.IManagerNativeInherit.efl_ui_focus_manager_viewport_elements_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle), _in_viewport);
418 Eina.Error.RaiseIfUnhandledException();
419 return new Eina.Iterator<Efl.Ui.Focus.IObject>(_ret_var, false, false);
421 /// <summary>Root node for all logical subtrees.
422 /// This property can only be set once.
423 /// (Since EFL 1.22)</summary>
424 /// <returns>Will be registered into this manager object.</returns>
425 virtual public Efl.Ui.Focus.IObject GetRoot() {
426 var _ret_var = Efl.Ui.Focus.IManagerNativeInherit.efl_ui_focus_manager_root_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
427 Eina.Error.RaiseIfUnhandledException();
430 /// <summary>Root node for all logical subtrees.
431 /// This property can only be set once.
432 /// (Since EFL 1.22)</summary>
433 /// <param name="root">Will be registered into this manager object.</param>
434 /// <returns>If <c>true</c>, this is the root node</returns>
435 virtual public bool SetRoot( Efl.Ui.Focus.IObject root) {
436 var _ret_var = Efl.Ui.Focus.IManagerNativeInherit.efl_ui_focus_manager_root_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle), root);
437 Eina.Error.RaiseIfUnhandledException();
440 /// <summary>Move the focus in the given direction.
441 /// This call flushes all changes. This means all changes between the last flush and now are computed.
442 /// (Since EFL 1.22)</summary>
443 /// <param name="direction">The direction to move to.</param>
444 /// <returns>The element which is now focused.</returns>
445 virtual public Efl.Ui.Focus.IObject Move( Efl.Ui.Focus.Direction direction) {
446 var _ret_var = Efl.Ui.Focus.IManagerNativeInherit.efl_ui_focus_manager_move_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle), direction);
447 Eina.Error.RaiseIfUnhandledException();
450 /// <summary>Return the object in the <c>direction</c> from <c>child</c>.
451 /// (Since EFL 1.22)</summary>
452 /// <param name="direction">Direction to move focus.</param>
453 /// <param name="child">The child to move from. Pass <c>null</c> to indicate the currently focused child.</param>
454 /// <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>
455 /// <returns>Object that would receive focus if moved in the given direction.</returns>
456 virtual public Efl.Ui.Focus.IObject MoveRequest( Efl.Ui.Focus.Direction direction, Efl.Ui.Focus.IObject child, bool logical) {
457 var _ret_var = Efl.Ui.Focus.IManagerNativeInherit.efl_ui_focus_manager_request_move_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle), direction, child, logical);
458 Eina.Error.RaiseIfUnhandledException();
461 /// <summary>Return the widget in the direction next.
462 /// 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.
463 /// (Since EFL 1.22)</summary>
464 /// <param name="root">Parent for returned child.</param>
465 /// <returns>Child of passed parameter.</returns>
466 virtual public Efl.Ui.Focus.IObject RequestSubchild( Efl.Ui.Focus.IObject root) {
467 var _ret_var = Efl.Ui.Focus.IManagerNativeInherit.efl_ui_focus_manager_request_subchild_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle), root);
468 Eina.Error.RaiseIfUnhandledException();
471 /// <summary>This will fetch the data from a registered node.
472 /// Be aware this function will trigger a computation of all dirty nodes.
473 /// (Since EFL 1.22)</summary>
474 /// <param name="child">The child object to inspect.</param>
475 /// <returns>The list of relations starting from <c>child</c>.</returns>
476 virtual public Efl.Ui.Focus.Relations Fetch( Efl.Ui.Focus.IObject child) {
477 var _ret_var = Efl.Ui.Focus.IManagerNativeInherit.efl_ui_focus_manager_fetch_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle), child);
478 Eina.Error.RaiseIfUnhandledException();
479 var __ret_tmp = Eina.PrimitiveConversion.PointerToManaged<Efl.Ui.Focus.Relations>(_ret_var);
480 Marshal.FreeHGlobal(_ret_var);
483 /// <summary>Return the last logical object.
484 /// The returned object is the last object that would be returned if you start at the root and move the direction into next.
485 /// (Since EFL 1.22)</summary>
486 /// <returns>Last object.</returns>
487 virtual public Efl.Ui.Focus.ManagerLogicalEndDetail LogicalEnd() {
488 var _ret_var = Efl.Ui.Focus.IManagerNativeInherit.efl_ui_focus_manager_logical_end_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
489 Eina.Error.RaiseIfUnhandledException();
492 /// <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.
493 /// You should focus another element immediately after calling this, in order to always have a focused object.
494 /// (Since EFL 1.22)</summary>
495 /// <returns></returns>
496 virtual public void ResetHistory() {
497 Efl.Ui.Focus.IManagerNativeInherit.efl_ui_focus_manager_reset_history_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
498 Eina.Error.RaiseIfUnhandledException();
500 /// <summary>Remove the uppermost history element, and focus the previous one.
501 /// 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.
502 /// (Since EFL 1.22)</summary>
503 /// <returns></returns>
504 virtual public void PopHistoryStack() {
505 Efl.Ui.Focus.IManagerNativeInherit.efl_ui_focus_manager_pop_history_stack_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
506 Eina.Error.RaiseIfUnhandledException();
508 /// <summary>Called when this manager is set as redirect.
509 /// 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.
510 /// (Since EFL 1.22)</summary>
511 /// <param name="direction">The direction in which this should be setup.</param>
512 /// <param name="entry">The object that caused this manager to be redirect.</param>
513 /// <returns></returns>
514 virtual public void SetupOnFirstTouch( Efl.Ui.Focus.Direction direction, Efl.Ui.Focus.IObject entry) {
515 Efl.Ui.Focus.IManagerNativeInherit.efl_ui_focus_manager_setup_on_first_touch_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle), direction, entry);
516 Eina.Error.RaiseIfUnhandledException();
518 /// <summary>This disables the cache invalidation when an object is moved.
519 /// 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.
520 /// (Since EFL 1.22)</summary>
521 /// <returns></returns>
522 virtual public void FreezeDirtyLogic() {
523 Efl.Ui.Focus.IManagerNativeInherit.efl_ui_focus_manager_dirty_logic_freeze_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
524 Eina.Error.RaiseIfUnhandledException();
526 /// <summary>This enables the cache invalidation when an object is moved.
527 /// This is the counterpart to <see cref="Efl.Ui.Focus.IManager.FreezeDirtyLogic"/>.
528 /// (Since EFL 1.22)</summary>
529 /// <returns></returns>
530 virtual public void DirtyLogicUnfreeze() {
531 Efl.Ui.Focus.IManagerNativeInherit.efl_ui_focus_manager_dirty_logic_unfreeze_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
532 Eina.Error.RaiseIfUnhandledException();
534 /// <summary>The element which is currently focused by this manager
535 /// 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.
536 /// (Since EFL 1.22)</summary>
537 /// <value>Currently focused element.</value>
538 public Efl.Ui.Focus.IObject ManagerFocus {
539 get { return GetManagerFocus(); }
540 set { SetManagerFocus( value); }
542 /// <summary>Add another manager to serve the move requests.
543 /// 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.
544 /// (Since EFL 1.22)</summary>
545 /// <value>The redirect manager.</value>
546 public Efl.Ui.Focus.IManager Redirect {
547 get { return GetRedirect(); }
548 set { SetRedirect( value); }
550 /// <summary>The list of elements which are at the border of the graph.
551 /// 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"/>
552 /// (Since EFL 1.22)</summary>
553 /// <value>An iterator over the border objects.</value>
554 public Eina.Iterator<Efl.Ui.Focus.IObject> BorderElements {
555 get { return GetBorderElements(); }
557 /// <summary>Root node for all logical subtrees.
558 /// This property can only be set once.
559 /// (Since EFL 1.22)</summary>
560 /// <value>Will be registered into this manager object.</value>
561 public Efl.Ui.Focus.IObject Root {
562 get { return GetRoot(); }
563 set { SetRoot( value); }
565 private static IntPtr GetEflClassStatic()
567 return Efl.Ui.Focus.ManagerCalc.efl_ui_focus_manager_calc_class_get();
570 public class ManagerCalcNativeInherit : Efl.ObjectNativeInherit{
571 public new static Efl.Eo.NativeModule _Module = new Efl.Eo.NativeModule(efl.Libs.Elementary);
572 public override System.Collections.Generic.List<Efl_Op_Description> GetEoOps(System.Type type)
574 var descs = new System.Collections.Generic.List<Efl_Op_Description>();
575 var methods = Efl.Eo.Globals.GetUserMethods(type);
576 if (efl_ui_focus_manager_calc_register_static_delegate == null)
577 efl_ui_focus_manager_calc_register_static_delegate = new efl_ui_focus_manager_calc_register_delegate(register);
578 if (methods.FirstOrDefault(m => m.Name == "Register") != null)
579 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(_Module.Module, "efl_ui_focus_manager_calc_register"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_focus_manager_calc_register_static_delegate)});
580 if (efl_ui_focus_manager_calc_register_logical_static_delegate == null)
581 efl_ui_focus_manager_calc_register_logical_static_delegate = new efl_ui_focus_manager_calc_register_logical_delegate(register_logical);
582 if (methods.FirstOrDefault(m => m.Name == "RegisterLogical") != null)
583 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(_Module.Module, "efl_ui_focus_manager_calc_register_logical"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_focus_manager_calc_register_logical_static_delegate)});
584 if (efl_ui_focus_manager_calc_update_redirect_static_delegate == null)
585 efl_ui_focus_manager_calc_update_redirect_static_delegate = new efl_ui_focus_manager_calc_update_redirect_delegate(update_redirect);
586 if (methods.FirstOrDefault(m => m.Name == "UpdateRedirect") != null)
587 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(_Module.Module, "efl_ui_focus_manager_calc_update_redirect"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_focus_manager_calc_update_redirect_static_delegate)});
588 if (efl_ui_focus_manager_calc_update_parent_static_delegate == null)
589 efl_ui_focus_manager_calc_update_parent_static_delegate = new efl_ui_focus_manager_calc_update_parent_delegate(update_parent);
590 if (methods.FirstOrDefault(m => m.Name == "UpdateParent") != null)
591 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(_Module.Module, "efl_ui_focus_manager_calc_update_parent"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_focus_manager_calc_update_parent_static_delegate)});
592 if (efl_ui_focus_manager_calc_update_children_static_delegate == null)
593 efl_ui_focus_manager_calc_update_children_static_delegate = new efl_ui_focus_manager_calc_update_children_delegate(update_children);
594 if (methods.FirstOrDefault(m => m.Name == "UpdateChildren") != null)
595 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(_Module.Module, "efl_ui_focus_manager_calc_update_children"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_focus_manager_calc_update_children_static_delegate)});
596 if (efl_ui_focus_manager_calc_update_order_static_delegate == null)
597 efl_ui_focus_manager_calc_update_order_static_delegate = new efl_ui_focus_manager_calc_update_order_delegate(update_order);
598 if (methods.FirstOrDefault(m => m.Name == "UpdateOrder") != null)
599 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(_Module.Module, "efl_ui_focus_manager_calc_update_order"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_focus_manager_calc_update_order_static_delegate)});
600 if (efl_ui_focus_manager_calc_unregister_static_delegate == null)
601 efl_ui_focus_manager_calc_unregister_static_delegate = new efl_ui_focus_manager_calc_unregister_delegate(unregister);
602 if (methods.FirstOrDefault(m => m.Name == "Unregister") != null)
603 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(_Module.Module, "efl_ui_focus_manager_calc_unregister"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_focus_manager_calc_unregister_static_delegate)});
604 if (efl_ui_focus_manager_focus_get_static_delegate == null)
605 efl_ui_focus_manager_focus_get_static_delegate = new efl_ui_focus_manager_focus_get_delegate(manager_focus_get);
606 if (methods.FirstOrDefault(m => m.Name == "GetManagerFocus") != null)
607 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)});
608 if (efl_ui_focus_manager_focus_set_static_delegate == null)
609 efl_ui_focus_manager_focus_set_static_delegate = new efl_ui_focus_manager_focus_set_delegate(manager_focus_set);
610 if (methods.FirstOrDefault(m => m.Name == "SetManagerFocus") != null)
611 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)});
612 if (efl_ui_focus_manager_redirect_get_static_delegate == null)
613 efl_ui_focus_manager_redirect_get_static_delegate = new efl_ui_focus_manager_redirect_get_delegate(redirect_get);
614 if (methods.FirstOrDefault(m => m.Name == "GetRedirect") != null)
615 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)});
616 if (efl_ui_focus_manager_redirect_set_static_delegate == null)
617 efl_ui_focus_manager_redirect_set_static_delegate = new efl_ui_focus_manager_redirect_set_delegate(redirect_set);
618 if (methods.FirstOrDefault(m => m.Name == "SetRedirect") != null)
619 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)});
620 if (efl_ui_focus_manager_border_elements_get_static_delegate == null)
621 efl_ui_focus_manager_border_elements_get_static_delegate = new efl_ui_focus_manager_border_elements_get_delegate(border_elements_get);
622 if (methods.FirstOrDefault(m => m.Name == "GetBorderElements") != null)
623 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)});
624 if (efl_ui_focus_manager_viewport_elements_get_static_delegate == null)
625 efl_ui_focus_manager_viewport_elements_get_static_delegate = new efl_ui_focus_manager_viewport_elements_get_delegate(viewport_elements_get);
626 if (methods.FirstOrDefault(m => m.Name == "GetViewportElements") != null)
627 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)});
628 if (efl_ui_focus_manager_root_get_static_delegate == null)
629 efl_ui_focus_manager_root_get_static_delegate = new efl_ui_focus_manager_root_get_delegate(root_get);
630 if (methods.FirstOrDefault(m => m.Name == "GetRoot") != null)
631 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)});
632 if (efl_ui_focus_manager_root_set_static_delegate == null)
633 efl_ui_focus_manager_root_set_static_delegate = new efl_ui_focus_manager_root_set_delegate(root_set);
634 if (methods.FirstOrDefault(m => m.Name == "SetRoot") != null)
635 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)});
636 if (efl_ui_focus_manager_move_static_delegate == null)
637 efl_ui_focus_manager_move_static_delegate = new efl_ui_focus_manager_move_delegate(move);
638 if (methods.FirstOrDefault(m => m.Name == "Move") != null)
639 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)});
640 if (efl_ui_focus_manager_request_move_static_delegate == null)
641 efl_ui_focus_manager_request_move_static_delegate = new efl_ui_focus_manager_request_move_delegate(request_move);
642 if (methods.FirstOrDefault(m => m.Name == "MoveRequest") != null)
643 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)});
644 if (efl_ui_focus_manager_request_subchild_static_delegate == null)
645 efl_ui_focus_manager_request_subchild_static_delegate = new efl_ui_focus_manager_request_subchild_delegate(request_subchild);
646 if (methods.FirstOrDefault(m => m.Name == "RequestSubchild") != null)
647 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)});
648 if (efl_ui_focus_manager_fetch_static_delegate == null)
649 efl_ui_focus_manager_fetch_static_delegate = new efl_ui_focus_manager_fetch_delegate(fetch);
650 if (methods.FirstOrDefault(m => m.Name == "Fetch") != null)
651 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)});
652 if (efl_ui_focus_manager_logical_end_static_delegate == null)
653 efl_ui_focus_manager_logical_end_static_delegate = new efl_ui_focus_manager_logical_end_delegate(logical_end);
654 if (methods.FirstOrDefault(m => m.Name == "LogicalEnd") != null)
655 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)});
656 if (efl_ui_focus_manager_reset_history_static_delegate == null)
657 efl_ui_focus_manager_reset_history_static_delegate = new efl_ui_focus_manager_reset_history_delegate(reset_history);
658 if (methods.FirstOrDefault(m => m.Name == "ResetHistory") != null)
659 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)});
660 if (efl_ui_focus_manager_pop_history_stack_static_delegate == null)
661 efl_ui_focus_manager_pop_history_stack_static_delegate = new efl_ui_focus_manager_pop_history_stack_delegate(pop_history_stack);
662 if (methods.FirstOrDefault(m => m.Name == "PopHistoryStack") != null)
663 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)});
664 if (efl_ui_focus_manager_setup_on_first_touch_static_delegate == null)
665 efl_ui_focus_manager_setup_on_first_touch_static_delegate = new efl_ui_focus_manager_setup_on_first_touch_delegate(setup_on_first_touch);
666 if (methods.FirstOrDefault(m => m.Name == "SetupOnFirstTouch") != null)
667 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)});
668 if (efl_ui_focus_manager_dirty_logic_freeze_static_delegate == null)
669 efl_ui_focus_manager_dirty_logic_freeze_static_delegate = new efl_ui_focus_manager_dirty_logic_freeze_delegate(dirty_logic_freeze);
670 if (methods.FirstOrDefault(m => m.Name == "FreezeDirtyLogic") != null)
671 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)});
672 if (efl_ui_focus_manager_dirty_logic_unfreeze_static_delegate == null)
673 efl_ui_focus_manager_dirty_logic_unfreeze_static_delegate = new efl_ui_focus_manager_dirty_logic_unfreeze_delegate(dirty_logic_unfreeze);
674 if (methods.FirstOrDefault(m => m.Name == "DirtyLogicUnfreeze") != null)
675 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)});
676 descs.AddRange(base.GetEoOps(type));
679 public override IntPtr GetEflClass()
681 return Efl.Ui.Focus.ManagerCalc.efl_ui_focus_manager_calc_class_get();
683 public static new IntPtr GetEflClassStatic()
685 return Efl.Ui.Focus.ManagerCalc.efl_ui_focus_manager_calc_class_get();
689 [return: MarshalAs(UnmanagedType.U1)] private delegate bool efl_ui_focus_manager_calc_register_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalTest<Efl.Ui.Focus.IObjectConcrete, Efl.Eo.NonOwnTag>))] Efl.Ui.Focus.IObject child, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalTest<Efl.Ui.Focus.IObjectConcrete, Efl.Eo.NonOwnTag>))] Efl.Ui.Focus.IObject parent, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalTest<Efl.Ui.Focus.IManagerConcrete, Efl.Eo.NonOwnTag>))] Efl.Ui.Focus.IManager redirect);
692 [return: MarshalAs(UnmanagedType.U1)] public delegate bool efl_ui_focus_manager_calc_register_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalTest<Efl.Ui.Focus.IObjectConcrete, Efl.Eo.NonOwnTag>))] Efl.Ui.Focus.IObject child, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalTest<Efl.Ui.Focus.IObjectConcrete, Efl.Eo.NonOwnTag>))] Efl.Ui.Focus.IObject parent, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalTest<Efl.Ui.Focus.IManagerConcrete, Efl.Eo.NonOwnTag>))] Efl.Ui.Focus.IManager redirect);
693 public static Efl.Eo.FunctionWrapper<efl_ui_focus_manager_calc_register_api_delegate> efl_ui_focus_manager_calc_register_ptr = new Efl.Eo.FunctionWrapper<efl_ui_focus_manager_calc_register_api_delegate>(_Module, "efl_ui_focus_manager_calc_register");
694 private static bool register(System.IntPtr obj, System.IntPtr pd, Efl.Ui.Focus.IObject child, Efl.Ui.Focus.IObject parent, Efl.Ui.Focus.IManager redirect)
696 Eina.Log.Debug("function efl_ui_focus_manager_calc_register was called");
697 Efl.Eo.IWrapper wrapper = Efl.Eo.Globals.PrivateDataGet(pd);
698 if(wrapper != null) {
699 bool _ret_var = default(bool);
701 _ret_var = ((ManagerCalc)wrapper).Register( child, parent, redirect);
702 } catch (Exception e) {
703 Eina.Log.Warning($"Callback error: {e.ToString()}");
704 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
708 return efl_ui_focus_manager_calc_register_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), child, parent, redirect);
711 private static efl_ui_focus_manager_calc_register_delegate efl_ui_focus_manager_calc_register_static_delegate;
714 [return: MarshalAs(UnmanagedType.U1)] private delegate bool efl_ui_focus_manager_calc_register_logical_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalTest<Efl.Ui.Focus.IObjectConcrete, Efl.Eo.NonOwnTag>))] Efl.Ui.Focus.IObject child, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalTest<Efl.Ui.Focus.IObjectConcrete, Efl.Eo.NonOwnTag>))] Efl.Ui.Focus.IObject parent, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalTest<Efl.Ui.Focus.IManagerConcrete, Efl.Eo.NonOwnTag>))] Efl.Ui.Focus.IManager redirect);
717 [return: MarshalAs(UnmanagedType.U1)] public delegate bool efl_ui_focus_manager_calc_register_logical_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalTest<Efl.Ui.Focus.IObjectConcrete, Efl.Eo.NonOwnTag>))] Efl.Ui.Focus.IObject child, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalTest<Efl.Ui.Focus.IObjectConcrete, Efl.Eo.NonOwnTag>))] Efl.Ui.Focus.IObject parent, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalTest<Efl.Ui.Focus.IManagerConcrete, Efl.Eo.NonOwnTag>))] Efl.Ui.Focus.IManager redirect);
718 public static Efl.Eo.FunctionWrapper<efl_ui_focus_manager_calc_register_logical_api_delegate> efl_ui_focus_manager_calc_register_logical_ptr = new Efl.Eo.FunctionWrapper<efl_ui_focus_manager_calc_register_logical_api_delegate>(_Module, "efl_ui_focus_manager_calc_register_logical");
719 private static bool register_logical(System.IntPtr obj, System.IntPtr pd, Efl.Ui.Focus.IObject child, Efl.Ui.Focus.IObject parent, Efl.Ui.Focus.IManager redirect)
721 Eina.Log.Debug("function efl_ui_focus_manager_calc_register_logical was called");
722 Efl.Eo.IWrapper wrapper = Efl.Eo.Globals.PrivateDataGet(pd);
723 if(wrapper != null) {
724 bool _ret_var = default(bool);
726 _ret_var = ((ManagerCalc)wrapper).RegisterLogical( child, parent, redirect);
727 } catch (Exception e) {
728 Eina.Log.Warning($"Callback error: {e.ToString()}");
729 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
733 return efl_ui_focus_manager_calc_register_logical_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), child, parent, redirect);
736 private static efl_ui_focus_manager_calc_register_logical_delegate efl_ui_focus_manager_calc_register_logical_static_delegate;
739 [return: MarshalAs(UnmanagedType.U1)] private delegate bool efl_ui_focus_manager_calc_update_redirect_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalTest<Efl.Ui.Focus.IObjectConcrete, Efl.Eo.NonOwnTag>))] Efl.Ui.Focus.IObject child, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalTest<Efl.Ui.Focus.IManagerConcrete, Efl.Eo.NonOwnTag>))] Efl.Ui.Focus.IManager redirect);
742 [return: MarshalAs(UnmanagedType.U1)] public delegate bool efl_ui_focus_manager_calc_update_redirect_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalTest<Efl.Ui.Focus.IObjectConcrete, Efl.Eo.NonOwnTag>))] Efl.Ui.Focus.IObject child, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalTest<Efl.Ui.Focus.IManagerConcrete, Efl.Eo.NonOwnTag>))] Efl.Ui.Focus.IManager redirect);
743 public static Efl.Eo.FunctionWrapper<efl_ui_focus_manager_calc_update_redirect_api_delegate> efl_ui_focus_manager_calc_update_redirect_ptr = new Efl.Eo.FunctionWrapper<efl_ui_focus_manager_calc_update_redirect_api_delegate>(_Module, "efl_ui_focus_manager_calc_update_redirect");
744 private static bool update_redirect(System.IntPtr obj, System.IntPtr pd, Efl.Ui.Focus.IObject child, Efl.Ui.Focus.IManager redirect)
746 Eina.Log.Debug("function efl_ui_focus_manager_calc_update_redirect was called");
747 Efl.Eo.IWrapper wrapper = Efl.Eo.Globals.PrivateDataGet(pd);
748 if(wrapper != null) {
749 bool _ret_var = default(bool);
751 _ret_var = ((ManagerCalc)wrapper).UpdateRedirect( child, redirect);
752 } catch (Exception e) {
753 Eina.Log.Warning($"Callback error: {e.ToString()}");
754 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
758 return efl_ui_focus_manager_calc_update_redirect_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), child, redirect);
761 private static efl_ui_focus_manager_calc_update_redirect_delegate efl_ui_focus_manager_calc_update_redirect_static_delegate;
764 [return: MarshalAs(UnmanagedType.U1)] private delegate bool efl_ui_focus_manager_calc_update_parent_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalTest<Efl.Ui.Focus.IObjectConcrete, Efl.Eo.NonOwnTag>))] Efl.Ui.Focus.IObject child, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalTest<Efl.Ui.Focus.IObjectConcrete, Efl.Eo.NonOwnTag>))] Efl.Ui.Focus.IObject parent);
767 [return: MarshalAs(UnmanagedType.U1)] public delegate bool efl_ui_focus_manager_calc_update_parent_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalTest<Efl.Ui.Focus.IObjectConcrete, Efl.Eo.NonOwnTag>))] Efl.Ui.Focus.IObject child, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalTest<Efl.Ui.Focus.IObjectConcrete, Efl.Eo.NonOwnTag>))] Efl.Ui.Focus.IObject parent);
768 public static Efl.Eo.FunctionWrapper<efl_ui_focus_manager_calc_update_parent_api_delegate> efl_ui_focus_manager_calc_update_parent_ptr = new Efl.Eo.FunctionWrapper<efl_ui_focus_manager_calc_update_parent_api_delegate>(_Module, "efl_ui_focus_manager_calc_update_parent");
769 private static bool update_parent(System.IntPtr obj, System.IntPtr pd, Efl.Ui.Focus.IObject child, Efl.Ui.Focus.IObject parent)
771 Eina.Log.Debug("function efl_ui_focus_manager_calc_update_parent was called");
772 Efl.Eo.IWrapper wrapper = Efl.Eo.Globals.PrivateDataGet(pd);
773 if(wrapper != null) {
774 bool _ret_var = default(bool);
776 _ret_var = ((ManagerCalc)wrapper).UpdateParent( child, parent);
777 } catch (Exception e) {
778 Eina.Log.Warning($"Callback error: {e.ToString()}");
779 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
783 return efl_ui_focus_manager_calc_update_parent_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), child, parent);
786 private static efl_ui_focus_manager_calc_update_parent_delegate efl_ui_focus_manager_calc_update_parent_static_delegate;
789 [return: MarshalAs(UnmanagedType.U1)] private delegate bool efl_ui_focus_manager_calc_update_children_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalTest<Efl.Ui.Focus.IObjectConcrete, Efl.Eo.NonOwnTag>))] Efl.Ui.Focus.IObject parent, System.IntPtr children);
792 [return: MarshalAs(UnmanagedType.U1)] public delegate bool efl_ui_focus_manager_calc_update_children_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalTest<Efl.Ui.Focus.IObjectConcrete, Efl.Eo.NonOwnTag>))] Efl.Ui.Focus.IObject parent, System.IntPtr children);
793 public static Efl.Eo.FunctionWrapper<efl_ui_focus_manager_calc_update_children_api_delegate> efl_ui_focus_manager_calc_update_children_ptr = new Efl.Eo.FunctionWrapper<efl_ui_focus_manager_calc_update_children_api_delegate>(_Module, "efl_ui_focus_manager_calc_update_children");
794 private static bool update_children(System.IntPtr obj, System.IntPtr pd, Efl.Ui.Focus.IObject parent, System.IntPtr children)
796 Eina.Log.Debug("function efl_ui_focus_manager_calc_update_children was called");
797 Efl.Eo.IWrapper wrapper = Efl.Eo.Globals.PrivateDataGet(pd);
798 if(wrapper != null) {
799 var _in_children = new Eina.List<Efl.Ui.Focus.IObject>(children, true, false);
800 bool _ret_var = default(bool);
802 _ret_var = ((ManagerCalc)wrapper).UpdateChildren( parent, _in_children);
803 } catch (Exception e) {
804 Eina.Log.Warning($"Callback error: {e.ToString()}");
805 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
809 return efl_ui_focus_manager_calc_update_children_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), parent, children);
812 private static efl_ui_focus_manager_calc_update_children_delegate efl_ui_focus_manager_calc_update_children_static_delegate;
815 private delegate void efl_ui_focus_manager_calc_update_order_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalTest<Efl.Ui.Focus.IObjectConcrete, Efl.Eo.NonOwnTag>))] Efl.Ui.Focus.IObject parent, System.IntPtr children);
818 public delegate void efl_ui_focus_manager_calc_update_order_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalTest<Efl.Ui.Focus.IObjectConcrete, Efl.Eo.NonOwnTag>))] Efl.Ui.Focus.IObject parent, System.IntPtr children);
819 public static Efl.Eo.FunctionWrapper<efl_ui_focus_manager_calc_update_order_api_delegate> efl_ui_focus_manager_calc_update_order_ptr = new Efl.Eo.FunctionWrapper<efl_ui_focus_manager_calc_update_order_api_delegate>(_Module, "efl_ui_focus_manager_calc_update_order");
820 private static void update_order(System.IntPtr obj, System.IntPtr pd, Efl.Ui.Focus.IObject parent, System.IntPtr children)
822 Eina.Log.Debug("function efl_ui_focus_manager_calc_update_order was called");
823 Efl.Eo.IWrapper wrapper = Efl.Eo.Globals.PrivateDataGet(pd);
824 if(wrapper != null) {
825 var _in_children = new Eina.List<Efl.Ui.Focus.IObject>(children, true, false);
828 ((ManagerCalc)wrapper).UpdateOrder( parent, _in_children);
829 } catch (Exception e) {
830 Eina.Log.Warning($"Callback error: {e.ToString()}");
831 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
834 efl_ui_focus_manager_calc_update_order_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), parent, children);
837 private static efl_ui_focus_manager_calc_update_order_delegate efl_ui_focus_manager_calc_update_order_static_delegate;
840 private delegate void efl_ui_focus_manager_calc_unregister_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalTest<Efl.Ui.Focus.IObjectConcrete, Efl.Eo.NonOwnTag>))] Efl.Ui.Focus.IObject child);
843 public delegate void efl_ui_focus_manager_calc_unregister_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalTest<Efl.Ui.Focus.IObjectConcrete, Efl.Eo.NonOwnTag>))] Efl.Ui.Focus.IObject child);
844 public static Efl.Eo.FunctionWrapper<efl_ui_focus_manager_calc_unregister_api_delegate> efl_ui_focus_manager_calc_unregister_ptr = new Efl.Eo.FunctionWrapper<efl_ui_focus_manager_calc_unregister_api_delegate>(_Module, "efl_ui_focus_manager_calc_unregister");
845 private static void unregister(System.IntPtr obj, System.IntPtr pd, Efl.Ui.Focus.IObject child)
847 Eina.Log.Debug("function efl_ui_focus_manager_calc_unregister was called");
848 Efl.Eo.IWrapper wrapper = Efl.Eo.Globals.PrivateDataGet(pd);
849 if(wrapper != null) {
852 ((ManagerCalc)wrapper).Unregister( child);
853 } catch (Exception e) {
854 Eina.Log.Warning($"Callback error: {e.ToString()}");
855 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
858 efl_ui_focus_manager_calc_unregister_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), child);
861 private static efl_ui_focus_manager_calc_unregister_delegate efl_ui_focus_manager_calc_unregister_static_delegate;
864 [return:MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalTest<Efl.Ui.Focus.IObjectConcrete, Efl.Eo.NonOwnTag>))] private delegate Efl.Ui.Focus.IObject efl_ui_focus_manager_focus_get_delegate(System.IntPtr obj, System.IntPtr pd);
867 [return:MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalTest<Efl.Ui.Focus.IObjectConcrete, Efl.Eo.NonOwnTag>))] public delegate Efl.Ui.Focus.IObject efl_ui_focus_manager_focus_get_api_delegate(System.IntPtr obj);
868 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");
869 private static Efl.Ui.Focus.IObject manager_focus_get(System.IntPtr obj, System.IntPtr pd)
871 Eina.Log.Debug("function efl_ui_focus_manager_focus_get was called");
872 Efl.Eo.IWrapper wrapper = Efl.Eo.Globals.PrivateDataGet(pd);
873 if(wrapper != null) {
874 Efl.Ui.Focus.IObject _ret_var = default(Efl.Ui.Focus.IObject);
876 _ret_var = ((ManagerCalc)wrapper).GetManagerFocus();
877 } catch (Exception e) {
878 Eina.Log.Warning($"Callback error: {e.ToString()}");
879 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
883 return efl_ui_focus_manager_focus_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
886 private static efl_ui_focus_manager_focus_get_delegate efl_ui_focus_manager_focus_get_static_delegate;
889 private delegate void efl_ui_focus_manager_focus_set_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalTest<Efl.Ui.Focus.IObjectConcrete, Efl.Eo.NonOwnTag>))] Efl.Ui.Focus.IObject focus);
892 public delegate void efl_ui_focus_manager_focus_set_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalTest<Efl.Ui.Focus.IObjectConcrete, Efl.Eo.NonOwnTag>))] Efl.Ui.Focus.IObject focus);
893 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");
894 private static void manager_focus_set(System.IntPtr obj, System.IntPtr pd, Efl.Ui.Focus.IObject focus)
896 Eina.Log.Debug("function efl_ui_focus_manager_focus_set was called");
897 Efl.Eo.IWrapper wrapper = Efl.Eo.Globals.PrivateDataGet(pd);
898 if(wrapper != null) {
901 ((ManagerCalc)wrapper).SetManagerFocus( focus);
902 } catch (Exception e) {
903 Eina.Log.Warning($"Callback error: {e.ToString()}");
904 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
907 efl_ui_focus_manager_focus_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), focus);
910 private static efl_ui_focus_manager_focus_set_delegate efl_ui_focus_manager_focus_set_static_delegate;
913 [return:MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalTest<Efl.Ui.Focus.IManagerConcrete, Efl.Eo.NonOwnTag>))] private delegate Efl.Ui.Focus.IManager efl_ui_focus_manager_redirect_get_delegate(System.IntPtr obj, System.IntPtr pd);
916 [return:MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalTest<Efl.Ui.Focus.IManagerConcrete, Efl.Eo.NonOwnTag>))] public delegate Efl.Ui.Focus.IManager efl_ui_focus_manager_redirect_get_api_delegate(System.IntPtr obj);
917 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");
918 private static Efl.Ui.Focus.IManager redirect_get(System.IntPtr obj, System.IntPtr pd)
920 Eina.Log.Debug("function efl_ui_focus_manager_redirect_get was called");
921 Efl.Eo.IWrapper wrapper = Efl.Eo.Globals.PrivateDataGet(pd);
922 if(wrapper != null) {
923 Efl.Ui.Focus.IManager _ret_var = default(Efl.Ui.Focus.IManager);
925 _ret_var = ((ManagerCalc)wrapper).GetRedirect();
926 } catch (Exception e) {
927 Eina.Log.Warning($"Callback error: {e.ToString()}");
928 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
932 return efl_ui_focus_manager_redirect_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
935 private static efl_ui_focus_manager_redirect_get_delegate efl_ui_focus_manager_redirect_get_static_delegate;
938 private delegate void efl_ui_focus_manager_redirect_set_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalTest<Efl.Ui.Focus.IManagerConcrete, Efl.Eo.NonOwnTag>))] Efl.Ui.Focus.IManager redirect);
941 public delegate void efl_ui_focus_manager_redirect_set_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalTest<Efl.Ui.Focus.IManagerConcrete, Efl.Eo.NonOwnTag>))] Efl.Ui.Focus.IManager redirect);
942 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");
943 private static void redirect_set(System.IntPtr obj, System.IntPtr pd, Efl.Ui.Focus.IManager redirect)
945 Eina.Log.Debug("function efl_ui_focus_manager_redirect_set was called");
946 Efl.Eo.IWrapper wrapper = Efl.Eo.Globals.PrivateDataGet(pd);
947 if(wrapper != null) {
950 ((ManagerCalc)wrapper).SetRedirect( redirect);
951 } catch (Exception e) {
952 Eina.Log.Warning($"Callback error: {e.ToString()}");
953 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
956 efl_ui_focus_manager_redirect_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), redirect);
959 private static efl_ui_focus_manager_redirect_set_delegate efl_ui_focus_manager_redirect_set_static_delegate;
962 private delegate System.IntPtr efl_ui_focus_manager_border_elements_get_delegate(System.IntPtr obj, System.IntPtr pd);
965 public delegate System.IntPtr efl_ui_focus_manager_border_elements_get_api_delegate(System.IntPtr obj);
966 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");
967 private static System.IntPtr border_elements_get(System.IntPtr obj, System.IntPtr pd)
969 Eina.Log.Debug("function efl_ui_focus_manager_border_elements_get was called");
970 Efl.Eo.IWrapper wrapper = Efl.Eo.Globals.PrivateDataGet(pd);
971 if(wrapper != null) {
972 Eina.Iterator<Efl.Ui.Focus.IObject> _ret_var = default(Eina.Iterator<Efl.Ui.Focus.IObject>);
974 _ret_var = ((ManagerCalc)wrapper).GetBorderElements();
975 } catch (Exception e) {
976 Eina.Log.Warning($"Callback error: {e.ToString()}");
977 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
979 return _ret_var.Handle;
981 return efl_ui_focus_manager_border_elements_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
984 private static efl_ui_focus_manager_border_elements_get_delegate efl_ui_focus_manager_border_elements_get_static_delegate;
987 private delegate System.IntPtr efl_ui_focus_manager_viewport_elements_get_delegate(System.IntPtr obj, System.IntPtr pd, Eina.Rect.NativeStruct viewport);
990 public delegate System.IntPtr efl_ui_focus_manager_viewport_elements_get_api_delegate(System.IntPtr obj, Eina.Rect.NativeStruct viewport);
991 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");
992 private static System.IntPtr viewport_elements_get(System.IntPtr obj, System.IntPtr pd, Eina.Rect.NativeStruct viewport)
994 Eina.Log.Debug("function efl_ui_focus_manager_viewport_elements_get was called");
995 Efl.Eo.IWrapper wrapper = Efl.Eo.Globals.PrivateDataGet(pd);
996 if(wrapper != null) {
997 Eina.Rect _in_viewport = viewport;
998 Eina.Iterator<Efl.Ui.Focus.IObject> _ret_var = default(Eina.Iterator<Efl.Ui.Focus.IObject>);
1000 _ret_var = ((ManagerCalc)wrapper).GetViewportElements( _in_viewport);
1001 } catch (Exception e) {
1002 Eina.Log.Warning($"Callback error: {e.ToString()}");
1003 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
1005 return _ret_var.Handle;
1007 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);
1010 private static efl_ui_focus_manager_viewport_elements_get_delegate efl_ui_focus_manager_viewport_elements_get_static_delegate;
1013 [return:MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalTest<Efl.Ui.Focus.IObjectConcrete, Efl.Eo.NonOwnTag>))] private delegate Efl.Ui.Focus.IObject efl_ui_focus_manager_root_get_delegate(System.IntPtr obj, System.IntPtr pd);
1016 [return:MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalTest<Efl.Ui.Focus.IObjectConcrete, Efl.Eo.NonOwnTag>))] public delegate Efl.Ui.Focus.IObject efl_ui_focus_manager_root_get_api_delegate(System.IntPtr obj);
1017 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");
1018 private static Efl.Ui.Focus.IObject root_get(System.IntPtr obj, System.IntPtr pd)
1020 Eina.Log.Debug("function efl_ui_focus_manager_root_get was called");
1021 Efl.Eo.IWrapper wrapper = Efl.Eo.Globals.PrivateDataGet(pd);
1022 if(wrapper != null) {
1023 Efl.Ui.Focus.IObject _ret_var = default(Efl.Ui.Focus.IObject);
1025 _ret_var = ((ManagerCalc)wrapper).GetRoot();
1026 } catch (Exception e) {
1027 Eina.Log.Warning($"Callback error: {e.ToString()}");
1028 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
1032 return efl_ui_focus_manager_root_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
1035 private static efl_ui_focus_manager_root_get_delegate efl_ui_focus_manager_root_get_static_delegate;
1038 [return: MarshalAs(UnmanagedType.U1)] private delegate bool efl_ui_focus_manager_root_set_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalTest<Efl.Ui.Focus.IObjectConcrete, Efl.Eo.NonOwnTag>))] Efl.Ui.Focus.IObject root);
1041 [return: MarshalAs(UnmanagedType.U1)] public delegate bool efl_ui_focus_manager_root_set_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalTest<Efl.Ui.Focus.IObjectConcrete, Efl.Eo.NonOwnTag>))] Efl.Ui.Focus.IObject root);
1042 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");
1043 private static bool root_set(System.IntPtr obj, System.IntPtr pd, Efl.Ui.Focus.IObject root)
1045 Eina.Log.Debug("function efl_ui_focus_manager_root_set was called");
1046 Efl.Eo.IWrapper wrapper = Efl.Eo.Globals.PrivateDataGet(pd);
1047 if(wrapper != null) {
1048 bool _ret_var = default(bool);
1050 _ret_var = ((ManagerCalc)wrapper).SetRoot( root);
1051 } catch (Exception e) {
1052 Eina.Log.Warning($"Callback error: {e.ToString()}");
1053 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
1057 return efl_ui_focus_manager_root_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), root);
1060 private static efl_ui_focus_manager_root_set_delegate efl_ui_focus_manager_root_set_static_delegate;
1063 [return:MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalTest<Efl.Ui.Focus.IObjectConcrete, Efl.Eo.NonOwnTag>))] private delegate Efl.Ui.Focus.IObject efl_ui_focus_manager_move_delegate(System.IntPtr obj, System.IntPtr pd, Efl.Ui.Focus.Direction direction);
1066 [return:MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalTest<Efl.Ui.Focus.IObjectConcrete, Efl.Eo.NonOwnTag>))] public delegate Efl.Ui.Focus.IObject efl_ui_focus_manager_move_api_delegate(System.IntPtr obj, Efl.Ui.Focus.Direction direction);
1067 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");
1068 private static Efl.Ui.Focus.IObject move(System.IntPtr obj, System.IntPtr pd, Efl.Ui.Focus.Direction direction)
1070 Eina.Log.Debug("function efl_ui_focus_manager_move was called");
1071 Efl.Eo.IWrapper wrapper = Efl.Eo.Globals.PrivateDataGet(pd);
1072 if(wrapper != null) {
1073 Efl.Ui.Focus.IObject _ret_var = default(Efl.Ui.Focus.IObject);
1075 _ret_var = ((ManagerCalc)wrapper).Move( direction);
1076 } catch (Exception e) {
1077 Eina.Log.Warning($"Callback error: {e.ToString()}");
1078 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
1082 return efl_ui_focus_manager_move_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), direction);
1085 private static efl_ui_focus_manager_move_delegate efl_ui_focus_manager_move_static_delegate;
1088 [return:MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalTest<Efl.Ui.Focus.IObjectConcrete, Efl.Eo.NonOwnTag>))] 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.MarshalTest<Efl.Ui.Focus.IObjectConcrete, Efl.Eo.NonOwnTag>))] Efl.Ui.Focus.IObject child, [MarshalAs(UnmanagedType.U1)] bool logical);
1091 [return:MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalTest<Efl.Ui.Focus.IObjectConcrete, Efl.Eo.NonOwnTag>))] 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.MarshalTest<Efl.Ui.Focus.IObjectConcrete, Efl.Eo.NonOwnTag>))] Efl.Ui.Focus.IObject child, [MarshalAs(UnmanagedType.U1)] bool logical);
1092 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");
1093 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)
1095 Eina.Log.Debug("function efl_ui_focus_manager_request_move was called");
1096 Efl.Eo.IWrapper wrapper = Efl.Eo.Globals.PrivateDataGet(pd);
1097 if(wrapper != null) {
1098 Efl.Ui.Focus.IObject _ret_var = default(Efl.Ui.Focus.IObject);
1100 _ret_var = ((ManagerCalc)wrapper).MoveRequest( direction, child, logical);
1101 } catch (Exception e) {
1102 Eina.Log.Warning($"Callback error: {e.ToString()}");
1103 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
1107 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);
1110 private static efl_ui_focus_manager_request_move_delegate efl_ui_focus_manager_request_move_static_delegate;
1113 [return:MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalTest<Efl.Ui.Focus.IObjectConcrete, Efl.Eo.NonOwnTag>))] 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.MarshalTest<Efl.Ui.Focus.IObjectConcrete, Efl.Eo.NonOwnTag>))] Efl.Ui.Focus.IObject root);
1116 [return:MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalTest<Efl.Ui.Focus.IObjectConcrete, Efl.Eo.NonOwnTag>))] public delegate Efl.Ui.Focus.IObject efl_ui_focus_manager_request_subchild_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalTest<Efl.Ui.Focus.IObjectConcrete, Efl.Eo.NonOwnTag>))] Efl.Ui.Focus.IObject root);
1117 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");
1118 private static Efl.Ui.Focus.IObject request_subchild(System.IntPtr obj, System.IntPtr pd, Efl.Ui.Focus.IObject root)
1120 Eina.Log.Debug("function efl_ui_focus_manager_request_subchild was called");
1121 Efl.Eo.IWrapper wrapper = Efl.Eo.Globals.PrivateDataGet(pd);
1122 if(wrapper != null) {
1123 Efl.Ui.Focus.IObject _ret_var = default(Efl.Ui.Focus.IObject);
1125 _ret_var = ((ManagerCalc)wrapper).RequestSubchild( root);
1126 } catch (Exception e) {
1127 Eina.Log.Warning($"Callback error: {e.ToString()}");
1128 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
1132 return efl_ui_focus_manager_request_subchild_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), root);
1135 private static efl_ui_focus_manager_request_subchild_delegate efl_ui_focus_manager_request_subchild_static_delegate;
1138 private delegate System.IntPtr efl_ui_focus_manager_fetch_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalTest<Efl.Ui.Focus.IObjectConcrete, Efl.Eo.NonOwnTag>))] Efl.Ui.Focus.IObject child);
1141 public delegate System.IntPtr efl_ui_focus_manager_fetch_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalTest<Efl.Ui.Focus.IObjectConcrete, Efl.Eo.NonOwnTag>))] Efl.Ui.Focus.IObject child);
1142 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");
1143 private static System.IntPtr fetch(System.IntPtr obj, System.IntPtr pd, Efl.Ui.Focus.IObject child)
1145 Eina.Log.Debug("function efl_ui_focus_manager_fetch was called");
1146 Efl.Eo.IWrapper wrapper = Efl.Eo.Globals.PrivateDataGet(pd);
1147 if(wrapper != null) {
1148 Efl.Ui.Focus.Relations _ret_var = default(Efl.Ui.Focus.Relations);
1150 _ret_var = ((ManagerCalc)wrapper).Fetch( child);
1151 } catch (Exception e) {
1152 Eina.Log.Warning($"Callback error: {e.ToString()}");
1153 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
1155 return Eina.PrimitiveConversion.ManagedToPointerAlloc(_ret_var);
1157 return efl_ui_focus_manager_fetch_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), child);
1160 private static efl_ui_focus_manager_fetch_delegate efl_ui_focus_manager_fetch_static_delegate;
1163 private delegate Efl.Ui.Focus.ManagerLogicalEndDetail.NativeStruct efl_ui_focus_manager_logical_end_delegate(System.IntPtr obj, System.IntPtr pd);
1166 public delegate Efl.Ui.Focus.ManagerLogicalEndDetail.NativeStruct efl_ui_focus_manager_logical_end_api_delegate(System.IntPtr obj);
1167 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");
1168 private static Efl.Ui.Focus.ManagerLogicalEndDetail.NativeStruct logical_end(System.IntPtr obj, System.IntPtr pd)
1170 Eina.Log.Debug("function efl_ui_focus_manager_logical_end was called");
1171 Efl.Eo.IWrapper wrapper = Efl.Eo.Globals.PrivateDataGet(pd);
1172 if(wrapper != null) {
1173 Efl.Ui.Focus.ManagerLogicalEndDetail _ret_var = default(Efl.Ui.Focus.ManagerLogicalEndDetail);
1175 _ret_var = ((ManagerCalc)wrapper).LogicalEnd();
1176 } catch (Exception e) {
1177 Eina.Log.Warning($"Callback error: {e.ToString()}");
1178 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
1182 return efl_ui_focus_manager_logical_end_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
1185 private static efl_ui_focus_manager_logical_end_delegate efl_ui_focus_manager_logical_end_static_delegate;
1188 private delegate void efl_ui_focus_manager_reset_history_delegate(System.IntPtr obj, System.IntPtr pd);
1191 public delegate void efl_ui_focus_manager_reset_history_api_delegate(System.IntPtr obj);
1192 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");
1193 private static void reset_history(System.IntPtr obj, System.IntPtr pd)
1195 Eina.Log.Debug("function efl_ui_focus_manager_reset_history was called");
1196 Efl.Eo.IWrapper wrapper = Efl.Eo.Globals.PrivateDataGet(pd);
1197 if(wrapper != null) {
1200 ((ManagerCalc)wrapper).ResetHistory();
1201 } catch (Exception e) {
1202 Eina.Log.Warning($"Callback error: {e.ToString()}");
1203 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
1206 efl_ui_focus_manager_reset_history_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
1209 private static efl_ui_focus_manager_reset_history_delegate efl_ui_focus_manager_reset_history_static_delegate;
1212 private delegate void efl_ui_focus_manager_pop_history_stack_delegate(System.IntPtr obj, System.IntPtr pd);
1215 public delegate void efl_ui_focus_manager_pop_history_stack_api_delegate(System.IntPtr obj);
1216 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");
1217 private static void pop_history_stack(System.IntPtr obj, System.IntPtr pd)
1219 Eina.Log.Debug("function efl_ui_focus_manager_pop_history_stack was called");
1220 Efl.Eo.IWrapper wrapper = Efl.Eo.Globals.PrivateDataGet(pd);
1221 if(wrapper != null) {
1224 ((ManagerCalc)wrapper).PopHistoryStack();
1225 } catch (Exception e) {
1226 Eina.Log.Warning($"Callback error: {e.ToString()}");
1227 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
1230 efl_ui_focus_manager_pop_history_stack_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
1233 private static efl_ui_focus_manager_pop_history_stack_delegate efl_ui_focus_manager_pop_history_stack_static_delegate;
1236 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.MarshalTest<Efl.Ui.Focus.IObjectConcrete, Efl.Eo.NonOwnTag>))] Efl.Ui.Focus.IObject entry);
1239 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.MarshalTest<Efl.Ui.Focus.IObjectConcrete, Efl.Eo.NonOwnTag>))] Efl.Ui.Focus.IObject entry);
1240 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");
1241 private static void setup_on_first_touch(System.IntPtr obj, System.IntPtr pd, Efl.Ui.Focus.Direction direction, Efl.Ui.Focus.IObject entry)
1243 Eina.Log.Debug("function efl_ui_focus_manager_setup_on_first_touch was called");
1244 Efl.Eo.IWrapper wrapper = Efl.Eo.Globals.PrivateDataGet(pd);
1245 if(wrapper != null) {
1248 ((ManagerCalc)wrapper).SetupOnFirstTouch( direction, entry);
1249 } catch (Exception e) {
1250 Eina.Log.Warning($"Callback error: {e.ToString()}");
1251 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
1254 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);
1257 private static efl_ui_focus_manager_setup_on_first_touch_delegate efl_ui_focus_manager_setup_on_first_touch_static_delegate;
1260 private delegate void efl_ui_focus_manager_dirty_logic_freeze_delegate(System.IntPtr obj, System.IntPtr pd);
1263 public delegate void efl_ui_focus_manager_dirty_logic_freeze_api_delegate(System.IntPtr obj);
1264 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");
1265 private static void dirty_logic_freeze(System.IntPtr obj, System.IntPtr pd)
1267 Eina.Log.Debug("function efl_ui_focus_manager_dirty_logic_freeze was called");
1268 Efl.Eo.IWrapper wrapper = Efl.Eo.Globals.PrivateDataGet(pd);
1269 if(wrapper != null) {
1272 ((ManagerCalc)wrapper).FreezeDirtyLogic();
1273 } catch (Exception e) {
1274 Eina.Log.Warning($"Callback error: {e.ToString()}");
1275 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
1278 efl_ui_focus_manager_dirty_logic_freeze_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
1281 private static efl_ui_focus_manager_dirty_logic_freeze_delegate efl_ui_focus_manager_dirty_logic_freeze_static_delegate;
1284 private delegate void efl_ui_focus_manager_dirty_logic_unfreeze_delegate(System.IntPtr obj, System.IntPtr pd);
1287 public delegate void efl_ui_focus_manager_dirty_logic_unfreeze_api_delegate(System.IntPtr obj);
1288 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");
1289 private static void dirty_logic_unfreeze(System.IntPtr obj, System.IntPtr pd)
1291 Eina.Log.Debug("function efl_ui_focus_manager_dirty_logic_unfreeze was called");
1292 Efl.Eo.IWrapper wrapper = Efl.Eo.Globals.PrivateDataGet(pd);
1293 if(wrapper != null) {
1296 ((ManagerCalc)wrapper).DirtyLogicUnfreeze();
1297 } catch (Exception e) {
1298 Eina.Log.Warning($"Callback error: {e.ToString()}");
1299 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
1302 efl_ui_focus_manager_dirty_logic_unfreeze_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
1305 private static efl_ui_focus_manager_dirty_logic_unfreeze_delegate efl_ui_focus_manager_dirty_logic_unfreeze_static_delegate;