]> Pileus Git - ~andy/gtk/blob - gtk/gtksocket-stub.c
Add docs for new ports.
[~andy/gtk] / gtk / gtksocket-stub.c
1 /* GTK - The GIMP Toolkit
2  * Copyright (C) 1995-1997 Peter Mattis, Spencer Kimball and Josh MacDonald
3  *
4  * This library is free software; you can redistribute it and/or
5  * modify it under the terms of the GNU Lesser General Public
6  * License as published by the Free Software Foundation; either
7  * version 2 of the License, or (at your option) any later version.
8  *
9  * This library is distributed in the hope that it will be useful,
10  * but WITHOUT ANY WARRANTY; without even the implied warranty of
11  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
12  * Lesser General Public License for more details.
13  *
14  * You should have received a copy of the GNU Lesser General Public
15  * License along with this library; if not, write to the Free
16  * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
17  */
18
19 /* Stub implementation of backend-specific GtkPlug functions. */
20
21 /*
22  * Modified by the GTK+ Team and others 1997-2000.  See the AUTHORS
23  * file for a list of people on the GTK+ Team.  See the ChangeLog
24  * files for a list of changes.  These files are distributed with
25  * GTK+ at ftp://ftp.gtk.org/pub/gtk/. 
26  */
27
28 #include "gtksocket.h"
29 #include "gtksocketprivate.h"
30
31 GdkNativeWindow
32 _gtk_socket_windowing_get_id (GtkSocket *socket)
33 {
34   return 0;
35 }
36
37 void
38 _gtk_socket_windowing_realize_window (GtkSocket *socket)
39 {
40 }
41
42 void
43 _gtk_socket_windowing_end_embedding_toplevel (GtkSocket *socket)
44 {
45 }
46
47 void
48 _gtk_socket_windowing_size_request (GtkSocket *socket)
49 {
50 }
51
52 void
53 _gtk_socket_windowing_send_key_event (GtkSocket *socket,
54                                       GdkEvent  *gdk_event,
55                                       gboolean   mask_key_presses)
56 {
57 }
58
59 void
60 _gtk_socket_windowing_focus_change (GtkSocket *socket,
61                                     gboolean   focus_in)
62 {
63 }
64
65 void
66 _gtk_socket_windowing_update_active (GtkSocket *socket,
67                                      gboolean   active)
68 {
69 }
70
71 void
72 _gtk_socket_windowing_update_modality (GtkSocket *socket,
73                                        gboolean   modality)
74 {
75 }
76
77 void
78 _gtk_socket_windowing_focus (GtkSocket       *socket,
79                              GtkDirectionType direction)
80 {
81 }
82
83 void
84 _gtk_socket_windowing_send_configure_event (GtkSocket *socket)
85 {
86 }
87
88 void
89 _gtk_socket_windowing_select_plug_window_input (GtkSocket *socket)
90 {
91 }
92
93 void
94 _gtk_socket_windowing_embed_get_info (GtkSocket *socket)
95 {
96 }
97
98 void
99 _gtk_socket_windowing_embed_notify (GtkSocket *socket)
100 {
101 }
102
103 gboolean
104 _gtk_socket_windowing_embed_get_focus_wrapped (void)
105 {
106   return FALSE;
107 }
108
109 void
110 _gtk_socket_windowing_embed_set_focus_wrapped (void)
111 {
112 }
113
114 GdkFilterReturn
115 _gtk_socket_windowing_filter_func (GdkXEvent *gdk_xevent,
116                                    GdkEvent  *event,
117                                    gpointer   data)
118 {
119   return GDK_FILTER_CONTINUE;
120 }