private static void activate(Application app, IntPtr user_data) { var window = (Window)ApplicationWindow.@new(app); window.set_title("Window"); window.set_default_size(200, 200); window.show_all(); }