diff options
author | Tim Janik <timj@gtk.org> | 1998-07-16 02:47:15 +0000 |
---|---|---|
committer | Tim Janik <timj@src.gnome.org> | 1998-07-16 02:47:15 +0000 |
commit | af24aef782056e52eb4d39c2880da648578c2728 (patch) | |
tree | 14e2d310c6aae8e7b23b1f343018e277665d1436 /gtk/gtkscrolledwindow.h | |
parent | 8b9b7b9d04c1f11118f28a9ec7b4c65a7a3f967c (diff) | |
download | gtk+-af24aef782056e52eb4d39c2880da648578c2728.tar.gz |
handle negative values similar to gtk_widget_set_uposition(). that is:
Thu Jul 16 01:27:15 1998 Tim Janik <timj@gtk.org>
* gtk/gtkwidget.h:
* gtk/gtkwidget.c (gtk_widget_set_usize): handle negative values
similar to gtk_widget_set_uposition(). that is: -1=unspecified,
-2=leave untouched. changed the width/height field of GtkWidgetAuxInfo
to be gint16s rather than guint16s, since that's what the code expected
(for a long time actually).
* gtk/gtkviewport.c:
added support for object arguments: GtkViewport::shadow_type,
GtkViewport::vadjustment and GtkViewport::hadjustment.
(gtk_viewport_add): chain gtk_bin_add.
* gtk/gtkscrolledwindow.c:
added support for object argument: GtkScrolledWindow::hscrollbar_policy,
GtkScrolledWindow::vscrollbar_policy and GtkScrolledWindow::viewport.
* gtk/gtkadjustment.h:
* gtk/gtkadjustment.c:
* gtk/gtkctree.h:
* gtk/gtkclist.h:
* gtk/gtkctree.c:
* gtk/gtkclist.c:
* gtk/gtkscrolledwindow.h:
* gtk/gtkscrolledwindow.c:
* gtk/gtkviewport.h:
* gtk/gtkviewport.c:
GtkType and macro fixups.
Diffstat (limited to 'gtk/gtkscrolledwindow.h')
-rw-r--r-- | gtk/gtkscrolledwindow.h | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/gtk/gtkscrolledwindow.h b/gtk/gtkscrolledwindow.h index 595163fc6a..2c22202c30 100644 --- a/gtk/gtkscrolledwindow.h +++ b/gtk/gtkscrolledwindow.h @@ -31,9 +31,11 @@ extern "C" { #endif /* __cplusplus */ -#define GTK_SCROLLED_WINDOW(obj) GTK_CHECK_CAST (obj, gtk_scrolled_window_get_type (), GtkScrolledWindow) -#define GTK_SCROLLED_WINDOW_CLASS(klass) GTK_CHECK_CLASS_CAST (klass, gtk_scrolled_window_get_type (), GtkScrolledWindowClass) -#define GTK_IS_SCROLLED_WINDOW(obj) GTK_CHECK_TYPE (obj, gtk_scrolled_window_get_type ()) +#define GTK_TYPE_SCROLLED_WINDOW (gtk_scrolled_window_get_type ()) +#define GTK_SCROLLED_WINDOW(obj) (GTK_CHECK_CAST ((obj), GTK_TYPE_SCROLLED_WINDOW, GtkScrolledWindow)) +#define GTK_SCROLLED_WINDOW_CLASS(klass) (GTK_CHECK_CLASS_CAST ((klass), GTK_TYPE_SCROLLED_WINDOW, GtkScrolledWindowClass)) +#define GTK_IS_SCROLLED_WINDOW(obj) (GTK_CHECK_TYPE ((obj), GTK_TYPE_SCROLLED_WINDOW)) +#define GTK_IS_SCROLLED_WINDOW_CLASS(klass) (GTK_CHECK_CLASS_TYPE ((klass), GTK_TYPE_SCROLLED_WINDOW)) typedef struct _GtkScrolledWindow GtkScrolledWindow; @@ -61,7 +63,7 @@ struct _GtkScrolledWindowClass }; -guint gtk_scrolled_window_get_type (void); +GtkType gtk_scrolled_window_get_type (void); GtkWidget* gtk_scrolled_window_new (GtkAdjustment *hadjustment, GtkAdjustment *vadjustment); void gtk_scrolled_window_construct (GtkScrolledWindow *scrolled_window, |