|
|
@@ -156,6 +156,22 @@ namespace Avalonia.Gtk3.Interop
|
|
|
|
|
|
[UnmanagedFunctionPointer(CallingConvention.Cdecl), GtkImport(GtkDll.Gdk)]
|
|
|
public delegate IntPtr gdk_window_get_pointer(IntPtr raw, out int x, out int y, out int mask);
|
|
|
+
|
|
|
+ [UnmanagedFunctionPointer(CallingConvention.Cdecl), GtkImport(GtkDll.Gdk)]
|
|
|
+ public delegate GdkWindowState gdk_window_get_state(IntPtr window);
|
|
|
+
|
|
|
+ [UnmanagedFunctionPointer(CallingConvention.Cdecl), GtkImport(GtkDll.Gdk)]
|
|
|
+ public delegate void gdk_window_iconify(IntPtr window);
|
|
|
+
|
|
|
+ [UnmanagedFunctionPointer(CallingConvention.Cdecl), GtkImport(GtkDll.Gdk)]
|
|
|
+ public delegate void gdk_window_deiconify(IntPtr window);
|
|
|
+
|
|
|
+ [UnmanagedFunctionPointer(CallingConvention.Cdecl), GtkImport(GtkDll.Gdk)]
|
|
|
+ public delegate void gdk_window_maximize(IntPtr window);
|
|
|
+
|
|
|
+ [UnmanagedFunctionPointer(CallingConvention.Cdecl), GtkImport(GtkDll.Gdk)]
|
|
|
+ public delegate void gdk_window_unmaximize(IntPtr window);
|
|
|
+
|
|
|
[UnmanagedFunctionPointer(CallingConvention.Cdecl), GtkImport(GtkDll.Gdk)]
|
|
|
public delegate void gtk_window_set_geometry_hints(GtkWindow window, IntPtr geometry_widget, ref GdkGeometry geometry, GdkWindowHints geom_mask);
|
|
|
|
|
|
@@ -303,6 +319,11 @@ namespace Avalonia.Gtk3.Interop
|
|
|
public static D.gdk_cursor_new GdkCursorNew;
|
|
|
public static D.gdk_window_get_origin GdkWindowGetOrigin;
|
|
|
public static D.gdk_window_get_pointer GdkWindowGetPointer;
|
|
|
+ public static D.gdk_window_get_state GdkWindowGetState;
|
|
|
+ public static D.gdk_window_iconify GdkWindowIconify;
|
|
|
+ public static D.gdk_window_deiconify GdkWindowDeiconify;
|
|
|
+ public static D.gdk_window_maximize GdkWindowMaximize;
|
|
|
+ public static D.gdk_window_unmaximize GdkWindowUnmaximize;
|
|
|
public static D.gdk_window_begin_move_drag GdkWindowBeginMoveDrag;
|
|
|
public static D.gdk_window_begin_resize_drag GdkWindowBeginResizeDrag;
|
|
|
public static D.gdk_event_request_motions GdkEventRequestMotions;
|