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, see <http://www.gnu.org/licenses/>.
19 #ifndef __GTK_WINDOW_PRIVATE_H__
20 #define __GTK_WINDOW_PRIVATE_H__
24 #include "gtkwindow.h"
28 void _gtk_window_internal_set_focus (GtkWindow *window,
30 void _gtk_window_reposition (GtkWindow *window,
33 void _gtk_window_constrain_size (GtkWindow *window,
38 void _gtk_window_group_add_grab (GtkWindowGroup *window_group,
40 void _gtk_window_group_remove_grab (GtkWindowGroup *window_group,
42 void _gtk_window_group_add_device_grab (GtkWindowGroup *window_group,
45 gboolean block_others);
46 void _gtk_window_group_remove_device_grab (GtkWindowGroup *window_group,
50 gboolean _gtk_window_group_widget_is_blocked_for_device (GtkWindowGroup *window_group,
54 void _gtk_window_set_has_toplevel_focus (GtkWindow *window,
55 gboolean has_toplevel_focus);
56 void _gtk_window_unset_focus_and_default (GtkWindow *window,
59 void _gtk_window_set_is_active (GtkWindow *window,
62 void _gtk_window_set_is_toplevel (GtkWindow *window,
63 gboolean is_toplevel);
65 void _gtk_window_get_wmclass (GtkWindow *window,
67 gchar **wmclass_class);
69 void _gtk_window_set_allocation (GtkWindow *window,
70 GtkAllocation *allocation);
72 typedef void (*GtkWindowKeysForeachFunc) (GtkWindow *window,
74 GdkModifierType modifiers,
78 void _gtk_window_keys_foreach (GtkWindow *window,
79 GtkWindowKeysForeachFunc func,
82 /* --- internal (GtkAcceleratable) --- */
83 gboolean _gtk_window_query_nonaccels (GtkWindow *window,
85 GdkModifierType accel_mods);
87 void _gtk_window_set_auto_mnemonics_visible (GtkWindow *window);
91 #endif /* __GTK_WINDOW_PRIVATE_H__ */