diff options
author | Tim Janik <timj@src.gnome.org> | 1998-06-16 05:20:05 +0000 |
---|---|---|
committer | Tim Janik <timj@src.gnome.org> | 1998-06-16 05:20:05 +0000 |
commit | 742d01908f754f9473e6a7993276c3aee060d1ec (patch) | |
tree | bfeef446f36bd92a51a6fa3ccd671ec706b0b9c4 /gtk/gtkpaned.h | |
parent | d36df18dee814c690fd5736729ea54175b3be628 (diff) | |
download | gtk+-742d01908f754f9473e6a7993276c3aee060d1ec.tar.gz |
boy! did i really modify that many files?
anyways, here go the child args and a lot of cleanups ;)
you wouldn't want me to put the ChangeLog entry in here, would you?
Diffstat (limited to 'gtk/gtkpaned.h')
-rw-r--r-- | gtk/gtkpaned.h | 31 |
1 files changed, 19 insertions, 12 deletions
diff --git a/gtk/gtkpaned.h b/gtk/gtkpaned.h index fd2990d391..f7e78d88e8 100644 --- a/gtk/gtkpaned.h +++ b/gtk/gtkpaned.h @@ -26,12 +26,15 @@ #ifdef __cplusplus extern "C" { +#pragma } #endif /* __cplusplus */ -#define GTK_PANED(obj) GTK_CHECK_CAST (obj, gtk_paned_get_type (), GtkPaned) -#define GTK_PANED_CLASS(klass) GTK_CHECK_CLASS_CAST (klass, gtk_paned_get_type (), GtkPanedClass) -#define GTK_IS_PANED(obj) GTK_CHECK_TYPE (obj, gtk_paned_get_type ()) +#define GTK_TYPE_PANED (gtk_paned_get_type ()) +#define GTK_PANED(obj) (GTK_CHECK_CAST ((obj), GTK_TYPE_PANED, GtkPaned)) +#define GTK_PANED_CLASS(klass) (GTK_CHECK_CLASS_CAST ((klass), GTK_TYPE_PANED, GtkPanedClass)) +#define GTK_IS_PANED(obj) (GTK_CHECK_TYPE ((obj), GTK_TYPE_PANED)) +#define GTK_IS_PANED_CLASS(klass) (GTK_CHECK_CLASS_TYPE ((klass), GTK_TYPE_PANED)) typedef struct _GtkPaned GtkPaned; @@ -40,22 +43,22 @@ typedef struct _GtkPanedClass GtkPanedClass; struct _GtkPaned { GtkContainer container; - + GtkWidget *child1; GtkWidget *child2; - + GdkWindow *handle; GdkCursor *cursor; GdkRectangle groove_rectangle; GdkGC *xor_gc; - + guint16 handle_size; guint16 gutter_size; gint child1_size; guint position_set : 1; guint in_drag : 1; - + gint16 handle_xpos; gint16 handle_ypos; }; @@ -66,11 +69,15 @@ struct _GtkPanedClass }; -guint gtk_paned_get_type (void); -void gtk_paned_add1 (GtkPaned *paned, GtkWidget *child); -void gtk_paned_add2 (GtkPaned *paned, GtkWidget *child); -void gtk_paned_handle_size (GtkPaned *paned, guint16 size); -void gtk_paned_gutter_size (GtkPaned *paned, guint16 size); +GtkType gtk_paned_get_type (void); +void gtk_paned_add1 (GtkPaned *paned, + GtkWidget *child); +void gtk_paned_add2 (GtkPaned *paned, + GtkWidget *child); +void gtk_paned_handle_size (GtkPaned *paned, + guint16 size); +void gtk_paned_gutter_size (GtkPaned *paned, + guint16 size); #ifdef __cplusplus } |