Blame gtk/gtkplugprivate.h

Packit Service fb6fa5
/* GTK - The GIMP Toolkit
Packit Service fb6fa5
 * Copyright (C) 1995-1997 Peter Mattis, Spencer Kimball and Josh MacDonald
Packit Service fb6fa5
 *
Packit Service fb6fa5
 * This library is free software; you can redistribute it and/or
Packit Service fb6fa5
 * modify it under the terms of the GNU Lesser General Public
Packit Service fb6fa5
 * License as published by the Free Software Foundation; either
Packit Service fb6fa5
 * version 2 of the License, or (at your option) any later version.
Packit Service fb6fa5
 *
Packit Service fb6fa5
 * This library is distributed in the hope that it will be useful,
Packit Service fb6fa5
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
Packit Service fb6fa5
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
Packit Service fb6fa5
 * Lesser General Public License for more details.
Packit Service fb6fa5
 *
Packit Service fb6fa5
 * You should have received a copy of the GNU Lesser General Public
Packit Service fb6fa5
 * License along with this library; if not, write to the Free
Packit Service fb6fa5
 * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
Packit Service fb6fa5
 */
Packit Service fb6fa5
Packit Service fb6fa5
/*
Packit Service fb6fa5
 * Modified by the GTK+ Team and others 1997-2000.  See the AUTHORS
Packit Service fb6fa5
 * file for a list of people on the GTK+ Team.  See the ChangeLog
Packit Service fb6fa5
 * files for a list of changes.  These files are distributed with
Packit Service fb6fa5
 * GTK+ at ftp://ftp.gtk.org/pub/gtk/. 
Packit Service fb6fa5
 */
Packit Service fb6fa5
Packit Service fb6fa5
#ifndef __GTK_PLUG_PRIVATE_H__
Packit Service fb6fa5
#define __GTK_PLUG_PRIVATE_H__
Packit Service fb6fa5
Packit Service fb6fa5
/* In gtkplug.c: */
Packit Service fb6fa5
void _gtk_plug_send_delete_event      (GtkWidget        *widget);
Packit Service fb6fa5
void _gtk_plug_add_all_grabbed_keys   (GtkPlug          *plug);
Packit Service fb6fa5
void _gtk_plug_focus_first_last       (GtkPlug          *plug,
Packit Service fb6fa5
				       GtkDirectionType  direction);
Packit Service fb6fa5
void _gtk_plug_handle_modality_on     (GtkPlug          *plug);
Packit Service fb6fa5
void _gtk_plug_handle_modality_off    (GtkPlug          *plug);
Packit Service fb6fa5
Packit Service fb6fa5
/* In backend-specific file: */
Packit Service fb6fa5
Packit Service fb6fa5
/*
Packit Service fb6fa5
 * _gtk_plug_windowing_get_id:
Packit Service fb6fa5
 *
Packit Service fb6fa5
 * @plug: a #GtkPlug
Packit Service fb6fa5
 *
Packit Service fb6fa5
 * Returns the native window system identifier for the plug's window.
Packit Service fb6fa5
 */
Packit Service fb6fa5
GdkNativeWindow _gtk_plug_windowing_get_id (GtkPlug *plug);
Packit Service fb6fa5
Packit Service fb6fa5
/*
Packit Service fb6fa5
 * _gtk_plug_windowing_realize_toplevel:
Packit Service fb6fa5
 *
Packit Service fb6fa5
 * @plug_window: a #GtkPlug's #GdkWindow
Packit Service fb6fa5
 *
Packit Service fb6fa5
 * Called from GtkPlug's realize method. Should tell the corresponding
Packit Service fb6fa5
 * socket that the plug has been realized.
Packit Service fb6fa5
 */
Packit Service fb6fa5
void _gtk_plug_windowing_realize_toplevel (GtkPlug *plug);
Packit Service fb6fa5
Packit Service fb6fa5
/*
Packit Service fb6fa5
 * _gtk_plug_windowing_map_toplevel:
Packit Service fb6fa5
 *
Packit Service fb6fa5
 * @plug: a #GtkPlug
Packit Service fb6fa5
 *
Packit Service fb6fa5
 * Called from GtkPlug's map method. Should tell the corresponding
Packit Service fb6fa5
 * #GtkSocket that the plug has been mapped.
Packit Service fb6fa5
 */
Packit Service fb6fa5
void _gtk_plug_windowing_map_toplevel (GtkPlug *plug);
Packit Service fb6fa5
Packit Service fb6fa5
/*
Packit Service fb6fa5
 * _gtk_plug_windowing_map_toplevel:
Packit Service fb6fa5
 *
Packit Service fb6fa5
 * @plug: a #GtkPlug
Packit Service fb6fa5
 *
Packit Service fb6fa5
 * Called from GtkPlug's unmap method. Should tell the corresponding
Packit Service fb6fa5
 * #GtkSocket that the plug has been unmapped.
Packit Service fb6fa5
 */
Packit Service fb6fa5
void _gtk_plug_windowing_unmap_toplevel (GtkPlug *plug);
Packit Service fb6fa5
Packit Service fb6fa5
/*
Packit Service fb6fa5
 * _gtk_plug_windowing_set_focus:
Packit Service fb6fa5
 *
Packit Service fb6fa5
 * @plug: a #GtkPlug
Packit Service fb6fa5
 *
Packit Service fb6fa5
 * Called from GtkPlug's set_focus method. Should tell the corresponding
Packit Service fb6fa5
 * #GtkSocket to request focus.
Packit Service fb6fa5
 */
Packit Service fb6fa5
void _gtk_plug_windowing_set_focus (GtkPlug *plug);
Packit Service fb6fa5
Packit Service fb6fa5
/*
Packit Service fb6fa5
 * _gtk_plug_windowing_add_grabbed_key:
Packit Service fb6fa5
 *
Packit Service fb6fa5
 * @plug: a #GtkPlug
Packit Service fb6fa5
 * @accelerator_key: a key
Packit Service fb6fa5
 * @accelerator_mods: modifiers for it
Packit Service fb6fa5
 *
Packit Service fb6fa5
 * Called from GtkPlug's keys_changed method. Should tell the
Packit Service fb6fa5
 * corresponding #GtkSocket to grab the key.
Packit Service fb6fa5
 */
Packit Service fb6fa5
void _gtk_plug_windowing_add_grabbed_key (GtkPlug         *plug,
Packit Service fb6fa5
					  guint            accelerator_key,
Packit Service fb6fa5
					  GdkModifierType  accelerator_mods);
Packit Service fb6fa5
Packit Service fb6fa5
/*
Packit Service fb6fa5
 * _gtk_plug_windowing_remove_grabbed_key:
Packit Service fb6fa5
 *
Packit Service fb6fa5
 * @plug: a #GtkPlug
Packit Service fb6fa5
 * @accelerator_key: a key
Packit Service fb6fa5
 * @accelerator_mods: modifiers for it
Packit Service fb6fa5
 *
Packit Service fb6fa5
 * Called from GtkPlug's keys_changed method. Should tell the
Packit Service fb6fa5
 * corresponding #GtkSocket to remove the key grab.
Packit Service fb6fa5
 */
Packit Service fb6fa5
void _gtk_plug_windowing_remove_grabbed_key (GtkPlug         *plug,
Packit Service fb6fa5
					     guint            accelerator_key,
Packit Service fb6fa5
					     GdkModifierType  accelerator_mods);
Packit Service fb6fa5
Packit Service fb6fa5
/*
Packit Service fb6fa5
 * _gtk_plug_windowing_focus_to_parent:
Packit Service fb6fa5
 *
Packit Service fb6fa5
 * @plug: a #GtkPlug
Packit Service fb6fa5
 * @direction: a direction
Packit Service fb6fa5
 *
Packit Service fb6fa5
 * Called from GtkPlug's focus method. Should tell the corresponding
Packit Service fb6fa5
 * #GtkSocket to move the focus.
Packit Service fb6fa5
 */
Packit Service fb6fa5
void _gtk_plug_windowing_focus_to_parent (GtkPlug         *plug,
Packit Service fb6fa5
					  GtkDirectionType direction);
Packit Service fb6fa5
Packit Service fb6fa5
/*
Packit Service fb6fa5
 * _gtk_plug_windowing_filter_func:
Packit Service fb6fa5
 *
Packit Service fb6fa5
 * @gdk_xevent: a windowing system native event
Packit Service fb6fa5
 * @event: a pre-allocated empty GdkEvent
Packit Service fb6fa5
 * @data: the #GtkPlug
Packit Service fb6fa5
 *
Packit Service fb6fa5
 * Event filter function installed on plug windows.
Packit Service fb6fa5
 */
Packit Service fb6fa5
GdkFilterReturn _gtk_plug_windowing_filter_func (GdkXEvent *gdk_xevent,
Packit Service fb6fa5
						 GdkEvent  *event,
Packit Service fb6fa5
						 gpointer   data);
Packit Service fb6fa5
Packit Service fb6fa5
#endif /* __GTK_PLUG_PRIVATE_H__ */