]> Pileus Git - ~andy/gtk/blobdiff - gdk/gdkwindowimpl.h
GtkWindow: Add gtk_window_has_group()
[~andy/gtk] / gdk / gdkwindowimpl.h
index d63e5a1ff3352caad433001c45e63c11602ed27b..dc0ca75e93453e652f1d31a943f81b2a81615bdf 100644 (file)
@@ -43,13 +43,17 @@ struct _GdkWindowImplIface
 {
   GTypeInterface g_iface;
 
-  void         (* show)                 (GdkWindow       *window);
+  void         (* show)                 (GdkWindow       *window,
+                                        gboolean         already_mapped);
   void         (* hide)                 (GdkWindow       *window);
   void         (* withdraw)             (GdkWindow       *window);
   void         (* raise)                (GdkWindow       *window);
   void         (* lower)                (GdkWindow       *window);
   void         (* restack_under)        (GdkWindow       *window,
                                         GList           *native_siblings);
+  void         (* restack_toplevel)     (GdkWindow       *window,
+                                        GdkWindow       *sibling,
+                                        gboolean        above);
 
   void         (* move_resize)          (GdkWindow       *window,
                                          gboolean         with_move,
@@ -70,8 +74,12 @@ struct _GdkWindowImplIface
                                          GdkWindow       *new_parent,
                                          gint             x,
                                          gint             y);
-  
-  void         (* set_cursor)           (GdkWindow       *window,
+  void         (* clear_region)         (GdkWindow       *window,
+                                        GdkRegion       *region,
+                                        gboolean         send_expose);
+
+  void         (* set_device_cursor)    (GdkWindow       *window,
+                                         GdkDevice       *device,
                                          GdkCursor       *cursor);
 
   void         (* get_geometry)         (GdkWindow       *window,
@@ -80,12 +88,19 @@ struct _GdkWindowImplIface
                                          gint            *width,
                                          gint            *height,
                                          gint            *depth);
-  gint         (* get_origin)           (GdkWindow       *window,
-                                         gint            *x,
-                                         gint            *y);
+  gint         (* get_root_coords)      (GdkWindow       *window,
+                                        gint             x,
+                                        gint             y,
+                                         gint            *root_x,
+                                         gint            *root_y);
   gint         (* get_deskrelative_origin) (GdkWindow       *window,
                                          gint            *x,
                                          gint            *y);
+  gboolean     (* get_device_state)     (GdkWindow       *window,
+                                         GdkDevice       *device,
+                                         gint            *x,
+                                         gint            *y,
+                                         GdkModifierType *mask);
 
   void         (* shape_combine_region) (GdkWindow       *window,
                                          const GdkRegion *shape_region,
@@ -108,6 +123,7 @@ struct _GdkWindowImplIface
   gboolean     (* queue_antiexpose)     (GdkWindow       *window,
                                         GdkRegion       *update_area);
   void         (* queue_translation)    (GdkWindow       *window,
+                                        GdkGC           *gc,
                                         GdkRegion       *area,
                                         gint            dx,
                                         gint            dy);
@@ -128,6 +144,7 @@ struct _GdkWindowImplIface
   void         (* destroy)              (GdkWindow       *window,
                                         gboolean         recursing,
                                         gboolean         foreign_destroy);
+  gboolean     supports_native_bg;
 };
 
 /* Interface Functions */