diff options
author | Owen Taylor <otaylor@src.gnome.org> | 2001-03-29 21:17:45 +0000 |
---|---|---|
committer | Owen Taylor <otaylor@src.gnome.org> | 2001-03-29 21:17:45 +0000 |
commit | c61a8f282fd3d3fe32efbdb1b41791447a2602da (patch) | |
tree | d478e8dc1b9a2c82361e00e2b411150e115a1309 /gdk/gdkwindow.h | |
parent | 1c537e58537317be98ea0b7596b93a3acf143457 (diff) | |
download | gdk-pixbuf-c61a8f282fd3d3fe32efbdb1b41791447a2602da.tar.gz |
*** empty log message ***
Diffstat (limited to 'gdk/gdkwindow.h')
-rw-r--r-- | gdk/gdkwindow.h | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/gdk/gdkwindow.h b/gdk/gdkwindow.h index 4d0e22b54..dbb91da22 100644 --- a/gdk/gdkwindow.h +++ b/gdk/gdkwindow.h @@ -150,6 +150,19 @@ typedef enum GDK_GRAVITY_STATIC } GdkGravity; + +typedef enum +{ + GDK_WINDOW_EDGE_NORTH_WEST, + GDK_WINDOW_EDGE_NORTH, + GDK_WINDOW_EDGE_NORTH_EAST, + GDK_WINDOW_EDGE_WEST, + GDK_WINDOW_EDGE_EAST, + GDK_WINDOW_EDGE_SOUTH_WEST, + GDK_WINDOW_EDGE_SOUTH, + GDK_WINDOW_EDGE_SOUTH_EAST +} GdkWindowEdge; + struct _GdkWindowAttr { gchar *title; @@ -443,6 +456,18 @@ void gdk_window_unmaximize (GdkWindow *window); void gdk_window_register_dnd (GdkWindow *window); +void gdk_window_begin_resize_drag (GdkWindow *window, + GdkWindowEdge edge, + gint button, + gint root_x, + gint root_y, + guint32 timestamp); +void gdk_window_begin_move_drag (GdkWindow *window, + gint button, + gint root_x, + gint root_y, + guint32 timestamp); + /* Interface for dirty-region queueing */ void gdk_window_invalidate_rect (GdkWindow *window, GdkRectangle *rect, @@ -462,6 +487,13 @@ void gdk_window_process_updates (GdkWindow *window, /* Enable/disable flicker, so you can tell if your code is inefficient. */ void gdk_window_set_debug_updates (gboolean setting); +void gdk_window_constrain_size (GdkGeometry *geometry, + guint flags, + gint width, + gint height, + gint *new_width, + gint *new_height); + #ifdef __cplusplus } #endif /* __cplusplus */ |