2008-07-01 22:57:50 +00:00
|
|
|
/* GDK - The GIMP Drawing Kit
|
2000-03-28 01:24:44 +00:00
|
|
|
* Copyright (C) 1995-1997 Peter Mattis, Spencer Kimball and Josh MacDonald
|
|
|
|
*
|
|
|
|
* This library is free software; you can redistribute it and/or
|
2000-07-26 11:33:08 +00:00
|
|
|
* modify it under the terms of the GNU Lesser General Public
|
2000-03-28 01:24:44 +00:00
|
|
|
* 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
|
2010-12-11 05:14:53 +00:00
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
2000-07-26 11:33:08 +00:00
|
|
|
* Lesser General Public License for more details.
|
2000-03-28 01:24:44 +00:00
|
|
|
*
|
2000-07-26 11:33:08 +00:00
|
|
|
* You should have received a copy of the GNU Lesser General Public
|
2012-02-27 13:01:10 +00:00
|
|
|
* License along with this library. If not, see <http://www.gnu.org/licenses/>.
|
2000-03-28 01:24:44 +00:00
|
|
|
*/
|
|
|
|
|
|
|
|
/*
|
2000-07-26 11:33:08 +00:00
|
|
|
* Modified by the GTK+ Team and others 1997-2000. See the AUTHORS
|
2000-03-28 01:24:44 +00:00
|
|
|
* file for a list of people on the GTK+ Team. See the ChangeLog
|
|
|
|
* files for a list of changes. These files are distributed with
|
|
|
|
* GTK+ at ftp://ftp.gtk.org/pub/gtk/.
|
|
|
|
*/
|
|
|
|
|
|
|
|
/* Uninstalled header defining types and functions internal to GDK */
|
|
|
|
|
2008-02-16 04:33:48 +00:00
|
|
|
#ifndef __GDK_INTERNALS_H__
|
|
|
|
#define __GDK_INTERNALS_H__
|
|
|
|
|
2007-12-14 11:20:10 +00:00
|
|
|
#include <gio/gio.h>
|
2010-12-11 05:14:53 +00:00
|
|
|
#include "gdkwindowimpl.h"
|
|
|
|
#include "gdkdisplay.h"
|
|
|
|
#include "gdkprivate.h"
|
2000-03-28 01:24:44 +00:00
|
|
|
|
2007-06-19 18:37:14 +00:00
|
|
|
G_BEGIN_DECLS
|
|
|
|
|
2000-03-28 01:24:44 +00:00
|
|
|
/**********************
|
|
|
|
* General Facilities *
|
|
|
|
**********************/
|
|
|
|
|
|
|
|
/* Debugging support */
|
|
|
|
|
Make gdkx.h the only installed header from gdk/x11. All structures in
Fri Sep 7 11:51:44 2001 Owen Taylor <otaylor@redhat.com>
Make gdkx.h the only installed header from gdk/x11.
All structures in gdk/x11 are opaque.
* gdk/x11/Makefile.am gdk/x11/gdkx.h gdk/x11/gdkprivate-x11.h:
Don't install gdk{drawable,pixmap,window}-x11.h.
* gdk/x11/{gdkcolormap-x11.c, gdkfont-x11.c, gdkx.h, gdkvisual-x11.c:
Move GdkColormapPrivateX11, GdkFontPrivateX GdkImagePrivateX11,
GdkVisualClass into C files.
* gdk/gdkpixmap-x11.[ch]: Make gdk_pixmap_impl_get_type() static.
* gdk/x11/{gdkcolor-x11.c, gdkcursor-x11.c, gdkdrawable-x11.c,
gdkfont-x11.c, gdkgc-x11.c, gdkx.h, gdkimage-x11,gdkvisual-x11.c}
Add public functions to replace previously exported direct
structure access.
gdk_x11_colormap_get_{xdisplay,xcolormap}
gdk_x11_cursor_get_{xdisplay,xcursor},
gdk_x11_drawable_get_{xdisplay,xcursor,gdk_x11_visual_get_xvisual,
gdk_x11_font_get_{xdisplay,xfont}, gdk_x11_image_get_{xdisplay,ximage},
gdk_x11_gc_get_{xdisplay,ximage}
* gdk/gdkprivate.h gdk/gdkinternals.h: Move GdkColorInfo,
GdkEventFilter, GdkClientFilter, GdkFontPrivate to gdkinternals.
Fix a number of variables and functions that were exported
"accidentally" from GDK.
* gdk/**.[ch]: gdk => _gdk for gdk_visual_init,
gdk_events_init, gdk_input_init, gdk_dnd_init, gdk_image_exit,
gdk_input_exit, gdk_windowing_exit, gdk_event_func, gdk_event_data,
gdk_event_notify, gdk_queued_events, gdk_queued_tail,
gdk_event_new, gdk_events_queue, gdk_events_unqueue,
gdk_event_queue_find_first, gdk_event_queue_remove_link,
gdk_event_queue_append, gdk_event_button_generate,
gdk_debug_flags, gdk_default_filters, gdk_parent_root.
* gdk/x11/{gdkevents-x11.c, gdkglobals-x11.c, gdkimage-x11.c,
gdkmain-x11.c, gdkprivate-x11.h, gdk/x11/gdkwindow-x11.c}:
gdk => _gdk for gdk_event_mask_table, gkd_nevent_masks,
gdk_wm_window_protocols, gdk_leader_window, gdk_xgrab_window,
gdk_use_xshm, gdk_input_ignore_core.
* gdk/x11/xsettings-common.h (xsettings_list_insert): Add
#defines to namespace functions into the private _gdk_
namespace.
* gdk/gdkwindow.[ch] gdk/x11/gdkx.h: Add gdk_get_default_root_window ()
to replace gdk_parent_root exported variable. Adjust and
deprecate GDK_ROOT_PARENT().
* demos/{testpixbuf-drawable.c,testpixbuf-save.c}: Fix
GDK_ROOT_PARENT usage, remove includes of port-specific
headers.
* gdk/{win32,x11,fb}/gdkinput*.[ch]: s/gdk/_gdk/ for
_gdk_input_gxid_host, _gdk_input_gxid_port, _gdk_input_ignore_core,
gdk_input_devices, _gdk_input_windows, gdk_init_input_core.
* gdk/x11/{gdkevents-x11.,c gdkglobals-x11.c, gdkmain-x11.c}
docs/Changes-2.0.txt: Remove gdk_wm_protocols,
gdk_wm_delete_window functions, gdk_wm_take_focus,
use gdk_atom_intern() instead.
* gdk/linux-fb/{gdkselection-fb.c, gdkmain-fb.c, gdkprivatefb.h}
gdk/win32/{gdkselection-win32.c, gdkmgdkwin32.h, gdkprivate-win32.h}
gdk/x11/{gdkselection-x11.c gdkx.h, gtkprivate-x11.h}
gtk/gtkselection.c
Unexport gdk_selection_property, just use
gdk_atom_intern ("GDK_SELECTION").
* gdk/x11/{gdkprivate-x11.h,gdkdrawable-x11h,gdkgc-x11.c,gdkx.h}:
Unexport gdk_drawable_impl_x11_get_type, gdk_gc_x11_get_type,
GDK_GC_X11 cast macros, GdkGCX11 structures, GdkCursorPrivate,
GdkVisualprivate, gdk_x11_gc_flush.
Make a number of public exports of variables into functions
to increase encapsulation.
* gdk/gdkinternals.h gdk/gdkinput.h gdk/gdkevents.h
gdk/linux-fb/gdkmouse-fb.c: gdk_core_pointer => _gdk_core_pointer,
move to gdkinternals.h. Add gdk_device_get_core_pointer ().
* gdk/gdkprivate.h gdk/gdkpango.c gdk/gdkinternals.h
docs/Changes-2.0.txt: Unexport gdk_parent_root, gdk_error_code,
gdk_error_warnings.
* gdk/x11/{gdkcolormap-x11.c, gdkmain-x11.c, gdkx.h}
docs/Changes-2.0.txt:
s/gdk_screen/_gdk_screen/, add gdk_x11_get_default_screen()
s/gdk_root_window/_gdk_root_window/, add gdk_x11_get_default_root_xwindow()
Add gdk_x11_get_default_xdisplay().
* gdk/gdk.h gdk/gdk.c linux-fb/gdkfb.h linux-fb/gdkglobals-fb.c
win32/gdkwin32.h x11/gdkglobals-x11.c gdk/x11/gdkmain-x11.c
gdk/x11/gdkx.h: gdk/gdk.def: Add gdk_get/set_program_class,
Don't export gdk_progclass, move --class command line
option and handling to common portion of GDK.
Miscellaneous fixes:
* gdk/x11/gdkwindow-x11.c (gdk_window_set_icon_list): Fix
g_return_val_if_fail that should have been g_return_if_fail.
* gdk/gdkinternals.h gdk/gdkprivate.h: Move
gdk_synthesize_window_state() to the semi-public gdkprivate.h.
* gtk/gtkdnd.c (_gtk_drag_source_handle_event): Remove uneeded
X11 dependency.
* gdk/linux-fb/gdkmain-fb.c gdk/win32/gdkmain-win32.c gdk/TODO:
Remove unused gdk_key_repeat_disable/restore.
* linux-fb/gdkglobals-fb.c win32/gdkglobals-win32.c
x11/gdkglobals-x11.c x11/gdkprivate-x11.h gdk/gdk.def:
Remove unused gdk_null_window_warnings variable.
* gdk/Makefile.am (DIST_SUBDIRS) nanox/*: cvs remove nanox;
it can be retrieved from the repository; it is too far
from functional to be worth having people check out;
it would be easier to start from scratch, I suspect.
* gdk/x11/gdkpixmap-x11.c: Fix lvalue usage of GDK_PIXMAP_XID().
* gdk/x11/gdkkeys-x11.c gdk/gdkrgb.c gdk/gdkwindow.c
gdk/x11/gdkpango-x11.c gdk/x11/gdkselection-x11.c:
Fix some accidentally global variables and unused global variables.
* gdk/x11/gdkkeys-x11.c gdk/gdkrgb.c gdk/gdkwindow.c
gdk/x11/gdkpango-x11.c gdk/x11/gdkselection-x11.c:
Fix some accidentally global variables and unused global variables.
Add some space for future expansion to multihead.
* gdk/gdkdrawable.h: Add four reserved function pointers
for future expansion of GdkDrawableClass.
* gtk/gtkwindow.h gtk/gtkinvisible.h: Add reserved pointer
where we can put a GdkScreen * later.
2001-09-07 21:50:20 +00:00
|
|
|
typedef struct _GdkColorInfo GdkColorInfo;
|
2010-12-11 05:14:53 +00:00
|
|
|
typedef struct _GdkEventFilter GdkEventFilter;
|
|
|
|
typedef struct _GdkClientFilter GdkClientFilter;
|
Make gdkx.h the only installed header from gdk/x11. All structures in
Fri Sep 7 11:51:44 2001 Owen Taylor <otaylor@redhat.com>
Make gdkx.h the only installed header from gdk/x11.
All structures in gdk/x11 are opaque.
* gdk/x11/Makefile.am gdk/x11/gdkx.h gdk/x11/gdkprivate-x11.h:
Don't install gdk{drawable,pixmap,window}-x11.h.
* gdk/x11/{gdkcolormap-x11.c, gdkfont-x11.c, gdkx.h, gdkvisual-x11.c:
Move GdkColormapPrivateX11, GdkFontPrivateX GdkImagePrivateX11,
GdkVisualClass into C files.
* gdk/gdkpixmap-x11.[ch]: Make gdk_pixmap_impl_get_type() static.
* gdk/x11/{gdkcolor-x11.c, gdkcursor-x11.c, gdkdrawable-x11.c,
gdkfont-x11.c, gdkgc-x11.c, gdkx.h, gdkimage-x11,gdkvisual-x11.c}
Add public functions to replace previously exported direct
structure access.
gdk_x11_colormap_get_{xdisplay,xcolormap}
gdk_x11_cursor_get_{xdisplay,xcursor},
gdk_x11_drawable_get_{xdisplay,xcursor,gdk_x11_visual_get_xvisual,
gdk_x11_font_get_{xdisplay,xfont}, gdk_x11_image_get_{xdisplay,ximage},
gdk_x11_gc_get_{xdisplay,ximage}
* gdk/gdkprivate.h gdk/gdkinternals.h: Move GdkColorInfo,
GdkEventFilter, GdkClientFilter, GdkFontPrivate to gdkinternals.
Fix a number of variables and functions that were exported
"accidentally" from GDK.
* gdk/**.[ch]: gdk => _gdk for gdk_visual_init,
gdk_events_init, gdk_input_init, gdk_dnd_init, gdk_image_exit,
gdk_input_exit, gdk_windowing_exit, gdk_event_func, gdk_event_data,
gdk_event_notify, gdk_queued_events, gdk_queued_tail,
gdk_event_new, gdk_events_queue, gdk_events_unqueue,
gdk_event_queue_find_first, gdk_event_queue_remove_link,
gdk_event_queue_append, gdk_event_button_generate,
gdk_debug_flags, gdk_default_filters, gdk_parent_root.
* gdk/x11/{gdkevents-x11.c, gdkglobals-x11.c, gdkimage-x11.c,
gdkmain-x11.c, gdkprivate-x11.h, gdk/x11/gdkwindow-x11.c}:
gdk => _gdk for gdk_event_mask_table, gkd_nevent_masks,
gdk_wm_window_protocols, gdk_leader_window, gdk_xgrab_window,
gdk_use_xshm, gdk_input_ignore_core.
* gdk/x11/xsettings-common.h (xsettings_list_insert): Add
#defines to namespace functions into the private _gdk_
namespace.
* gdk/gdkwindow.[ch] gdk/x11/gdkx.h: Add gdk_get_default_root_window ()
to replace gdk_parent_root exported variable. Adjust and
deprecate GDK_ROOT_PARENT().
* demos/{testpixbuf-drawable.c,testpixbuf-save.c}: Fix
GDK_ROOT_PARENT usage, remove includes of port-specific
headers.
* gdk/{win32,x11,fb}/gdkinput*.[ch]: s/gdk/_gdk/ for
_gdk_input_gxid_host, _gdk_input_gxid_port, _gdk_input_ignore_core,
gdk_input_devices, _gdk_input_windows, gdk_init_input_core.
* gdk/x11/{gdkevents-x11.,c gdkglobals-x11.c, gdkmain-x11.c}
docs/Changes-2.0.txt: Remove gdk_wm_protocols,
gdk_wm_delete_window functions, gdk_wm_take_focus,
use gdk_atom_intern() instead.
* gdk/linux-fb/{gdkselection-fb.c, gdkmain-fb.c, gdkprivatefb.h}
gdk/win32/{gdkselection-win32.c, gdkmgdkwin32.h, gdkprivate-win32.h}
gdk/x11/{gdkselection-x11.c gdkx.h, gtkprivate-x11.h}
gtk/gtkselection.c
Unexport gdk_selection_property, just use
gdk_atom_intern ("GDK_SELECTION").
* gdk/x11/{gdkprivate-x11.h,gdkdrawable-x11h,gdkgc-x11.c,gdkx.h}:
Unexport gdk_drawable_impl_x11_get_type, gdk_gc_x11_get_type,
GDK_GC_X11 cast macros, GdkGCX11 structures, GdkCursorPrivate,
GdkVisualprivate, gdk_x11_gc_flush.
Make a number of public exports of variables into functions
to increase encapsulation.
* gdk/gdkinternals.h gdk/gdkinput.h gdk/gdkevents.h
gdk/linux-fb/gdkmouse-fb.c: gdk_core_pointer => _gdk_core_pointer,
move to gdkinternals.h. Add gdk_device_get_core_pointer ().
* gdk/gdkprivate.h gdk/gdkpango.c gdk/gdkinternals.h
docs/Changes-2.0.txt: Unexport gdk_parent_root, gdk_error_code,
gdk_error_warnings.
* gdk/x11/{gdkcolormap-x11.c, gdkmain-x11.c, gdkx.h}
docs/Changes-2.0.txt:
s/gdk_screen/_gdk_screen/, add gdk_x11_get_default_screen()
s/gdk_root_window/_gdk_root_window/, add gdk_x11_get_default_root_xwindow()
Add gdk_x11_get_default_xdisplay().
* gdk/gdk.h gdk/gdk.c linux-fb/gdkfb.h linux-fb/gdkglobals-fb.c
win32/gdkwin32.h x11/gdkglobals-x11.c gdk/x11/gdkmain-x11.c
gdk/x11/gdkx.h: gdk/gdk.def: Add gdk_get/set_program_class,
Don't export gdk_progclass, move --class command line
option and handling to common portion of GDK.
Miscellaneous fixes:
* gdk/x11/gdkwindow-x11.c (gdk_window_set_icon_list): Fix
g_return_val_if_fail that should have been g_return_if_fail.
* gdk/gdkinternals.h gdk/gdkprivate.h: Move
gdk_synthesize_window_state() to the semi-public gdkprivate.h.
* gtk/gtkdnd.c (_gtk_drag_source_handle_event): Remove uneeded
X11 dependency.
* gdk/linux-fb/gdkmain-fb.c gdk/win32/gdkmain-win32.c gdk/TODO:
Remove unused gdk_key_repeat_disable/restore.
* linux-fb/gdkglobals-fb.c win32/gdkglobals-win32.c
x11/gdkglobals-x11.c x11/gdkprivate-x11.h gdk/gdk.def:
Remove unused gdk_null_window_warnings variable.
* gdk/Makefile.am (DIST_SUBDIRS) nanox/*: cvs remove nanox;
it can be retrieved from the repository; it is too far
from functional to be worth having people check out;
it would be easier to start from scratch, I suspect.
* gdk/x11/gdkpixmap-x11.c: Fix lvalue usage of GDK_PIXMAP_XID().
* gdk/x11/gdkkeys-x11.c gdk/gdkrgb.c gdk/gdkwindow.c
gdk/x11/gdkpango-x11.c gdk/x11/gdkselection-x11.c:
Fix some accidentally global variables and unused global variables.
* gdk/x11/gdkkeys-x11.c gdk/gdkrgb.c gdk/gdkwindow.c
gdk/x11/gdkpango-x11.c gdk/x11/gdkselection-x11.c:
Fix some accidentally global variables and unused global variables.
Add some space for future expansion to multihead.
* gdk/gdkdrawable.h: Add four reserved function pointers
for future expansion of GdkDrawableClass.
* gtk/gtkwindow.h gtk/gtkinvisible.h: Add reserved pointer
where we can put a GdkScreen * later.
2001-09-07 21:50:20 +00:00
|
|
|
|
|
|
|
typedef enum {
|
|
|
|
GDK_COLOR_WRITEABLE = 1 << 0
|
|
|
|
} GdkColorInfoFlags;
|
|
|
|
|
|
|
|
struct _GdkColorInfo
|
|
|
|
{
|
|
|
|
GdkColorInfoFlags flags;
|
|
|
|
guint ref_count;
|
|
|
|
};
|
|
|
|
|
2010-11-20 22:58:50 +00:00
|
|
|
typedef enum {
|
|
|
|
GDK_EVENT_FILTER_REMOVED = 1 << 0
|
|
|
|
} GdkEventFilterFlags;
|
|
|
|
|
Make gdkx.h the only installed header from gdk/x11. All structures in
Fri Sep 7 11:51:44 2001 Owen Taylor <otaylor@redhat.com>
Make gdkx.h the only installed header from gdk/x11.
All structures in gdk/x11 are opaque.
* gdk/x11/Makefile.am gdk/x11/gdkx.h gdk/x11/gdkprivate-x11.h:
Don't install gdk{drawable,pixmap,window}-x11.h.
* gdk/x11/{gdkcolormap-x11.c, gdkfont-x11.c, gdkx.h, gdkvisual-x11.c:
Move GdkColormapPrivateX11, GdkFontPrivateX GdkImagePrivateX11,
GdkVisualClass into C files.
* gdk/gdkpixmap-x11.[ch]: Make gdk_pixmap_impl_get_type() static.
* gdk/x11/{gdkcolor-x11.c, gdkcursor-x11.c, gdkdrawable-x11.c,
gdkfont-x11.c, gdkgc-x11.c, gdkx.h, gdkimage-x11,gdkvisual-x11.c}
Add public functions to replace previously exported direct
structure access.
gdk_x11_colormap_get_{xdisplay,xcolormap}
gdk_x11_cursor_get_{xdisplay,xcursor},
gdk_x11_drawable_get_{xdisplay,xcursor,gdk_x11_visual_get_xvisual,
gdk_x11_font_get_{xdisplay,xfont}, gdk_x11_image_get_{xdisplay,ximage},
gdk_x11_gc_get_{xdisplay,ximage}
* gdk/gdkprivate.h gdk/gdkinternals.h: Move GdkColorInfo,
GdkEventFilter, GdkClientFilter, GdkFontPrivate to gdkinternals.
Fix a number of variables and functions that were exported
"accidentally" from GDK.
* gdk/**.[ch]: gdk => _gdk for gdk_visual_init,
gdk_events_init, gdk_input_init, gdk_dnd_init, gdk_image_exit,
gdk_input_exit, gdk_windowing_exit, gdk_event_func, gdk_event_data,
gdk_event_notify, gdk_queued_events, gdk_queued_tail,
gdk_event_new, gdk_events_queue, gdk_events_unqueue,
gdk_event_queue_find_first, gdk_event_queue_remove_link,
gdk_event_queue_append, gdk_event_button_generate,
gdk_debug_flags, gdk_default_filters, gdk_parent_root.
* gdk/x11/{gdkevents-x11.c, gdkglobals-x11.c, gdkimage-x11.c,
gdkmain-x11.c, gdkprivate-x11.h, gdk/x11/gdkwindow-x11.c}:
gdk => _gdk for gdk_event_mask_table, gkd_nevent_masks,
gdk_wm_window_protocols, gdk_leader_window, gdk_xgrab_window,
gdk_use_xshm, gdk_input_ignore_core.
* gdk/x11/xsettings-common.h (xsettings_list_insert): Add
#defines to namespace functions into the private _gdk_
namespace.
* gdk/gdkwindow.[ch] gdk/x11/gdkx.h: Add gdk_get_default_root_window ()
to replace gdk_parent_root exported variable. Adjust and
deprecate GDK_ROOT_PARENT().
* demos/{testpixbuf-drawable.c,testpixbuf-save.c}: Fix
GDK_ROOT_PARENT usage, remove includes of port-specific
headers.
* gdk/{win32,x11,fb}/gdkinput*.[ch]: s/gdk/_gdk/ for
_gdk_input_gxid_host, _gdk_input_gxid_port, _gdk_input_ignore_core,
gdk_input_devices, _gdk_input_windows, gdk_init_input_core.
* gdk/x11/{gdkevents-x11.,c gdkglobals-x11.c, gdkmain-x11.c}
docs/Changes-2.0.txt: Remove gdk_wm_protocols,
gdk_wm_delete_window functions, gdk_wm_take_focus,
use gdk_atom_intern() instead.
* gdk/linux-fb/{gdkselection-fb.c, gdkmain-fb.c, gdkprivatefb.h}
gdk/win32/{gdkselection-win32.c, gdkmgdkwin32.h, gdkprivate-win32.h}
gdk/x11/{gdkselection-x11.c gdkx.h, gtkprivate-x11.h}
gtk/gtkselection.c
Unexport gdk_selection_property, just use
gdk_atom_intern ("GDK_SELECTION").
* gdk/x11/{gdkprivate-x11.h,gdkdrawable-x11h,gdkgc-x11.c,gdkx.h}:
Unexport gdk_drawable_impl_x11_get_type, gdk_gc_x11_get_type,
GDK_GC_X11 cast macros, GdkGCX11 structures, GdkCursorPrivate,
GdkVisualprivate, gdk_x11_gc_flush.
Make a number of public exports of variables into functions
to increase encapsulation.
* gdk/gdkinternals.h gdk/gdkinput.h gdk/gdkevents.h
gdk/linux-fb/gdkmouse-fb.c: gdk_core_pointer => _gdk_core_pointer,
move to gdkinternals.h. Add gdk_device_get_core_pointer ().
* gdk/gdkprivate.h gdk/gdkpango.c gdk/gdkinternals.h
docs/Changes-2.0.txt: Unexport gdk_parent_root, gdk_error_code,
gdk_error_warnings.
* gdk/x11/{gdkcolormap-x11.c, gdkmain-x11.c, gdkx.h}
docs/Changes-2.0.txt:
s/gdk_screen/_gdk_screen/, add gdk_x11_get_default_screen()
s/gdk_root_window/_gdk_root_window/, add gdk_x11_get_default_root_xwindow()
Add gdk_x11_get_default_xdisplay().
* gdk/gdk.h gdk/gdk.c linux-fb/gdkfb.h linux-fb/gdkglobals-fb.c
win32/gdkwin32.h x11/gdkglobals-x11.c gdk/x11/gdkmain-x11.c
gdk/x11/gdkx.h: gdk/gdk.def: Add gdk_get/set_program_class,
Don't export gdk_progclass, move --class command line
option and handling to common portion of GDK.
Miscellaneous fixes:
* gdk/x11/gdkwindow-x11.c (gdk_window_set_icon_list): Fix
g_return_val_if_fail that should have been g_return_if_fail.
* gdk/gdkinternals.h gdk/gdkprivate.h: Move
gdk_synthesize_window_state() to the semi-public gdkprivate.h.
* gtk/gtkdnd.c (_gtk_drag_source_handle_event): Remove uneeded
X11 dependency.
* gdk/linux-fb/gdkmain-fb.c gdk/win32/gdkmain-win32.c gdk/TODO:
Remove unused gdk_key_repeat_disable/restore.
* linux-fb/gdkglobals-fb.c win32/gdkglobals-win32.c
x11/gdkglobals-x11.c x11/gdkprivate-x11.h gdk/gdk.def:
Remove unused gdk_null_window_warnings variable.
* gdk/Makefile.am (DIST_SUBDIRS) nanox/*: cvs remove nanox;
it can be retrieved from the repository; it is too far
from functional to be worth having people check out;
it would be easier to start from scratch, I suspect.
* gdk/x11/gdkpixmap-x11.c: Fix lvalue usage of GDK_PIXMAP_XID().
* gdk/x11/gdkkeys-x11.c gdk/gdkrgb.c gdk/gdkwindow.c
gdk/x11/gdkpango-x11.c gdk/x11/gdkselection-x11.c:
Fix some accidentally global variables and unused global variables.
* gdk/x11/gdkkeys-x11.c gdk/gdkrgb.c gdk/gdkwindow.c
gdk/x11/gdkpango-x11.c gdk/x11/gdkselection-x11.c:
Fix some accidentally global variables and unused global variables.
Add some space for future expansion to multihead.
* gdk/gdkdrawable.h: Add four reserved function pointers
for future expansion of GdkDrawableClass.
* gtk/gtkwindow.h gtk/gtkinvisible.h: Add reserved pointer
where we can put a GdkScreen * later.
2001-09-07 21:50:20 +00:00
|
|
|
struct _GdkEventFilter {
|
|
|
|
GdkFilterFunc function;
|
|
|
|
gpointer data;
|
2010-11-20 22:58:50 +00:00
|
|
|
GdkEventFilterFlags flags;
|
|
|
|
guint ref_count;
|
Make gdkx.h the only installed header from gdk/x11. All structures in
Fri Sep 7 11:51:44 2001 Owen Taylor <otaylor@redhat.com>
Make gdkx.h the only installed header from gdk/x11.
All structures in gdk/x11 are opaque.
* gdk/x11/Makefile.am gdk/x11/gdkx.h gdk/x11/gdkprivate-x11.h:
Don't install gdk{drawable,pixmap,window}-x11.h.
* gdk/x11/{gdkcolormap-x11.c, gdkfont-x11.c, gdkx.h, gdkvisual-x11.c:
Move GdkColormapPrivateX11, GdkFontPrivateX GdkImagePrivateX11,
GdkVisualClass into C files.
* gdk/gdkpixmap-x11.[ch]: Make gdk_pixmap_impl_get_type() static.
* gdk/x11/{gdkcolor-x11.c, gdkcursor-x11.c, gdkdrawable-x11.c,
gdkfont-x11.c, gdkgc-x11.c, gdkx.h, gdkimage-x11,gdkvisual-x11.c}
Add public functions to replace previously exported direct
structure access.
gdk_x11_colormap_get_{xdisplay,xcolormap}
gdk_x11_cursor_get_{xdisplay,xcursor},
gdk_x11_drawable_get_{xdisplay,xcursor,gdk_x11_visual_get_xvisual,
gdk_x11_font_get_{xdisplay,xfont}, gdk_x11_image_get_{xdisplay,ximage},
gdk_x11_gc_get_{xdisplay,ximage}
* gdk/gdkprivate.h gdk/gdkinternals.h: Move GdkColorInfo,
GdkEventFilter, GdkClientFilter, GdkFontPrivate to gdkinternals.
Fix a number of variables and functions that were exported
"accidentally" from GDK.
* gdk/**.[ch]: gdk => _gdk for gdk_visual_init,
gdk_events_init, gdk_input_init, gdk_dnd_init, gdk_image_exit,
gdk_input_exit, gdk_windowing_exit, gdk_event_func, gdk_event_data,
gdk_event_notify, gdk_queued_events, gdk_queued_tail,
gdk_event_new, gdk_events_queue, gdk_events_unqueue,
gdk_event_queue_find_first, gdk_event_queue_remove_link,
gdk_event_queue_append, gdk_event_button_generate,
gdk_debug_flags, gdk_default_filters, gdk_parent_root.
* gdk/x11/{gdkevents-x11.c, gdkglobals-x11.c, gdkimage-x11.c,
gdkmain-x11.c, gdkprivate-x11.h, gdk/x11/gdkwindow-x11.c}:
gdk => _gdk for gdk_event_mask_table, gkd_nevent_masks,
gdk_wm_window_protocols, gdk_leader_window, gdk_xgrab_window,
gdk_use_xshm, gdk_input_ignore_core.
* gdk/x11/xsettings-common.h (xsettings_list_insert): Add
#defines to namespace functions into the private _gdk_
namespace.
* gdk/gdkwindow.[ch] gdk/x11/gdkx.h: Add gdk_get_default_root_window ()
to replace gdk_parent_root exported variable. Adjust and
deprecate GDK_ROOT_PARENT().
* demos/{testpixbuf-drawable.c,testpixbuf-save.c}: Fix
GDK_ROOT_PARENT usage, remove includes of port-specific
headers.
* gdk/{win32,x11,fb}/gdkinput*.[ch]: s/gdk/_gdk/ for
_gdk_input_gxid_host, _gdk_input_gxid_port, _gdk_input_ignore_core,
gdk_input_devices, _gdk_input_windows, gdk_init_input_core.
* gdk/x11/{gdkevents-x11.,c gdkglobals-x11.c, gdkmain-x11.c}
docs/Changes-2.0.txt: Remove gdk_wm_protocols,
gdk_wm_delete_window functions, gdk_wm_take_focus,
use gdk_atom_intern() instead.
* gdk/linux-fb/{gdkselection-fb.c, gdkmain-fb.c, gdkprivatefb.h}
gdk/win32/{gdkselection-win32.c, gdkmgdkwin32.h, gdkprivate-win32.h}
gdk/x11/{gdkselection-x11.c gdkx.h, gtkprivate-x11.h}
gtk/gtkselection.c
Unexport gdk_selection_property, just use
gdk_atom_intern ("GDK_SELECTION").
* gdk/x11/{gdkprivate-x11.h,gdkdrawable-x11h,gdkgc-x11.c,gdkx.h}:
Unexport gdk_drawable_impl_x11_get_type, gdk_gc_x11_get_type,
GDK_GC_X11 cast macros, GdkGCX11 structures, GdkCursorPrivate,
GdkVisualprivate, gdk_x11_gc_flush.
Make a number of public exports of variables into functions
to increase encapsulation.
* gdk/gdkinternals.h gdk/gdkinput.h gdk/gdkevents.h
gdk/linux-fb/gdkmouse-fb.c: gdk_core_pointer => _gdk_core_pointer,
move to gdkinternals.h. Add gdk_device_get_core_pointer ().
* gdk/gdkprivate.h gdk/gdkpango.c gdk/gdkinternals.h
docs/Changes-2.0.txt: Unexport gdk_parent_root, gdk_error_code,
gdk_error_warnings.
* gdk/x11/{gdkcolormap-x11.c, gdkmain-x11.c, gdkx.h}
docs/Changes-2.0.txt:
s/gdk_screen/_gdk_screen/, add gdk_x11_get_default_screen()
s/gdk_root_window/_gdk_root_window/, add gdk_x11_get_default_root_xwindow()
Add gdk_x11_get_default_xdisplay().
* gdk/gdk.h gdk/gdk.c linux-fb/gdkfb.h linux-fb/gdkglobals-fb.c
win32/gdkwin32.h x11/gdkglobals-x11.c gdk/x11/gdkmain-x11.c
gdk/x11/gdkx.h: gdk/gdk.def: Add gdk_get/set_program_class,
Don't export gdk_progclass, move --class command line
option and handling to common portion of GDK.
Miscellaneous fixes:
* gdk/x11/gdkwindow-x11.c (gdk_window_set_icon_list): Fix
g_return_val_if_fail that should have been g_return_if_fail.
* gdk/gdkinternals.h gdk/gdkprivate.h: Move
gdk_synthesize_window_state() to the semi-public gdkprivate.h.
* gtk/gtkdnd.c (_gtk_drag_source_handle_event): Remove uneeded
X11 dependency.
* gdk/linux-fb/gdkmain-fb.c gdk/win32/gdkmain-win32.c gdk/TODO:
Remove unused gdk_key_repeat_disable/restore.
* linux-fb/gdkglobals-fb.c win32/gdkglobals-win32.c
x11/gdkglobals-x11.c x11/gdkprivate-x11.h gdk/gdk.def:
Remove unused gdk_null_window_warnings variable.
* gdk/Makefile.am (DIST_SUBDIRS) nanox/*: cvs remove nanox;
it can be retrieved from the repository; it is too far
from functional to be worth having people check out;
it would be easier to start from scratch, I suspect.
* gdk/x11/gdkpixmap-x11.c: Fix lvalue usage of GDK_PIXMAP_XID().
* gdk/x11/gdkkeys-x11.c gdk/gdkrgb.c gdk/gdkwindow.c
gdk/x11/gdkpango-x11.c gdk/x11/gdkselection-x11.c:
Fix some accidentally global variables and unused global variables.
* gdk/x11/gdkkeys-x11.c gdk/gdkrgb.c gdk/gdkwindow.c
gdk/x11/gdkpango-x11.c gdk/x11/gdkselection-x11.c:
Fix some accidentally global variables and unused global variables.
Add some space for future expansion to multihead.
* gdk/gdkdrawable.h: Add four reserved function pointers
for future expansion of GdkDrawableClass.
* gtk/gtkwindow.h gtk/gtkinvisible.h: Add reserved pointer
where we can put a GdkScreen * later.
2001-09-07 21:50:20 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
struct _GdkClientFilter {
|
|
|
|
GdkAtom type;
|
|
|
|
GdkFilterFunc function;
|
|
|
|
gpointer data;
|
|
|
|
};
|
|
|
|
|
2000-03-28 01:24:44 +00:00
|
|
|
typedef enum {
|
2011-01-16 16:03:40 +00:00
|
|
|
GDK_DEBUG_MISC = 1 << 0,
|
|
|
|
GDK_DEBUG_EVENTS = 1 << 1,
|
|
|
|
GDK_DEBUG_DND = 1 << 2,
|
|
|
|
GDK_DEBUG_XIM = 1 << 3,
|
|
|
|
GDK_DEBUG_NOGRABS = 1 << 4,
|
|
|
|
GDK_DEBUG_INPUT = 1 << 5,
|
|
|
|
GDK_DEBUG_CURSOR = 1 << 6,
|
|
|
|
GDK_DEBUG_MULTIHEAD = 1 << 7,
|
|
|
|
GDK_DEBUG_XINERAMA = 1 << 8,
|
|
|
|
GDK_DEBUG_DRAW = 1 << 9,
|
2012-11-15 00:21:33 +00:00
|
|
|
GDK_DEBUG_EVENTLOOP = 1 << 10,
|
2013-02-12 15:11:46 +00:00
|
|
|
GDK_DEBUG_FRAMES = 1 << 11,
|
|
|
|
GDK_DEBUG_SETTINGS = 1 << 12
|
2000-03-28 01:24:44 +00:00
|
|
|
} GdkDebugFlag;
|
|
|
|
|
2011-03-11 00:10:37 +00:00
|
|
|
typedef enum {
|
|
|
|
GDK_RENDERING_MODE_SIMILAR = 0,
|
|
|
|
GDK_RENDERING_MODE_IMAGE,
|
|
|
|
GDK_RENDERING_MODE_RECORDING
|
|
|
|
} GdkRenderingMode;
|
|
|
|
|
Make gdkx.h the only installed header from gdk/x11. All structures in
Fri Sep 7 11:51:44 2001 Owen Taylor <otaylor@redhat.com>
Make gdkx.h the only installed header from gdk/x11.
All structures in gdk/x11 are opaque.
* gdk/x11/Makefile.am gdk/x11/gdkx.h gdk/x11/gdkprivate-x11.h:
Don't install gdk{drawable,pixmap,window}-x11.h.
* gdk/x11/{gdkcolormap-x11.c, gdkfont-x11.c, gdkx.h, gdkvisual-x11.c:
Move GdkColormapPrivateX11, GdkFontPrivateX GdkImagePrivateX11,
GdkVisualClass into C files.
* gdk/gdkpixmap-x11.[ch]: Make gdk_pixmap_impl_get_type() static.
* gdk/x11/{gdkcolor-x11.c, gdkcursor-x11.c, gdkdrawable-x11.c,
gdkfont-x11.c, gdkgc-x11.c, gdkx.h, gdkimage-x11,gdkvisual-x11.c}
Add public functions to replace previously exported direct
structure access.
gdk_x11_colormap_get_{xdisplay,xcolormap}
gdk_x11_cursor_get_{xdisplay,xcursor},
gdk_x11_drawable_get_{xdisplay,xcursor,gdk_x11_visual_get_xvisual,
gdk_x11_font_get_{xdisplay,xfont}, gdk_x11_image_get_{xdisplay,ximage},
gdk_x11_gc_get_{xdisplay,ximage}
* gdk/gdkprivate.h gdk/gdkinternals.h: Move GdkColorInfo,
GdkEventFilter, GdkClientFilter, GdkFontPrivate to gdkinternals.
Fix a number of variables and functions that were exported
"accidentally" from GDK.
* gdk/**.[ch]: gdk => _gdk for gdk_visual_init,
gdk_events_init, gdk_input_init, gdk_dnd_init, gdk_image_exit,
gdk_input_exit, gdk_windowing_exit, gdk_event_func, gdk_event_data,
gdk_event_notify, gdk_queued_events, gdk_queued_tail,
gdk_event_new, gdk_events_queue, gdk_events_unqueue,
gdk_event_queue_find_first, gdk_event_queue_remove_link,
gdk_event_queue_append, gdk_event_button_generate,
gdk_debug_flags, gdk_default_filters, gdk_parent_root.
* gdk/x11/{gdkevents-x11.c, gdkglobals-x11.c, gdkimage-x11.c,
gdkmain-x11.c, gdkprivate-x11.h, gdk/x11/gdkwindow-x11.c}:
gdk => _gdk for gdk_event_mask_table, gkd_nevent_masks,
gdk_wm_window_protocols, gdk_leader_window, gdk_xgrab_window,
gdk_use_xshm, gdk_input_ignore_core.
* gdk/x11/xsettings-common.h (xsettings_list_insert): Add
#defines to namespace functions into the private _gdk_
namespace.
* gdk/gdkwindow.[ch] gdk/x11/gdkx.h: Add gdk_get_default_root_window ()
to replace gdk_parent_root exported variable. Adjust and
deprecate GDK_ROOT_PARENT().
* demos/{testpixbuf-drawable.c,testpixbuf-save.c}: Fix
GDK_ROOT_PARENT usage, remove includes of port-specific
headers.
* gdk/{win32,x11,fb}/gdkinput*.[ch]: s/gdk/_gdk/ for
_gdk_input_gxid_host, _gdk_input_gxid_port, _gdk_input_ignore_core,
gdk_input_devices, _gdk_input_windows, gdk_init_input_core.
* gdk/x11/{gdkevents-x11.,c gdkglobals-x11.c, gdkmain-x11.c}
docs/Changes-2.0.txt: Remove gdk_wm_protocols,
gdk_wm_delete_window functions, gdk_wm_take_focus,
use gdk_atom_intern() instead.
* gdk/linux-fb/{gdkselection-fb.c, gdkmain-fb.c, gdkprivatefb.h}
gdk/win32/{gdkselection-win32.c, gdkmgdkwin32.h, gdkprivate-win32.h}
gdk/x11/{gdkselection-x11.c gdkx.h, gtkprivate-x11.h}
gtk/gtkselection.c
Unexport gdk_selection_property, just use
gdk_atom_intern ("GDK_SELECTION").
* gdk/x11/{gdkprivate-x11.h,gdkdrawable-x11h,gdkgc-x11.c,gdkx.h}:
Unexport gdk_drawable_impl_x11_get_type, gdk_gc_x11_get_type,
GDK_GC_X11 cast macros, GdkGCX11 structures, GdkCursorPrivate,
GdkVisualprivate, gdk_x11_gc_flush.
Make a number of public exports of variables into functions
to increase encapsulation.
* gdk/gdkinternals.h gdk/gdkinput.h gdk/gdkevents.h
gdk/linux-fb/gdkmouse-fb.c: gdk_core_pointer => _gdk_core_pointer,
move to gdkinternals.h. Add gdk_device_get_core_pointer ().
* gdk/gdkprivate.h gdk/gdkpango.c gdk/gdkinternals.h
docs/Changes-2.0.txt: Unexport gdk_parent_root, gdk_error_code,
gdk_error_warnings.
* gdk/x11/{gdkcolormap-x11.c, gdkmain-x11.c, gdkx.h}
docs/Changes-2.0.txt:
s/gdk_screen/_gdk_screen/, add gdk_x11_get_default_screen()
s/gdk_root_window/_gdk_root_window/, add gdk_x11_get_default_root_xwindow()
Add gdk_x11_get_default_xdisplay().
* gdk/gdk.h gdk/gdk.c linux-fb/gdkfb.h linux-fb/gdkglobals-fb.c
win32/gdkwin32.h x11/gdkglobals-x11.c gdk/x11/gdkmain-x11.c
gdk/x11/gdkx.h: gdk/gdk.def: Add gdk_get/set_program_class,
Don't export gdk_progclass, move --class command line
option and handling to common portion of GDK.
Miscellaneous fixes:
* gdk/x11/gdkwindow-x11.c (gdk_window_set_icon_list): Fix
g_return_val_if_fail that should have been g_return_if_fail.
* gdk/gdkinternals.h gdk/gdkprivate.h: Move
gdk_synthesize_window_state() to the semi-public gdkprivate.h.
* gtk/gtkdnd.c (_gtk_drag_source_handle_event): Remove uneeded
X11 dependency.
* gdk/linux-fb/gdkmain-fb.c gdk/win32/gdkmain-win32.c gdk/TODO:
Remove unused gdk_key_repeat_disable/restore.
* linux-fb/gdkglobals-fb.c win32/gdkglobals-win32.c
x11/gdkglobals-x11.c x11/gdkprivate-x11.h gdk/gdk.def:
Remove unused gdk_null_window_warnings variable.
* gdk/Makefile.am (DIST_SUBDIRS) nanox/*: cvs remove nanox;
it can be retrieved from the repository; it is too far
from functional to be worth having people check out;
it would be easier to start from scratch, I suspect.
* gdk/x11/gdkpixmap-x11.c: Fix lvalue usage of GDK_PIXMAP_XID().
* gdk/x11/gdkkeys-x11.c gdk/gdkrgb.c gdk/gdkwindow.c
gdk/x11/gdkpango-x11.c gdk/x11/gdkselection-x11.c:
Fix some accidentally global variables and unused global variables.
* gdk/x11/gdkkeys-x11.c gdk/gdkrgb.c gdk/gdkwindow.c
gdk/x11/gdkpango-x11.c gdk/x11/gdkselection-x11.c:
Fix some accidentally global variables and unused global variables.
Add some space for future expansion to multihead.
* gdk/gdkdrawable.h: Add four reserved function pointers
for future expansion of GdkDrawableClass.
* gtk/gtkwindow.h gtk/gtkinvisible.h: Add reserved pointer
where we can put a GdkScreen * later.
2001-09-07 21:50:20 +00:00
|
|
|
extern GList *_gdk_default_filters;
|
2010-12-11 05:14:53 +00:00
|
|
|
extern GdkWindow *_gdk_parent_root;
|
Make gdkx.h the only installed header from gdk/x11. All structures in
Fri Sep 7 11:51:44 2001 Owen Taylor <otaylor@redhat.com>
Make gdkx.h the only installed header from gdk/x11.
All structures in gdk/x11 are opaque.
* gdk/x11/Makefile.am gdk/x11/gdkx.h gdk/x11/gdkprivate-x11.h:
Don't install gdk{drawable,pixmap,window}-x11.h.
* gdk/x11/{gdkcolormap-x11.c, gdkfont-x11.c, gdkx.h, gdkvisual-x11.c:
Move GdkColormapPrivateX11, GdkFontPrivateX GdkImagePrivateX11,
GdkVisualClass into C files.
* gdk/gdkpixmap-x11.[ch]: Make gdk_pixmap_impl_get_type() static.
* gdk/x11/{gdkcolor-x11.c, gdkcursor-x11.c, gdkdrawable-x11.c,
gdkfont-x11.c, gdkgc-x11.c, gdkx.h, gdkimage-x11,gdkvisual-x11.c}
Add public functions to replace previously exported direct
structure access.
gdk_x11_colormap_get_{xdisplay,xcolormap}
gdk_x11_cursor_get_{xdisplay,xcursor},
gdk_x11_drawable_get_{xdisplay,xcursor,gdk_x11_visual_get_xvisual,
gdk_x11_font_get_{xdisplay,xfont}, gdk_x11_image_get_{xdisplay,ximage},
gdk_x11_gc_get_{xdisplay,ximage}
* gdk/gdkprivate.h gdk/gdkinternals.h: Move GdkColorInfo,
GdkEventFilter, GdkClientFilter, GdkFontPrivate to gdkinternals.
Fix a number of variables and functions that were exported
"accidentally" from GDK.
* gdk/**.[ch]: gdk => _gdk for gdk_visual_init,
gdk_events_init, gdk_input_init, gdk_dnd_init, gdk_image_exit,
gdk_input_exit, gdk_windowing_exit, gdk_event_func, gdk_event_data,
gdk_event_notify, gdk_queued_events, gdk_queued_tail,
gdk_event_new, gdk_events_queue, gdk_events_unqueue,
gdk_event_queue_find_first, gdk_event_queue_remove_link,
gdk_event_queue_append, gdk_event_button_generate,
gdk_debug_flags, gdk_default_filters, gdk_parent_root.
* gdk/x11/{gdkevents-x11.c, gdkglobals-x11.c, gdkimage-x11.c,
gdkmain-x11.c, gdkprivate-x11.h, gdk/x11/gdkwindow-x11.c}:
gdk => _gdk for gdk_event_mask_table, gkd_nevent_masks,
gdk_wm_window_protocols, gdk_leader_window, gdk_xgrab_window,
gdk_use_xshm, gdk_input_ignore_core.
* gdk/x11/xsettings-common.h (xsettings_list_insert): Add
#defines to namespace functions into the private _gdk_
namespace.
* gdk/gdkwindow.[ch] gdk/x11/gdkx.h: Add gdk_get_default_root_window ()
to replace gdk_parent_root exported variable. Adjust and
deprecate GDK_ROOT_PARENT().
* demos/{testpixbuf-drawable.c,testpixbuf-save.c}: Fix
GDK_ROOT_PARENT usage, remove includes of port-specific
headers.
* gdk/{win32,x11,fb}/gdkinput*.[ch]: s/gdk/_gdk/ for
_gdk_input_gxid_host, _gdk_input_gxid_port, _gdk_input_ignore_core,
gdk_input_devices, _gdk_input_windows, gdk_init_input_core.
* gdk/x11/{gdkevents-x11.,c gdkglobals-x11.c, gdkmain-x11.c}
docs/Changes-2.0.txt: Remove gdk_wm_protocols,
gdk_wm_delete_window functions, gdk_wm_take_focus,
use gdk_atom_intern() instead.
* gdk/linux-fb/{gdkselection-fb.c, gdkmain-fb.c, gdkprivatefb.h}
gdk/win32/{gdkselection-win32.c, gdkmgdkwin32.h, gdkprivate-win32.h}
gdk/x11/{gdkselection-x11.c gdkx.h, gtkprivate-x11.h}
gtk/gtkselection.c
Unexport gdk_selection_property, just use
gdk_atom_intern ("GDK_SELECTION").
* gdk/x11/{gdkprivate-x11.h,gdkdrawable-x11h,gdkgc-x11.c,gdkx.h}:
Unexport gdk_drawable_impl_x11_get_type, gdk_gc_x11_get_type,
GDK_GC_X11 cast macros, GdkGCX11 structures, GdkCursorPrivate,
GdkVisualprivate, gdk_x11_gc_flush.
Make a number of public exports of variables into functions
to increase encapsulation.
* gdk/gdkinternals.h gdk/gdkinput.h gdk/gdkevents.h
gdk/linux-fb/gdkmouse-fb.c: gdk_core_pointer => _gdk_core_pointer,
move to gdkinternals.h. Add gdk_device_get_core_pointer ().
* gdk/gdkprivate.h gdk/gdkpango.c gdk/gdkinternals.h
docs/Changes-2.0.txt: Unexport gdk_parent_root, gdk_error_code,
gdk_error_warnings.
* gdk/x11/{gdkcolormap-x11.c, gdkmain-x11.c, gdkx.h}
docs/Changes-2.0.txt:
s/gdk_screen/_gdk_screen/, add gdk_x11_get_default_screen()
s/gdk_root_window/_gdk_root_window/, add gdk_x11_get_default_root_xwindow()
Add gdk_x11_get_default_xdisplay().
* gdk/gdk.h gdk/gdk.c linux-fb/gdkfb.h linux-fb/gdkglobals-fb.c
win32/gdkwin32.h x11/gdkglobals-x11.c gdk/x11/gdkmain-x11.c
gdk/x11/gdkx.h: gdk/gdk.def: Add gdk_get/set_program_class,
Don't export gdk_progclass, move --class command line
option and handling to common portion of GDK.
Miscellaneous fixes:
* gdk/x11/gdkwindow-x11.c (gdk_window_set_icon_list): Fix
g_return_val_if_fail that should have been g_return_if_fail.
* gdk/gdkinternals.h gdk/gdkprivate.h: Move
gdk_synthesize_window_state() to the semi-public gdkprivate.h.
* gtk/gtkdnd.c (_gtk_drag_source_handle_event): Remove uneeded
X11 dependency.
* gdk/linux-fb/gdkmain-fb.c gdk/win32/gdkmain-win32.c gdk/TODO:
Remove unused gdk_key_repeat_disable/restore.
* linux-fb/gdkglobals-fb.c win32/gdkglobals-win32.c
x11/gdkglobals-x11.c x11/gdkprivate-x11.h gdk/gdk.def:
Remove unused gdk_null_window_warnings variable.
* gdk/Makefile.am (DIST_SUBDIRS) nanox/*: cvs remove nanox;
it can be retrieved from the repository; it is too far
from functional to be worth having people check out;
it would be easier to start from scratch, I suspect.
* gdk/x11/gdkpixmap-x11.c: Fix lvalue usage of GDK_PIXMAP_XID().
* gdk/x11/gdkkeys-x11.c gdk/gdkrgb.c gdk/gdkwindow.c
gdk/x11/gdkpango-x11.c gdk/x11/gdkselection-x11.c:
Fix some accidentally global variables and unused global variables.
* gdk/x11/gdkkeys-x11.c gdk/gdkrgb.c gdk/gdkwindow.c
gdk/x11/gdkpango-x11.c gdk/x11/gdkselection-x11.c:
Fix some accidentally global variables and unused global variables.
Add some space for future expansion to multihead.
* gdk/gdkdrawable.h: Add four reserved function pointers
for future expansion of GdkDrawableClass.
* gtk/gtkwindow.h gtk/gtkinvisible.h: Add reserved pointer
where we can put a GdkScreen * later.
2001-09-07 21:50:20 +00:00
|
|
|
|
|
|
|
extern guint _gdk_debug_flags;
|
2011-03-11 00:10:37 +00:00
|
|
|
extern GdkRenderingMode _gdk_rendering_mode;
|
2000-03-28 01:24:44 +00:00
|
|
|
|
|
|
|
#ifdef G_ENABLE_DEBUG
|
|
|
|
|
2010-12-11 05:14:53 +00:00
|
|
|
#define GDK_NOTE(type,action) G_STMT_START { \
|
|
|
|
if (_gdk_debug_flags & GDK_DEBUG_##type) \
|
|
|
|
{ action; }; } G_STMT_END
|
2000-03-28 01:24:44 +00:00
|
|
|
|
|
|
|
#else /* !G_ENABLE_DEBUG */
|
|
|
|
|
|
|
|
#define GDK_NOTE(type,action)
|
|
|
|
|
|
|
|
#endif /* G_ENABLE_DEBUG */
|
|
|
|
|
|
|
|
/* Arg parsing */
|
|
|
|
|
|
|
|
typedef enum
|
|
|
|
{
|
|
|
|
GDK_ARG_STRING,
|
|
|
|
GDK_ARG_INT,
|
|
|
|
GDK_ARG_BOOL,
|
|
|
|
GDK_ARG_NOBOOL,
|
|
|
|
GDK_ARG_CALLBACK
|
|
|
|
} GdkArgType;
|
|
|
|
|
|
|
|
typedef struct _GdkArgContext GdkArgContext;
|
|
|
|
typedef struct _GdkArgDesc GdkArgDesc;
|
|
|
|
|
|
|
|
typedef void (*GdkArgFunc) (const char *name, const char *arg, gpointer data);
|
|
|
|
|
|
|
|
struct _GdkArgContext
|
|
|
|
{
|
|
|
|
GPtrArray *tables;
|
|
|
|
gpointer cb_data;
|
|
|
|
};
|
|
|
|
|
|
|
|
struct _GdkArgDesc
|
|
|
|
{
|
|
|
|
const char *name;
|
|
|
|
GdkArgType type;
|
|
|
|
gpointer location;
|
|
|
|
GdkArgFunc callback;
|
|
|
|
};
|
|
|
|
|
|
|
|
/* Event handling */
|
|
|
|
|
2002-08-24 22:03:46 +00:00
|
|
|
typedef struct _GdkEventPrivate GdkEventPrivate;
|
|
|
|
|
|
|
|
typedef enum
|
|
|
|
{
|
|
|
|
/* Following flag is set for events on the event queue during
|
|
|
|
* translation and cleared afterwards.
|
|
|
|
*/
|
2011-12-28 00:37:01 +00:00
|
|
|
GDK_EVENT_PENDING = 1 << 0,
|
|
|
|
|
|
|
|
/* The following flag is set for:
|
|
|
|
* 1) touch events emulating pointer events
|
|
|
|
* 2) pointer events being emulated by a touch sequence.
|
|
|
|
*/
|
2013-11-11 23:04:34 +00:00
|
|
|
GDK_EVENT_POINTER_EMULATED = 1 << 1,
|
|
|
|
|
|
|
|
/* When we are ready to draw a frame, we pause event delivery,
|
|
|
|
* mark all events in the queue with this flag, and deliver
|
|
|
|
* only those events until we finish the frame.
|
|
|
|
*/
|
|
|
|
GDK_EVENT_FLUSHED = 1 << 2
|
2002-08-24 22:03:46 +00:00
|
|
|
} GdkEventFlags;
|
|
|
|
|
|
|
|
struct _GdkEventPrivate
|
|
|
|
{
|
2002-10-02 22:30:37 +00:00
|
|
|
GdkEvent event;
|
|
|
|
guint flags;
|
|
|
|
GdkScreen *screen;
|
2008-05-06 21:00:06 +00:00
|
|
|
gpointer windowing_data;
|
2010-05-25 22:38:44 +00:00
|
|
|
GdkDevice *device;
|
2010-12-13 01:12:43 +00:00
|
|
|
GdkDevice *source_device;
|
2002-08-24 22:03:46 +00:00
|
|
|
};
|
|
|
|
|
2010-11-22 23:55:39 +00:00
|
|
|
typedef struct _GdkWindowPaint GdkWindowPaint;
|
2009-02-18 11:49:34 +00:00
|
|
|
|
2010-11-22 23:55:39 +00:00
|
|
|
struct _GdkWindow
|
2009-02-18 11:49:34 +00:00
|
|
|
{
|
2010-11-23 00:54:37 +00:00
|
|
|
GObject parent_instance;
|
2009-02-18 11:49:34 +00:00
|
|
|
|
2011-04-12 14:35:34 +00:00
|
|
|
GdkWindowImpl *impl; /* window-system-specific delegate object */
|
|
|
|
|
2010-11-22 23:55:39 +00:00
|
|
|
GdkWindow *parent;
|
2010-08-28 23:05:59 +00:00
|
|
|
GdkVisual *visual;
|
2009-02-18 11:49:34 +00:00
|
|
|
|
|
|
|
gpointer user_data;
|
|
|
|
|
|
|
|
gint x;
|
|
|
|
gint y;
|
2011-04-12 14:35:34 +00:00
|
|
|
|
|
|
|
GdkEventMask event_mask;
|
2014-01-12 14:39:23 +00:00
|
|
|
guint8 window_type;
|
|
|
|
|
|
|
|
guint8 depth;
|
|
|
|
guint8 resize_count;
|
|
|
|
|
|
|
|
gint8 toplevel_window_type;
|
2009-02-18 11:49:34 +00:00
|
|
|
|
|
|
|
GList *filters;
|
|
|
|
GList *children;
|
2013-05-15 08:23:14 +00:00
|
|
|
GList *native_children;
|
2009-02-18 11:49:34 +00:00
|
|
|
|
2010-08-15 21:50:02 +00:00
|
|
|
cairo_pattern_t *background;
|
2011-04-12 14:35:34 +00:00
|
|
|
|
2009-02-18 11:49:34 +00:00
|
|
|
GSList *paint_stack;
|
2011-04-12 14:35:34 +00:00
|
|
|
|
2010-06-28 12:54:37 +00:00
|
|
|
cairo_region_t *update_area;
|
2009-02-18 11:49:34 +00:00
|
|
|
guint update_freeze_count;
|
2011-04-12 14:35:34 +00:00
|
|
|
|
2014-01-12 14:39:23 +00:00
|
|
|
GdkWindowState state;
|
2009-02-18 11:49:34 +00:00
|
|
|
|
2012-11-07 12:03:32 +00:00
|
|
|
guint8 alpha;
|
2014-01-12 14:39:23 +00:00
|
|
|
guint8 fullscreen_mode;
|
2011-04-12 14:35:34 +00:00
|
|
|
|
2009-02-18 11:49:34 +00:00
|
|
|
guint guffaw_gravity : 1;
|
|
|
|
guint input_only : 1;
|
|
|
|
guint modal_hint : 1;
|
|
|
|
guint composited : 1;
|
2011-12-01 12:57:27 +00:00
|
|
|
guint has_alpha_background : 1;
|
2011-04-12 14:35:34 +00:00
|
|
|
|
2009-02-18 11:49:34 +00:00
|
|
|
guint destroyed : 2;
|
|
|
|
|
|
|
|
guint accept_focus : 1;
|
|
|
|
guint focus_on_map : 1;
|
|
|
|
guint shaped : 1;
|
2010-05-25 22:38:44 +00:00
|
|
|
guint support_multidevice : 1;
|
2011-04-12 14:35:34 +00:00
|
|
|
guint synthesize_crossing_event_queued : 1;
|
|
|
|
guint effective_visibility : 2;
|
|
|
|
guint visibility : 2; /* The visibility wrt the toplevel (i.e. based on clip_region) */
|
|
|
|
guint native_visibility : 2; /* the native visibility of a impl windows */
|
|
|
|
guint viewable : 1; /* mapped and all parents mapped */
|
|
|
|
guint applied_shape : 1;
|
2013-04-17 21:06:07 +00:00
|
|
|
guint in_update : 1;
|
2013-05-15 08:55:59 +00:00
|
|
|
guint geometry_dirty : 1;
|
2013-10-29 21:43:05 +00:00
|
|
|
guint event_compression : 1;
|
2009-02-18 11:49:34 +00:00
|
|
|
|
2010-11-22 23:55:39 +00:00
|
|
|
/* The GdkWindow that has the impl, ref:ed if another window.
|
2009-02-18 11:49:34 +00:00
|
|
|
* This ref is required to keep the wrapper of the impl window alive
|
|
|
|
* for as long as any GdkWindow references the impl. */
|
2011-04-12 14:35:34 +00:00
|
|
|
GdkWindow *impl_window;
|
|
|
|
|
|
|
|
guint update_and_descendants_freeze_count;
|
|
|
|
|
|
|
|
gint abs_x, abs_y; /* Absolute offset in impl */
|
2009-02-18 11:49:34 +00:00
|
|
|
gint width, height;
|
2011-04-12 14:35:34 +00:00
|
|
|
|
2014-01-12 14:39:23 +00:00
|
|
|
guint num_offscreen_children;
|
|
|
|
|
2011-12-01 12:57:47 +00:00
|
|
|
/* The clip region is the part of the window, in window coordinates
|
|
|
|
that is fully or partially (i.e. semi transparently) visible in
|
|
|
|
the window hierarchy from the toplevel and down */
|
|
|
|
cairo_region_t *clip_region;
|
|
|
|
/* This is the clip region, with additionally all the opaque
|
|
|
|
child windows removed */
|
|
|
|
cairo_region_t *clip_region_with_children;
|
|
|
|
/* The layered region is the subset of clip_region that
|
|
|
|
is covered by non-opaque sibling or ancestor sibling window. */
|
|
|
|
cairo_region_t *layered_region;
|
|
|
|
|
2009-02-18 11:49:34 +00:00
|
|
|
GdkCursor *cursor;
|
2010-05-25 22:38:44 +00:00
|
|
|
GHashTable *device_cursor;
|
2009-02-18 11:49:34 +00:00
|
|
|
|
2010-06-28 12:54:37 +00:00
|
|
|
cairo_region_t *shape;
|
|
|
|
cairo_region_t *input_shape;
|
2011-04-12 14:35:34 +00:00
|
|
|
|
2009-02-18 11:49:34 +00:00
|
|
|
cairo_surface_t *cairo_surface;
|
2010-05-25 22:38:44 +00:00
|
|
|
|
|
|
|
GList *devices_inside;
|
|
|
|
GHashTable *device_events;
|
2010-12-13 11:28:18 +00:00
|
|
|
|
|
|
|
GHashTable *source_event_masks;
|
|
|
|
gulong device_added_handler_id;
|
|
|
|
gulong device_changed_handler_id;
|
2011-04-12 14:35:34 +00:00
|
|
|
|
2012-10-03 22:34:01 +00:00
|
|
|
GdkFrameClock *frame_clock; /* NULL to use from parent or default */
|
2013-04-20 23:27:07 +00:00
|
|
|
GdkWindowInvalidateHandlerFunc invalidate_handler;
|
2009-02-18 11:49:34 +00:00
|
|
|
};
|
|
|
|
|
2013-05-03 08:44:44 +00:00
|
|
|
#define GDK_WINDOW_TYPE(d) ((((GdkWindow *)(d)))->window_type)
|
|
|
|
#define GDK_WINDOW_DESTROYED(d) (((GdkWindow *)(d))->destroyed)
|
2009-02-18 11:49:34 +00:00
|
|
|
|
2002-04-25 22:29:14 +00:00
|
|
|
extern gchar *_gdk_display_name;
|
2002-10-31 21:12:23 +00:00
|
|
|
extern gint _gdk_screen_number;
|
|
|
|
extern gchar *_gdk_display_arg_name;
|
2010-12-12 23:55:19 +00:00
|
|
|
extern gboolean _gdk_disable_multidevice;
|
2002-04-25 22:29:14 +00:00
|
|
|
|
|
|
|
GdkEvent* _gdk_event_unqueue (GdkDisplay *display);
|
2000-03-28 01:24:44 +00:00
|
|
|
|
2010-12-17 13:03:01 +00:00
|
|
|
void _gdk_event_filter_unref (GdkWindow *window,
|
|
|
|
GdkEventFilter *filter);
|
|
|
|
|
2011-12-28 00:37:01 +00:00
|
|
|
void _gdk_event_set_pointer_emulated (GdkEvent *event,
|
|
|
|
gboolean emulated);
|
|
|
|
gboolean _gdk_event_get_pointer_emulated (GdkEvent *event);
|
|
|
|
|
2010-12-02 09:59:37 +00:00
|
|
|
void _gdk_event_emit (GdkEvent *event);
|
2008-07-18 13:03:42 +00:00
|
|
|
GList* _gdk_event_queue_find_first (GdkDisplay *display);
|
|
|
|
void _gdk_event_queue_remove_link (GdkDisplay *display,
|
2010-12-11 05:14:53 +00:00
|
|
|
GList *node);
|
2008-07-18 13:03:42 +00:00
|
|
|
GList* _gdk_event_queue_prepend (GdkDisplay *display,
|
2010-12-11 05:14:53 +00:00
|
|
|
GdkEvent *event);
|
2008-07-18 13:03:42 +00:00
|
|
|
GList* _gdk_event_queue_append (GdkDisplay *display,
|
2010-12-11 05:14:53 +00:00
|
|
|
GdkEvent *event);
|
2008-07-18 13:03:42 +00:00
|
|
|
GList* _gdk_event_queue_insert_after (GdkDisplay *display,
|
|
|
|
GdkEvent *after_event,
|
|
|
|
GdkEvent *event);
|
|
|
|
GList* _gdk_event_queue_insert_before(GdkDisplay *display,
|
|
|
|
GdkEvent *after_event,
|
|
|
|
GdkEvent *event);
|
2012-09-26 14:28:06 +00:00
|
|
|
|
|
|
|
void _gdk_event_queue_handle_motion_compression (GdkDisplay *display);
|
2013-11-11 23:04:34 +00:00
|
|
|
void _gdk_event_queue_flush (GdkDisplay *display);
|
2012-09-26 14:28:06 +00:00
|
|
|
|
2008-07-18 13:03:42 +00:00
|
|
|
void _gdk_event_button_generate (GdkDisplay *display,
|
2010-12-11 05:14:53 +00:00
|
|
|
GdkEvent *event);
|
2002-04-25 22:29:14 +00:00
|
|
|
|
2008-05-06 22:35:13 +00:00
|
|
|
void _gdk_windowing_event_data_copy (const GdkEvent *src,
|
|
|
|
GdkEvent *dst);
|
|
|
|
void _gdk_windowing_event_data_free (GdkEvent *event);
|
2008-05-06 21:00:06 +00:00
|
|
|
|
2002-04-25 22:29:14 +00:00
|
|
|
void gdk_synthesize_window_state (GdkWindow *window,
|
|
|
|
GdkWindowState unset_flags,
|
|
|
|
GdkWindowState set_flags);
|
2000-03-28 01:24:44 +00:00
|
|
|
|
2010-08-14 02:40:52 +00:00
|
|
|
gboolean _gdk_cairo_surface_extents (cairo_surface_t *surface,
|
|
|
|
GdkRectangle *extents);
|
2010-05-25 22:38:44 +00:00
|
|
|
|
2000-03-28 01:24:44 +00:00
|
|
|
/*************************************
|
|
|
|
* Interfaces used by windowing code *
|
|
|
|
*************************************/
|
|
|
|
|
2010-11-22 16:23:31 +00:00
|
|
|
cairo_surface_t *
|
|
|
|
_gdk_window_ref_cairo_surface (GdkWindow *window);
|
|
|
|
|
2008-07-18 13:03:42 +00:00
|
|
|
void _gdk_window_destroy (GdkWindow *window,
|
|
|
|
gboolean foreign_destroy);
|
|
|
|
void _gdk_window_clear_update_area (GdkWindow *window);
|
|
|
|
void _gdk_window_update_size (GdkWindow *window);
|
2009-08-11 09:30:55 +00:00
|
|
|
gboolean _gdk_window_update_viewable (GdkWindow *window);
|
2008-07-18 13:03:42 +00:00
|
|
|
|
2009-01-26 18:12:54 +00:00
|
|
|
void _gdk_window_process_updates_recurse (GdkWindow *window,
|
2010-06-28 12:54:37 +00:00
|
|
|
cairo_region_t *expose_region);
|
2009-01-26 18:12:54 +00:00
|
|
|
|
2008-07-18 13:03:42 +00:00
|
|
|
void _gdk_screen_close (GdkScreen *screen);
|
2000-03-28 01:24:44 +00:00
|
|
|
|
|
|
|
/*****************************************
|
|
|
|
* Interfaces provided by windowing code *
|
|
|
|
*****************************************/
|
|
|
|
|
|
|
|
/* Font/string functions implemented in module-specific code */
|
|
|
|
|
|
|
|
void _gdk_cursor_destroy (GdkCursor *cursor);
|
|
|
|
|
2006-04-03 20:36:52 +00:00
|
|
|
extern const GOptionEntry _gdk_windowing_args[];
|
2002-10-31 21:12:23 +00:00
|
|
|
|
2008-12-15 09:24:54 +00:00
|
|
|
void _gdk_windowing_got_event (GdkDisplay *display,
|
2010-12-11 05:14:53 +00:00
|
|
|
GList *event_link,
|
|
|
|
GdkEvent *event,
|
|
|
|
gulong serial);
|
2008-12-15 09:24:54 +00:00
|
|
|
|
2010-11-22 23:55:39 +00:00
|
|
|
#define GDK_WINDOW_IS_MAPPED(window) (((window)->state & GDK_WINDOW_STATE_WITHDRAWN) == 0)
|
2001-02-27 20:40:15 +00:00
|
|
|
|
2008-07-18 13:03:42 +00:00
|
|
|
void _gdk_window_invalidate_for_expose (GdkWindow *window,
|
2010-12-11 05:14:53 +00:00
|
|
|
cairo_region_t *region);
|
2008-07-18 13:03:42 +00:00
|
|
|
|
2009-06-04 16:45:35 +00:00
|
|
|
GdkWindow * _gdk_window_find_child_at (GdkWindow *window,
|
2013-07-03 09:52:58 +00:00
|
|
|
double x, double y);
|
2008-07-18 13:03:42 +00:00
|
|
|
GdkWindow * _gdk_window_find_descendant_at (GdkWindow *toplevel,
|
2010-12-11 05:14:53 +00:00
|
|
|
double x, double y,
|
|
|
|
double *found_x,
|
|
|
|
double *found_y);
|
2008-07-18 13:03:42 +00:00
|
|
|
|
|
|
|
void _gdk_window_add_damage (GdkWindow *toplevel,
|
2010-12-11 05:14:53 +00:00
|
|
|
cairo_region_t *damaged_region);
|
2008-07-18 13:03:42 +00:00
|
|
|
|
|
|
|
GdkEvent * _gdk_make_event (GdkWindow *window,
|
2010-12-11 05:14:53 +00:00
|
|
|
GdkEventType type,
|
|
|
|
GdkEvent *event_in_queue,
|
|
|
|
gboolean before_event);
|
2009-09-04 15:48:49 +00:00
|
|
|
gboolean _gdk_window_event_parent_of (GdkWindow *parent,
|
|
|
|
GdkWindow *child);
|
2008-07-18 13:03:42 +00:00
|
|
|
|
2009-06-18 18:58:13 +00:00
|
|
|
void _gdk_synthesize_crossing_events (GdkDisplay *display,
|
2010-12-11 05:14:53 +00:00
|
|
|
GdkWindow *src,
|
|
|
|
GdkWindow *dest,
|
2010-05-25 22:38:44 +00:00
|
|
|
GdkDevice *device,
|
2010-12-13 01:12:43 +00:00
|
|
|
GdkDevice *source_device,
|
2009-07-09 14:48:22 +00:00
|
|
|
GdkCrossingMode mode,
|
2013-07-03 09:52:58 +00:00
|
|
|
gdouble toplevel_x,
|
|
|
|
gdouble toplevel_y,
|
2009-07-09 14:48:22 +00:00
|
|
|
GdkModifierType mask,
|
|
|
|
guint32 time_,
|
|
|
|
GdkEvent *event_in_queue,
|
|
|
|
gulong serial,
|
|
|
|
gboolean non_linear);
|
2008-12-15 13:02:52 +00:00
|
|
|
void _gdk_display_set_window_under_pointer (GdkDisplay *display,
|
2010-05-25 22:38:44 +00:00
|
|
|
GdkDevice *device,
|
2010-12-11 05:14:53 +00:00
|
|
|
GdkWindow *window);
|
2008-12-15 13:02:52 +00:00
|
|
|
|
2008-07-18 13:03:42 +00:00
|
|
|
|
2009-06-18 18:58:13 +00:00
|
|
|
void _gdk_synthesize_crossing_events_for_geometry_change (GdkWindow *changed_window);
|
2008-07-18 13:03:42 +00:00
|
|
|
|
|
|
|
gboolean _gdk_window_has_impl (GdkWindow *window);
|
|
|
|
GdkWindow * _gdk_window_get_impl_window (GdkWindow *window);
|
|
|
|
|
|
|
|
/*****************************
|
|
|
|
* offscreen window routines *
|
|
|
|
*****************************/
|
|
|
|
GType gdk_offscreen_window_get_type (void);
|
|
|
|
void _gdk_offscreen_window_new (GdkWindow *window,
|
2010-12-11 05:14:53 +00:00
|
|
|
GdkWindowAttr *attributes,
|
|
|
|
gint attributes_mask);
|
2010-10-14 11:25:23 +00:00
|
|
|
cairo_surface_t * _gdk_offscreen_window_create_surface (GdkWindow *window,
|
|
|
|
gint width,
|
|
|
|
gint height);
|
2008-07-18 13:03:42 +00:00
|
|
|
|
2005-06-12 05:32:25 +00:00
|
|
|
G_END_DECLS
|
2000-03-28 01:24:44 +00:00
|
|
|
|
|
|
|
#endif /* __GDK_INTERNALS_H__ */
|