3 namespace Tizen.Application {
4 class Window : IDisposable {
5 private IntPtr _native_window = IntPtr.Zero;
9 return _native_window != IntPtr.Zero ? Interop.Window.evas_object_visible_get(_native_window) : false;
13 _native_window = Interop.Window.elm_win_add(IntPtr.Zero, "Window", 0);
19 Interop.Window.evas_object_show(_native_window);
22 Interop.Window.evas_object_hide(_native_window);
24 public void Active() {
25 Interop.Window.elm_win_activate(_native_window);
27 public void InActive() {
28 Interop.Window.elm_win_lower(_native_window);
31 public void Dispose() {
32 if (_native_window != IntPtr.Zero) {
33 Interop.Window.evas_object_unref(_native_window);
34 _native_window = IntPtr.Zero;