static unsafe void realize(IntPtr self) { //gtk_window_fullscreen(self); Console.WriteLine(" -- WillRealize --"); base_realize?.Invoke(self); Console.WriteLine(" -- DidRealize --"); Console.WriteLine(" -- WillMove --"); gtk_window_move(self, xTarget - xFrameDelta, yTarget - yFrameDelta); Console.WriteLine(" -- DidMove --"); Console.WriteLine(" -- WillSize --"); gtk_window_resize(self, 400, 300); Console.WriteLine(" -- DidSize --"); gdk_window_get_origin(gtk_widget_get_window(self), out var x, out var y); gdk_window_get_frame_extents(gtk_widget_get_window(self), out var rect); }
static unsafe void map(IntPtr self) { Console.WriteLine(" -- WillMap --"); base_map?.Invoke(self); Console.WriteLine(" -- DidMap --"); }