summaryrefslogtreecommitdiff
path: root/gtk/gtkhandlebox.h
diff options
context:
space:
mode:
authorTim Janik <timj@gtk.org>1998-03-21 22:11:26 +0000
committerTim Janik <timj@src.gnome.org>1998-03-21 22:11:26 +0000
commit995d97b0018ec12aec7d238fa45bb890f90f98a5 (patch)
treef7baa33cb98c31e092c785779d40a6b410f37a50 /gtk/gtkhandlebox.h
parenta7960ed953ee1832de599efe93130d41d02d890c (diff)
downloadgdk-pixbuf-995d97b0018ec12aec7d238fa45bb890f90f98a5.tar.gz
major overhaul of the code, fixed all known bugs (hopefully ;).
Sat Mar 21 22:54:31 1998 Tim Janik <timj@gtk.org> * gtk/gtkhandlebox.h: * gtk/gtkhandlebox.c: major overhaul of the code, fixed all known bugs (hopefully ;). Sat Mar 20 15:33:17 1998 Tim Janik <timj@gtk.org> * gtk/gtkwidget.c (gtk_widget_real_show): queue the resize for the parent. Thu Mar 19 02:00:50 1998 Tim Janik <timj@gtk.org> * gtk/gtkwidget.c (gtk_widget_unrealize): unset flags after emission, especially GTK_MAPPED, since that might not have been taken care of by an UNMAP emission.
Diffstat (limited to 'gtk/gtkhandlebox.h')
-rw-r--r--gtk/gtkhandlebox.h13
1 files changed, 6 insertions, 7 deletions
diff --git a/gtk/gtkhandlebox.h b/gtk/gtkhandlebox.h
index 58e68e25b..0727cd244 100644
--- a/gtk/gtkhandlebox.h
+++ b/gtk/gtkhandlebox.h
@@ -47,16 +47,15 @@ struct _GtkHandleBox
{
GtkBin bin;
- GdkWindow *steady_window; /* the window that stays in the parent container */
- GtkWidget *float_window;
- GtkRequisition real_requisition;
- guint is_being_dragged : 1;
- guint is_onroot : 1;
- guint overlap_attaches : 1;
+ GdkWindow *bin_window; /* parent window for children */
+ GdkWindow *float_window;
+ guint handle_position : 2;
+ guint float_window_mapped : 1;
+ guint child_detached : 1;
+ guint in_drag : 1;
GdkCursor *fleur_cursor;
gint dragoff_x, dragoff_y; /* start drag position (wrt widget->window) */
- gint steady_x, steady_y; /* origin of stedy_window (wrt the root window) */
};
struct _GtkHandleBoxClass