Ticket #11138: gtksocket-stub.c

File gtksocket-stub.c, 2.6 KB (added by meista@…, 18 years ago)

gtksocket-stub.c from CVS (missing in the release tarball)

Line 
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#include "gtkalias.h"
31
32GdkNativeWindow
33_gtk_socket_windowing_get_id (GtkSocket *socket)
34{
35  return 0;
36}
37
38void
39_gtk_socket_windowing_realize_window (GtkSocket *socket)
40{
41}
42
43void
44_gtk_socket_windowing_end_embedding_toplevel (GtkSocket *socket)
45{
46}
47
48void
49_gtk_socket_windowing_size_request (GtkSocket *socket)
50{
51}
52
53void
54_gtk_socket_windowing_send_key_event (GtkSocket *socket,
55                                      GdkEvent  *gdk_event,
56                                      gboolean   mask_key_presses)
57{
58}
59
60void
61_gtk_socket_windowing_focus_change (GtkSocket *socket,
62                                    gboolean   focus_in)
63{
64}
65
66void
67_gtk_socket_windowing_update_active (GtkSocket *socket,
68                                     gboolean   active)
69{
70}
71
72void
73_gtk_socket_windowing_update_modality (GtkSocket *socket,
74                                       gboolean   modality)
75{
76}
77
78void
79_gtk_socket_windowing_focus (GtkSocket       *socket,
80                             GtkDirectionType direction)
81{
82}
83
84void
85_gtk_socket_windowing_send_configure_event (GtkSocket *socket)
86{
87}
88
89void
90_gtk_socket_windowing_select_plug_window_input (GtkSocket *socket)
91{
92}
93
94void
95_gtk_socket_windowing_embed_get_info (GtkSocket *socket)
96{
97}
98
99void
100_gtk_socket_windowing_embed_notify (GtkSocket *socket)
101{
102}
103
104gboolean
105_gtk_socket_windowing_embed_get_focus_wrapped (void)
106{
107  return FALSE;
108}
109
110void
111_gtk_socket_windowing_embed_set_focus_wrapped (void)
112{
113}
114
115GdkFilterReturn
116_gtk_socket_windowing_filter_func (GdkXEvent *gdk_xevent,
117                                   GdkEvent  *event,
118                                   gpointer   data)
119{
120  return GDK_FILTER_CONTINUE;
121}