summaryrefslogtreecommitdiff
path: root/gtk/gtkhandlebox.h
diff options
context:
space:
mode:
authorElliot Lee <sopwith@src.gnome.org>1997-12-16 21:39:55 +0000
committerElliot Lee <sopwith@src.gnome.org>1997-12-16 21:39:55 +0000
commitfce69b5a4f5ba6cc616fd960b96ad9bbb68b0723 (patch)
treed6940354e01f5cad9c711d7c67d2d71b85f216b3 /gtk/gtkhandlebox.h
parenta97e3501c8d6f78a418c18a223db939e6c247b8d (diff)
downloadgtk+-fce69b5a4f5ba6cc616fd960b96ad9bbb68b0723.tar.gz
Start of work on a widget to allow you to drag other widgets in and out of
windows (i.e. like KDE has for its menu bars). - sopwith
Diffstat (limited to 'gtk/gtkhandlebox.h')
-rw-r--r--gtk/gtkhandlebox.h58
1 files changed, 58 insertions, 0 deletions
diff --git a/gtk/gtkhandlebox.h b/gtk/gtkhandlebox.h
new file mode 100644
index 0000000000..ad57d46446
--- /dev/null
+++ b/gtk/gtkhandlebox.h
@@ -0,0 +1,58 @@
+/* GTK - The GIMP Toolkit
+ * Copyright (C) 1995-1997 Peter Mattis, Spencer Kimball and Josh MacDonald
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Library General Public
+ * License as published by the Free Software Foundation; either
+ * version 2 of the License, or (at your option) any later version.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Library General Public License for more details.
+ *
+ * You should have received a copy of the GNU Library General Public
+ * License along with this library; if not, write to the Free
+ * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+ */
+#ifndef __GTK_HANDLE_BOX_H__
+#define __GTK_HANDLE_BOX_H__
+
+
+#include <gdk/gdk.h>
+#include <gtk/gtkeventbox.h>
+
+
+#ifdef __cplusplus
+extern "C" {
+#endif /* __cplusplus */
+
+
+#define GTK_HANDLE_BOX(obj) GTK_CHECK_CAST (obj, gtk_handle_box_get_type (), GtkHandleBox)
+#define GTK_HANDLE_BOX_CLASS(klass) GTK_CHECK_CLASS_CAST (klass, gtk_handle_box_get_type (), GtkHandleBoxClass)
+#define GTK_IS_HANDLE_BOX(obj) GTK_CHECK_TYPE (obj, gtk_handle_box_get_type ())
+
+
+typedef struct _GtkHandleBox GtkHandleBox;
+typedef struct _GtkHandleBoxClass GtkHandleBoxClass;
+
+struct _GtkHandleBox
+{
+ GtkEventBox bin;
+ GtkWidget *real_parent;
+};
+
+struct _GtkHandleBoxClass
+{
+ GtkEventBoxClass parent_class;
+};
+
+guint gtk_handle_box_get_type (void);
+GtkWidget* gtk_handle_box_new (void);
+
+#ifdef __cplusplus
+}
+#endif /* __cplusplus */
+
+
+#endif /* __GTK_HANDLE_BOX_H__ */