{
Name = name;
Realize(parent);
+ Interop.Elementary.elm_win_indicator_mode_set(Handle, 2 /* ELM_WIN_INDICATOR_SHOW */);
+
+ _deleteRequest = new Interop.SmartEvent(this, Handle, "delete,request");
+ _rotationChanged = new Interop.SmartEvent(this, Handle, "wm,rotation,changed");
+ _deleteRequest.On += (s, e) => CloseRequested?.Invoke(this, EventArgs.Empty);
+ _rotationChanged.On += (s, e) => RotationChanged?.Invoke(this, EventArgs.Empty);
}
protected Window()
Interop.Elementary.elm_win_resize_object_add(Handle, obj);
}
- protected override void OnRealized()
- {
- base.OnRealized();
- Interop.Elementary.elm_win_indicator_mode_set(Handle, 2 /* ELM_WIN_INDICATOR_SHOW */);
-
- _deleteRequest = new Interop.SmartEvent(this, Handle, "delete,request");
- _rotationChanged = new Interop.SmartEvent(this, Handle, "wm,rotation,changed");
-
- _deleteRequest.On += (s, e) => CloseRequested?.Invoke(this, EventArgs.Empty);
- _rotationChanged.On += (s, e) => RotationChanged?.Invoke(this, EventArgs.Empty);
- }
-
protected override IntPtr CreateHandle(EvasObject parent)
{
Interop.Elementary.elm_config_accel_preference_set("3d");