3 * Copyright (C) 2005 Imendio AB
5 * This library is free software; you can redistribute it and/or
6 * modify it under the terms of the GNU Lesser General Public
7 * License as published by the Free Software Foundation; either
8 * version 2 of the License, or (at your option) any later version.
10 * This library is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 * Lesser General Public License for more details.
15 * You should have received a copy of the GNU Lesser General Public
16 * License along with this library; if not, write to the
17 * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
18 * Boston, MA 02111-1307, USA.
24 #include "gdkprivate-quartz.h"
27 gdk_display_get_default_group (GdkDisplay *display)
29 g_return_val_if_fail (GDK_IS_DISPLAY (display), NULL);
31 /* FIXME: Implement */
37 _gdk_windowing_set_default_display (GdkDisplay *display)
39 g_assert (_gdk_display == display);
43 gdk_display_open (const gchar *display_name)
45 if (_gdk_display != NULL)
48 _gdk_display = g_object_new (GDK_TYPE_DISPLAY, NULL);
49 _gdk_screen = g_object_new (GDK_TYPE_SCREEN, NULL);
51 /* Initialize application */
52 [NSApplication sharedApplication];
55 gdk_screen_set_default_colormap (_gdk_screen,
56 gdk_screen_get_system_colormap (_gdk_screen));
57 _gdk_windowing_window_init ();
63 /* FIXME: Remove the #if 0 when we have these functions */
67 g_signal_emit_by_name (gdk_display_manager_get (),
68 "display_opened", _gdk_display);
73 G_CONST_RETURN gchar *
74 gdk_display_get_name (GdkDisplay *display)
76 /* FIXME: Implement */
81 gdk_display_get_n_screens (GdkDisplay *display)
83 g_return_val_if_fail (GDK_IS_DISPLAY (display), 0);
89 gdk_display_get_screen (GdkDisplay *display,
92 g_return_val_if_fail (GDK_IS_DISPLAY (display), NULL);
93 g_return_val_if_fail (screen_num == 0, NULL);
99 gdk_display_get_default_screen (GdkDisplay *display)
105 gdk_display_beep (GdkDisplay *display)
107 g_return_if_fail (GDK_IS_DISPLAY (display));
113 gdk_display_supports_selection_notification (GdkDisplay *display)
115 g_return_val_if_fail (GDK_IS_DISPLAY (display), FALSE);
117 /* FIXME: Implement */
122 gdk_display_request_selection_notification (GdkDisplay *display,
126 /* FIXME: Implement */
131 gdk_display_supports_clipboard_persistence (GdkDisplay *display)
133 /* FIXME: Implement */
138 gdk_display_supports_shapes (GdkDisplay *display)
140 /* FIXME: Implement */
145 gdk_display_supports_input_shapes (GdkDisplay *display)
147 /* FIXME: Implement */
152 gdk_display_store_clipboard (GdkDisplay *display,
153 GdkWindow *clipboard_window,
158 /* FIXME: Implement */