forked from AuroraMiddleware/gtk
391727bd0d
This renames the GdkWindow class and related classes (impl, backend subclasses) to surface. Additionally it renames related types: GdkWindowAttr, GdkWindowPaint, GdkWindowWindowClass, GdkWindowType, GdkWindowTypeHint, GdkWindowHints, GdkWindowState, GdkWindowEdge This is an automatic conversion using the below commands: git sed -f g GdkWindowWindowClass GdkSurfaceSurfaceClass git sed -f g GdkWindow GdkSurface git sed -f g "gdk_window\([ _\(\),;]\|$\)" "gdk_surface\1" # Avoid hitting gdk_windowing git sed -f g "GDK_WINDOW\([ _\(]\|$\)" "GDK_SURFACE\1" # Avoid hitting GDK_WINDOWING git sed "GDK_\([A-Z]*\)IS_WINDOW\([_ (]\|$\)" "GDK_\1IS_SURFACE\2" git sed GDK_TYPE_WINDOW GDK_TYPE_SURFACE git sed -f g GdkPointerWindowInfo GdkPointerSurfaceInfo git sed -f g "BROADWAY_WINDOW" "BROADWAY_SURFACE" git sed -f g "broadway_window" "broadway_surface" git sed -f g "BroadwayWindow" "BroadwaySurface" git sed -f g "WAYLAND_WINDOW" "WAYLAND_SURFACE" git sed -f g "wayland_window" "wayland_surface" git sed -f g "WaylandWindow" "WaylandSurface" git sed -f g "X11_WINDOW" "X11_SURFACE" git sed -f g "x11_window" "x11_surface" git sed -f g "X11Window" "X11Surface" git sed -f g "WIN32_WINDOW" "WIN32_SURFACE" git sed -f g "win32_window" "win32_surface" git sed -f g "Win32Window" "Win32Surface" git sed -f g "QUARTZ_WINDOW" "QUARTZ_SURFACE" git sed -f g "quartz_window" "quartz_surface" git sed -f g "QuartzWindow" "QuartzSurface" git checkout NEWS* po-properties
44 lines
2.0 KiB
C
44 lines
2.0 KiB
C
#ifndef __GDK__PRIVATE_H__
|
|
#define __GDK__PRIVATE_H__
|
|
|
|
#include <gdk/gdk.h>
|
|
#include "gdk/gdkinternals.h"
|
|
|
|
/* Private API for use in GTK+ */
|
|
|
|
GdkDisplay * gdk_display_open_default (void);
|
|
|
|
gboolean gdk_device_grab_info (GdkDisplay *display,
|
|
GdkDevice *device,
|
|
GdkSurface **grab_window,
|
|
gboolean *owner_events);
|
|
|
|
void gdk_pre_parse (void);
|
|
|
|
void gdk_surface_freeze_toplevel_updates (GdkSurface *window);
|
|
void gdk_surface_thaw_toplevel_updates (GdkSurface *window);
|
|
|
|
gboolean gdk_surface_supports_edge_constraints (GdkSurface *window);
|
|
|
|
void gdk_surface_move_to_rect (GdkSurface *window,
|
|
const GdkRectangle *rect,
|
|
GdkGravity rect_anchor,
|
|
GdkGravity window_anchor,
|
|
GdkAnchorHints anchor_hints,
|
|
gint rect_anchor_dx,
|
|
gint rect_anchor_dy);
|
|
|
|
GObject * gdk_event_get_user_data (const GdkEvent *event);
|
|
|
|
guint32 gdk_display_get_last_seen_time (GdkDisplay *display);
|
|
|
|
void gdk_display_set_double_click_time (GdkDisplay *display,
|
|
guint msec);
|
|
void gdk_display_set_double_click_distance (GdkDisplay *display,
|
|
guint distance);
|
|
void gdk_display_set_cursor_theme (GdkDisplay *display,
|
|
const char *theme,
|
|
int size);
|
|
|
|
#endif /* __GDK__PRIVATE_H__ */
|