27 #ifndef __GDK_WINDOW_H__
28 #define __GDK_WINDOW_H__
30 #if defined(GTK_DISABLE_SINGLE_INCLUDES) && !defined (__GDK_H_INSIDE__) && !defined (GDK_COMPILATION)
31 #error "Only <gdk/gdk.h> can be included directly."
255 #define GDK_TYPE_WINDOW (gdk_window_object_get_type ())
256 #define GDK_WINDOW(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), GDK_TYPE_WINDOW, GdkWindow))
257 #define GDK_WINDOW_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GDK_TYPE_WINDOW, GdkWindowObjectClass))
258 #define GDK_IS_WINDOW(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), GDK_TYPE_WINDOW))
259 #define GDK_IS_WINDOW_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GDK_TYPE_WINDOW))
260 #define GDK_WINDOW_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GDK_TYPE_WINDOW, GdkWindowObjectClass))
262 #ifndef GDK_DISABLE_DEPRECATED
263 #define GDK_WINDOW_OBJECT(object) ((GdkWindowObject *) GDK_WINDOW (object))
265 #ifndef GDK_COMPILATION
334 gint attributes_mask);
387 gboolean override_redirect);
390 gboolean accept_focus);
393 gboolean focus_on_map);
435 gboolean composited);
475 gboolean use_static);
478 #if !defined(GDK_DISABLE_DEPRECATED) || defined(GDK_COMPILATION)
479 #ifndef GDK_MULTIHEAD_SAFE
493 #ifndef GDK_DISABLE_DEPRECATED
515 gboolean skips_taskbar);
517 gboolean skips_pager);
524 #if !defined(GDK_DISABLE_DEPRECATED) || defined(GDK_COMPILATION)
540 const gchar *startup_id);
547 gboolean parent_relative);
583 #if !defined (GDK_DISABLE_DEPRECATED) || defined (GDK_COMPILATION)
628 #if !defined(GDK_MULTIHEAD_SAFE) && !defined(GDK_DISABLE_DEPRECATED)
634 cairo_content_t content,
670 gboolean invalidate_children);
673 gboolean invalidate_children);
676 gboolean (*child_func) (
GdkWindow *, gpointer),
688 gboolean update_children);
727 #ifndef GDK_DISABLE_DEPRECATED
728 #ifndef GDK_MULTIHEAD_SAFE
732 #define GDK_ROOT_PARENT() (gdk_get_default_root_window ())
733 #define gdk_window_get_size gdk_drawable_get_size
734 #define gdk_window_get_type gdk_window_get_window_type
735 #define gdk_window_get_colormap gdk_drawable_get_colormap
736 #define gdk_window_set_colormap gdk_drawable_set_colormap
737 #define gdk_window_ref g_object_ref
738 #define gdk_window_unref g_object_unref
740 #define gdk_window_copy_area(drawable,gc,x,y,source_drawable,source_x,source_y,width,height) \
741 gdk_draw_pixmap(drawable,gc,source_drawable,source_x,source_y,x,y,width,height)
typedefG_BEGIN_DECLS struct _GdkDrawableClass GdkDrawableClass
GdkFilterReturn(* GdkFilterFunc)(GdkXEvent *xevent, GdkEvent *event, gpointer data)
void gdk_window_freeze_toplevel_updates_libgtk_only(GdkWindow *window)
void gdk_window_set_group(GdkWindow *window, GdkWindow *leader)
void gdk_window_remove_redirection(GdkWindow *window)
void gdk_window_restack(GdkWindow *window, GdkWindow *sibling, gboolean above)
void gdk_window_set_hints(GdkWindow *window, gint x, gint y, gint min_width, gint min_height, gint max_width, gint max_height, gint flags)
void gdk_window_set_child_input_shapes(GdkWindow *window)
void gdk_window_set_functions(GdkWindow *window, GdkWMFunction functions)
void gdk_window_move_region(GdkWindow *window, const GdkRegion *region, gint dx, gint dy)
void gdk_window_set_skip_pager_hint(GdkWindow *window, gboolean skips_pager)
void gdk_window_show_unraised(GdkWindow *window)
void gdk_window_set_composited(GdkWindow *window, gboolean composited)
void gdk_window_set_focus_on_map(GdkWindow *window, gboolean focus_on_map)
GdkRegion * gdk_window_get_update_area(GdkWindow *window)
void gdk_window_get_root_coords(GdkWindow *window, gint x, gint y, gint *root_x, gint *root_y)
GdkWindowTypeHint gdk_window_get_type_hint(GdkWindow *window)
void gdk_window_show(GdkWindow *window)
void gdk_window_get_root_origin(GdkWindow *window, gint *x, gint *y)
void gdk_window_add_filter(GdkWindow *window, GdkFilterFunc function, gpointer data)
void gdk_window_set_type_hint(GdkWindow *window, GdkWindowTypeHint hint)
void gdk_set_sm_client_id(const gchar *sm_client_id)
GList * gdk_window_get_toplevels(void)
cairo_surface_t * gdk_window_create_similar_surface(GdkWindow *window, cairo_content_t content, int width, int height)
gint gdk_window_get_origin(GdkWindow *window, gint *x, gint *y)
void gdk_window_set_cursor(GdkWindow *window, GdkCursor *cursor)
void gdk_window_remove_filter(GdkWindow *window, GdkFilterFunc function, gpointer data)
void gdk_window_set_decorations(GdkWindow *window, GdkWMDecoration decorations)
void gdk_window_set_override_redirect(GdkWindow *window, gboolean override_redirect)
void gdk_window_coords_to_parent(GdkWindow *window, gdouble x, gdouble y, gdouble *parent_x, gdouble *parent_y)
void gdk_window_unmaximize(GdkWindow *window)
void gdk_window_resize(GdkWindow *window, gint width, gint height)
gboolean gdk_window_is_input_only(GdkWindow *window)
gboolean gdk_window_is_viewable(GdkWindow *window)
void gdk_window_beep(GdkWindow *window)
void gdk_window_merge_child_shapes(GdkWindow *window)
@ GDK_WINDOW_TYPE_HINT_DND
@ GDK_WINDOW_TYPE_HINT_TOOLBAR
@ GDK_WINDOW_TYPE_HINT_DROPDOWN_MENU
@ GDK_WINDOW_TYPE_HINT_NOTIFICATION
@ GDK_WINDOW_TYPE_HINT_DESKTOP
@ GDK_WINDOW_TYPE_HINT_COMBO
@ GDK_WINDOW_TYPE_HINT_UTILITY
@ GDK_WINDOW_TYPE_HINT_NORMAL
@ GDK_WINDOW_TYPE_HINT_DOCK
@ GDK_WINDOW_TYPE_HINT_MENU
@ GDK_WINDOW_TYPE_HINT_DIALOG
@ GDK_WINDOW_TYPE_HINT_POPUP_MENU
@ GDK_WINDOW_TYPE_HINT_TOOLTIP
@ GDK_WINDOW_TYPE_HINT_SPLASHSCREEN
typedefG_BEGIN_DECLS struct _GdkGeometry GdkGeometry
GdkWindow * gdk_window_lookup(GdkNativeWindow anid)
GdkWindow * gdk_window_get_parent(GdkWindow *window)
void gdk_window_hide(GdkWindow *window)
gboolean gdk_window_has_native(GdkWindow *window)
void gdk_window_input_shape_combine_region(GdkWindow *window, const GdkRegion *shape_region, gint offset_x, gint offset_y)
GdkWindowType gdk_window_get_window_type(GdkWindow *window)
void gdk_window_set_child_shapes(GdkWindow *window)
void gdk_window_begin_move_drag(GdkWindow *window, gint button, gint root_x, gint root_y, guint32 timestamp)
void gdk_window_get_position(GdkWindow *window, gint *x, gint *y)
void gdk_window_fullscreen(GdkWindow *window)
void gdk_window_freeze_updates(GdkWindow *window)
GdkWindow * gdk_window_foreign_new(GdkNativeWindow anid)
void gdk_window_process_all_updates(void)
void gdk_window_set_urgency_hint(GdkWindow *window, gboolean urgent)
GdkWindow * gdk_window_foreign_new_for_display(GdkDisplay *display, GdkNativeWindow anid)
void gdk_window_destroy(GdkWindow *window)
void gdk_window_set_user_data(GdkWindow *window, gpointer user_data)
GdkPointerHooks * gdk_set_pointer_hooks(const GdkPointerHooks *new_hooks)
void gdk_window_thaw_updates(GdkWindow *window)
GdkEventMask gdk_window_get_events(GdkWindow *window)
void gdk_window_set_title(GdkWindow *window, const gchar *title)
void gdk_window_begin_paint_rect(GdkWindow *window, const GdkRectangle *rectangle)
gboolean gdk_window_is_shaped(GdkWindow *window)
void gdk_window_set_events(GdkWindow *window, GdkEventMask event_mask)
void gdk_window_input_shape_combine_mask(GdkWindow *window, GdkBitmap *mask, gint x, gint y)
void gdk_window_scroll(GdkWindow *window, gint dx, gint dy)
void gdk_window_thaw_toplevel_updates_libgtk_only(GdkWindow *window)
void gdk_window_move(GdkWindow *window, gint x, gint y)
void gdk_window_set_back_pixmap(GdkWindow *window, GdkPixmap *pixmap, gboolean parent_relative)
int gdk_window_get_width(GdkWindow *window)
GdkWindow * gdk_window_get_effective_parent(GdkWindow *window)
GdkWindow * gdk_window_get_toplevel(GdkWindow *window)
void gdk_window_move_resize(GdkWindow *window, gint x, gint y, gint width, gint height)
void gdk_window_invalidate_region(GdkWindow *window, const GdkRegion *region, gboolean invalidate_children)
GdkDisplay * gdk_window_get_display(GdkWindow *window)
void gdk_window_process_updates(GdkWindow *window, gboolean update_children)
GdkCursor * gdk_window_get_cursor(GdkWindow *window)
void gdk_window_redirect_to_drawable(GdkWindow *window, GdkDrawable *drawable, gint src_x, gint src_y, gint dest_x, gint dest_y, gint width, gint height)
void gdk_window_set_icon_list(GdkWindow *window, GList *pixbufs)
void gdk_window_clear_area(GdkWindow *window, gint x, gint y, gint width, gint height)
void gdk_window_set_geometry_hints(GdkWindow *window, const GdkGeometry *geometry, GdkWindowHints geom_mask)
gboolean gdk_window_get_composited(GdkWindow *window)
void gdk_window_flush(GdkWindow *window)
void gdk_window_shape_combine_region(GdkWindow *window, const GdkRegion *shape_region, gint offset_x, gint offset_y)
void gdk_window_invalidate_rect(GdkWindow *window, const GdkRectangle *rect, gboolean invalidate_children)
GdkPixmap * gdk_offscreen_window_get_pixmap(GdkWindow *window)
gboolean gdk_window_ensure_native(GdkWindow *window)
GdkWindow * gdk_offscreen_window_get_embedder(GdkWindow *window)
GType gdk_window_object_get_type(void) G_GNUC_CONST
void gdk_window_merge_child_input_shapes(GdkWindow *window)
void gdk_window_set_icon_name(GdkWindow *window, const gchar *name)
void gdk_window_reparent(GdkWindow *window, GdkWindow *new_parent, gint x, gint y)
void gdk_window_set_opacity(GdkWindow *window, gdouble opacity)
void gdk_window_coords_from_parent(GdkWindow *window, gdouble parent_x, gdouble parent_y, gdouble *x, gdouble *y)
void gdk_window_stick(GdkWindow *window)
void(* GdkWindowModalNotify)(GdkWindow *, gboolean)
void gdk_window_set_startup_id(GdkWindow *window, const gchar *startup_id)
void gdk_window_register_dnd(GdkWindow *window)
void gdk_window_set_background(GdkWindow *window, const GdkColor *color)
void gdk_window_clear(GdkWindow *window)
void gdk_window_geometry_changed(GdkWindow *window)
void gdk_window_enable_synchronized_configure(GdkWindow *window)
GdkVisual * gdk_window_get_visual(GdkWindow *window)
void gdk_window_iconify(GdkWindow *window)
gboolean gdk_window_is_destroyed(GdkWindow *window)
void gdk_window_set_icon(GdkWindow *window, GdkWindow *icon_window, GdkPixmap *pixmap, GdkBitmap *mask)
void gdk_window_withdraw(GdkWindow *window)
GdkWindow * gdk_window_lookup_for_display(GdkDisplay *display, GdkNativeWindow anid)
gboolean gdk_window_set_static_gravities(GdkWindow *window, gboolean use_static)
void gdk_window_maximize(GdkWindow *window)
GList * gdk_window_peek_children(GdkWindow *window)
void gdk_window_get_geometry(GdkWindow *window, gint *x, gint *y, gint *width, gint *height, gint *depth)
GdkWindow * gdk_window_get_effective_toplevel(GdkWindow *window)
void gdk_window_lower(GdkWindow *window)
void gdk_window_get_frame_extents(GdkWindow *window, GdkRectangle *rect)
void gdk_window_unstick(GdkWindow *window)
GdkWindow * gdk_get_default_root_window(void)
void gdk_window_invalidate_maybe_recurse(GdkWindow *window, const GdkRegion *region, gboolean(*child_func)(GdkWindow *, gpointer), gpointer user_data)
void gdk_window_begin_resize_drag(GdkWindow *window, GdkWindowEdge edge, gint button, gint root_x, gint root_y, guint32 timestamp)
void gdk_window_set_debug_updates(gboolean setting)
int gdk_window_get_height(GdkWindow *window)
void gdk_window_clear_area_e(GdkWindow *window, gint x, gint y, gint width, gint height)
void gdk_window_begin_paint_region(GdkWindow *window, const GdkRegion *region)
gboolean gdk_window_get_accept_focus(GdkWindow *window)
GdkWindow * gdk_window_get_group(GdkWindow *window)
gboolean gdk_window_get_decorations(GdkWindow *window, GdkWMDecoration *decorations)
void gdk_window_set_role(GdkWindow *window, const gchar *role)
cairo_pattern_t * gdk_window_get_background_pattern(GdkWindow *window)
void gdk_window_set_transient_for(GdkWindow *window, GdkWindow *parent)
GdkWindow * gdk_window_at_pointer(gint *win_x, gint *win_y)
void gdk_window_constrain_size(GdkGeometry *geometry, guint flags, gint width, gint height, gint *new_width, gint *new_height)
void gdk_offscreen_window_set_embedder(GdkWindow *window, GdkWindow *embedder)
gboolean gdk_window_get_focus_on_map(GdkWindow *window)
void gdk_window_set_keep_above(GdkWindow *window, gboolean setting)
void gdk_window_shape_combine_mask(GdkWindow *window, GdkBitmap *mask, gint x, gint y)
GList * gdk_window_get_children(GdkWindow *window)
GdkWindow * gdk_window_new(GdkWindow *parent, GdkWindowAttr *attributes, gint attributes_mask)
void gdk_window_set_accept_focus(GdkWindow *window, gboolean accept_focus)
GdkWindowState gdk_window_get_state(GdkWindow *window)
void gdk_window_get_user_data(GdkWindow *window, gpointer *data)
void gdk_window_focus(GdkWindow *window, guint32 timestamp)
void gdk_window_set_modal_hint(GdkWindow *window, gboolean modal)
gboolean gdk_window_is_visible(GdkWindow *window)
void gdk_window_raise(GdkWindow *window)
void gdk_window_set_modal_notify(GdkWindowModalNotify)
void gdk_window_unfullscreen(GdkWindow *window)
GdkScreen * gdk_window_get_screen(GdkWindow *window)
void gdk_window_set_keep_below(GdkWindow *window, gboolean setting)
@ GDK_WINDOW_EDGE_NORTH_WEST
@ GDK_WINDOW_EDGE_SOUTH_WEST
@ GDK_WINDOW_EDGE_SOUTH_EAST
@ GDK_WINDOW_EDGE_NORTH_EAST
void gdk_window_set_skip_taskbar_hint(GdkWindow *window, gboolean skips_taskbar)
GdkWindow * gdk_window_get_pointer(GdkWindow *window, gint *x, gint *y, GdkModifierType *mask)
gboolean gdk_window_get_modal_hint(GdkWindow *window)
void gdk_window_configure_finished(GdkWindow *window)
void gdk_window_deiconify(GdkWindow *window)
gboolean gdk_window_get_deskrelative_origin(GdkWindow *window, gint *x, gint *y)
void gdk_window_end_paint(GdkWindow *window)
void gdk_window_get_internal_paint_info(GdkWindow *window, GdkDrawable **real_drawable, gint *x_offset, gint *y_offset)
GtkImageIconNameData name
GtkImagePixmapData pixmap
PBD::PropertyDescriptor< uint32_t > color
PBD::PropertyDescriptor< bool > region
void rectangle(Cairo::RefPtr< Cairo::Context > context, double x, double y, double w, double h, double r=10)
GdkWindowType window_type
gboolean override_redirect
GdkWindowTypeHint type_hint
GdkDrawableClass parent_class
GdkRegion * GSEAL(update_area)
GdkPixmap * GSEAL(bg_pixmap)
guint update_and_descendants_freeze_count
guint8 GSEAL(resize_count)
guint update_freeze_count
GdkDrawable parent_instance
guint GSEAL(update_freeze_count)
gpointer GSEAL(user_data)
guint8 GSEAL(window_type)
GdkWindowObject * GSEAL(parent)
GSList * GSEAL(paint_stack)
GdkWindowState GSEAL(state)
GdkWindowRedirect * GSEAL(redirect)
guint GSEAL(update_and_descendants_freeze_count)
GdkDrawable * GSEAL(impl)
GdkWindowRedirect * redirect
guint GSEAL(guffaw_gravity) guint GSEAL(input_only) guint GSEAL(modal_hint) guint GSEAL(composited) guint GSEAL(destroyed) guint GSEAL(accept_focus) guint GSEAL(focus_on_map) guint GSEAL(shaped) GdkEventMask GSEAL(event_mask)
gint GSEAL(extension_events)