summaryrefslogtreecommitdiff
path: root/gtk/gtkwindowprivate.h
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2010-12-17 20:41:16 -0500
committerMatthias Clasen <mclasen@redhat.com>2010-12-17 20:41:16 -0500
commit7b665316cfabda944555551aac94436f5586c792 (patch)
tree06ff2871da7bd073b95d2d34898716ede634cb9e /gtk/gtkwindowprivate.h
parenta2dda0c2bb88c1f009f7a10e0e344c4a301ff3b9 (diff)
downloadgtk+-7b665316cfabda944555551aac94436f5586c792.tar.gz
Hide GtkWindowGroup members
In the process of removing all sealed members from headers. At the same time, add a gtkwindowprivate.h header and move all internal functions from gtkwindow.h there.
Diffstat (limited to 'gtk/gtkwindowprivate.h')
-rw-r--r--gtk/gtkwindowprivate.h90
1 files changed, 90 insertions, 0 deletions
diff --git a/gtk/gtkwindowprivate.h b/gtk/gtkwindowprivate.h
new file mode 100644
index 0000000000..18562e9a38
--- /dev/null
+++ b/gtk/gtkwindowprivate.h
@@ -0,0 +1,90 @@
+
+/* GTK - The GIMP Toolkit
+ * Copyright (C) 2010 Red Hat, Inc.
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 2 of the License, or (at your option) any later version.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the
+ * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
+ * Boston, MA 02111-1307, USA.
+ */
+
+#ifndef __GTK_WINDOW_PRIVATE_H__
+#define __GTK_WINDOW_PRIVATE_H__
+
+#include "gtkwindow.h"
+
+G_BEGIN_DECLS
+
+void _gtk_window_internal_set_focus (GtkWindow *window,
+ GtkWidget *focus);
+void gtk_window_remove_embedded_xid (GtkWindow *window,
+ GdkNativeWindow xid);
+void gtk_window_add_embedded_xid (GtkWindow *window,
+ GdkNativeWindow xid);
+void _gtk_window_reposition (GtkWindow *window,
+ gint x,
+ gint y);
+void _gtk_window_constrain_size (GtkWindow *window,
+ gint width,
+ gint height,
+ gint *new_width,
+ gint *new_height);
+void _gtk_window_group_add_grab (GtkWindowGroup *window_group,
+ GtkWidget *widget);
+void _gtk_window_group_remove_grab (GtkWindowGroup *window_group,
+ GtkWidget *widget);
+void _gtk_window_group_add_device_grab (GtkWindowGroup *window_group,
+ GtkWidget *widget,
+ GdkDevice *device,
+ gboolean block_others);
+void _gtk_window_group_remove_device_grab (GtkWindowGroup *window_group,
+ GtkWidget *widget,
+ GdkDevice *device);
+
+gboolean _gtk_window_group_widget_is_blocked_for_device (GtkWindowGroup *window_group,
+ GtkWidget *widget,
+ GdkDevice *device);
+
+void _gtk_window_set_has_toplevel_focus (GtkWindow *window,
+ gboolean has_toplevel_focus);
+void _gtk_window_unset_focus_and_default (GtkWindow *window,
+ GtkWidget *widget);
+
+void _gtk_window_set_is_active (GtkWindow *window,
+ gboolean is_active);
+
+void _gtk_window_set_is_toplevel (GtkWindow *window,
+ gboolean is_toplevel);
+
+void _gtk_window_get_wmclass (GtkWindow *window,
+ gchar **wmclass_name,
+ gchar **wmclass_class);
+
+typedef void (*GtkWindowKeysForeachFunc) (GtkWindow *window,
+ guint keyval,
+ GdkModifierType modifiers,
+ gboolean is_mnemonic,
+ gpointer data);
+
+void _gtk_window_keys_foreach (GtkWindow *window,
+ GtkWindowKeysForeachFunc func,
+ gpointer func_data);
+
+/* --- internal (GtkAcceleratable) --- */
+gboolean _gtk_window_query_nonaccels (GtkWindow *window,
+ guint accel_key,
+ GdkModifierType accel_mods);
+
+G_END_DECLS
+
+#endif /* __GTK_WINDOW_PRIVATE_H__ */