summaryrefslogtreecommitdiff
path: root/gtk/gtkhandlebox.h
diff options
context:
space:
mode:
authorArturo Espinosa <unammx@src.gnome.org>1998-01-05 19:41:03 +0000
committerArturo Espinosa <unammx@src.gnome.org>1998-01-05 19:41:03 +0000
commit49517ca8356e2454f777ae6de50051b9424329f8 (patch)
treeab71fbcbbe5bba2faebd560a91d1602510225ebc /gtk/gtkhandlebox.h
parentbe68a5dacb30824b1690834ae3572b6ca1ea27dd (diff)
downloadgtk+-49517ca8356e2454f777ae6de50051b9424329f8.tar.gz
Some geometry management bugs fixed (and some others added -- will fix them
today). Next I will make the handle box use a transient window. It should be done that way, according to the ICCCM. We have to talk to the KDE guys to use their window manager protocol to let the WM know that we don't want decoration on our window. This has to be hacked into other WMs, too. - Federico
Diffstat (limited to 'gtk/gtkhandlebox.h')
-rw-r--r--gtk/gtkhandlebox.h23
1 files changed, 15 insertions, 8 deletions
diff --git a/gtk/gtkhandlebox.h b/gtk/gtkhandlebox.h
index 12f4f3ad40..cc3c5e402b 100644
--- a/gtk/gtkhandlebox.h
+++ b/gtk/gtkhandlebox.h
@@ -15,8 +15,12 @@
* License along with this library; if not, write to the Free
* Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
+
/* The GtkHandleBox is to allow widgets to be dragged in and out of
- their parents */
+ * their parents.
+ */
+
+
#ifndef __GTK_HANDLE_BOX_H__
#define __GTK_HANDLE_BOX_H__
@@ -40,10 +44,11 @@ typedef struct _GtkHandleBoxClass GtkHandleBoxClass;
struct _GtkHandleBox
{
- GtkEventBox event_box;
- GtkWidget *real_parent;
- GtkRequisition real_requisition;
- gboolean is_being_dragged, is_onroot;
+ GtkEventBox event_box;
+ GtkWidget *real_parent;
+ GtkRequisition real_requisition;
+ gboolean is_being_dragged;
+ gboolean is_onroot;
};
struct _GtkHandleBoxClass
@@ -51,17 +56,19 @@ struct _GtkHandleBoxClass
GtkEventBoxClass parent_class;
};
+
guint gtk_handle_box_get_type (void);
GtkWidget* gtk_handle_box_new (void);
/* the x and y coordinates (relative to root window, of course)
are only needed if you pass in_root = TRUE */
void gtk_handle_box_set_location (GtkWidget *widget,
- gboolean in_root,
- gint x, gint y);
+ gboolean in_root,
+ gint x,
+ gint y);
+
#ifdef __cplusplus
}
#endif /* __cplusplus */
-
#endif /* __GTK_HANDLE_BOX_H__ */