2 /* GTK - The GIMP Toolkit
3 * Copyright (C) 2010 Red Hat, Inc.
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.
21 #ifndef __GTK_WINDOW_PRIVATE_H__
22 #define __GTK_WINDOW_PRIVATE_H__
26 #include "gtkwindow.h"
30 void _gtk_window_internal_set_focus (GtkWindow *window,
32 void _gtk_window_reposition (GtkWindow *window,
35 void _gtk_window_constrain_size (GtkWindow *window,
40 void _gtk_window_group_add_grab (GtkWindowGroup *window_group,
42 void _gtk_window_group_remove_grab (GtkWindowGroup *window_group,
44 void _gtk_window_group_add_device_grab (GtkWindowGroup *window_group,
47 gboolean block_others);
48 void _gtk_window_group_remove_device_grab (GtkWindowGroup *window_group,
52 gboolean _gtk_window_group_widget_is_blocked_for_device (GtkWindowGroup *window_group,
56 void _gtk_window_set_has_toplevel_focus (GtkWindow *window,
57 gboolean has_toplevel_focus);
58 void _gtk_window_unset_focus_and_default (GtkWindow *window,
61 void _gtk_window_set_is_active (GtkWindow *window,
64 void _gtk_window_set_is_toplevel (GtkWindow *window,
65 gboolean is_toplevel);
67 void _gtk_window_get_wmclass (GtkWindow *window,
69 gchar **wmclass_class);
71 typedef void (*GtkWindowKeysForeachFunc) (GtkWindow *window,
73 GdkModifierType modifiers,
77 void _gtk_window_keys_foreach (GtkWindow *window,
78 GtkWindowKeysForeachFunc func,
81 /* --- internal (GtkAcceleratable) --- */
82 gboolean _gtk_window_query_nonaccels (GtkWindow *window,
84 GdkModifierType accel_mods);
88 #endif /* __GTK_WINDOW_PRIVATE_H__ */