///
/// Once the object is hidden or destroyed the focus will go back to the mainwindow, where it was before.</summary>
[Efl.Ui.Focus.ILayerConcrete.NativeMethods]
+[Efl.Eo.BindingEntity]
public interface ILayer :
Efl.Ui.IWidgetFocusManager ,
Efl.Eo.IWrapper, IDisposable
}
}
+ /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
+ /// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
+ private ILayerConcrete(ConstructingHandle ch) : base(ch)
+ {
+ }
+
[System.Runtime.InteropServices.DllImport(efl.Libs.Elementary)] internal static extern System.IntPtr
efl_ui_focus_layer_mixin_get();
/// <summary>Initializes a new instance of the <see cref="ILayer"/> class.
/// Internal usage: This is used when interacting with C code and should not be used directly.</summary>
- private ILayerConcrete(System.IntPtr raw) : base(raw)
+ /// <param name="wh">The native pointer to be wrapped.</param>
+ private ILayerConcrete(Efl.Eo.Globals.WrappingHandle wh) : base(wh)
{
}
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_UI_FOCUS_MANAGER_EVENT_REDIRECT_CHANGED";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_UI_FOCUS_MANAGER_EVENT_FLUSH_PRE";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_UI_FOCUS_MANAGER_EVENT_COORDS_DIRTY";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_UI_FOCUS_MANAGER_EVENT_MANAGER_FOCUS_CHANGED";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
{
add
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
{
remove
{
- lock (eventLock)
+ lock (eflBindingEventLock)
{
string key = "_EFL_UI_FOCUS_MANAGER_EVENT_DIRTY_LOGIC_FREEZE_CHANGED";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
public Eina.Iterator<Efl.Ui.Focus.IObject> GetBorderElements() {
var _ret_var = Efl.Ui.Focus.IManagerConcrete.NativeMethods.efl_ui_focus_manager_border_elements_get_ptr.Value.Delegate(this.NativeHandle);
Eina.Error.RaiseIfUnhandledException();
- return new Eina.Iterator<Efl.Ui.Focus.IObject>(_ret_var, false, false);
+ return new Eina.Iterator<Efl.Ui.Focus.IObject>(_ret_var, false);
}
/// <summary>Get all elements that are at the border of the viewport
/// Every element returned by this is located inside the viewport rectangle, but has a right, left, down or up neighbor outside the viewport.
Eina.Rect.NativeStruct _in_viewport = viewport;
var _ret_var = Efl.Ui.Focus.IManagerConcrete.NativeMethods.efl_ui_focus_manager_viewport_elements_get_ptr.Value.Delegate(this.NativeHandle,_in_viewport);
Eina.Error.RaiseIfUnhandledException();
- return new Eina.Iterator<Efl.Ui.Focus.IObject>(_ret_var, false, false);
+ return new Eina.Iterator<Efl.Ui.Focus.IObject>(_ret_var, false);
}
/// <summary>Root node for all logical subtrees.
/// This property can only be set once.
}
/// <summary>Wrapper for native methods and virtual method delegates.
/// For internal use by generated code only.</summary>
- public class NativeMethods : Efl.Eo.NativeClass
+ public new class NativeMethods : Efl.Eo.EoWrapper.NativeMethods
{
private static Efl.Eo.NativeModule Module = new Efl.Eo.NativeModule( efl.Libs.Elementary);
/// <summary>Gets the list of Eo operations to override.</summary>