summaryrefslogtreecommitdiff
path: root/gtk/gtkscrolledwindow.h
diff options
context:
space:
mode:
authorLars Hamann <lars@gtk.org>1998-11-09 00:23:37 +0000
committerLars Hamann <lars@src.gnome.org>1998-11-09 00:23:37 +0000
commit6ef274c0ed992896a106bbf4ab416b197d38cb24 (patch)
treef68abe285a2f36b64da0febce1e59bac815ed952 /gtk/gtkscrolledwindow.h
parent3c07b7ebbd3d6ddb3dae9bdee185d14c6adaea56 (diff)
downloadgtk+-6ef274c0ed992896a106bbf4ab416b197d38cb24.tar.gz
new enum GtkCornerType added window_placement. new method to set
Mon Nov 9 00:39:20 1998 Lars Hamann <lars@gtk.org> * gtk/gtkenums.h : new enum GtkCornerType * gtk/gtkscrolledwindow.h (struct _GtkScrolledWindow): added window_placement. * gtk/gtkscrolledwindow.c (gtk_scrolled_window_set_placement): new method to set window_placement. (gtk_scrolled_window_viewport_allocate) (gtk_scrolled_window_size_allocate): few changes due to window_placement. * gtk/testgtk.c (remove_selection): fixed while loop.
Diffstat (limited to 'gtk/gtkscrolledwindow.h')
-rw-r--r--gtk/gtkscrolledwindow.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/gtk/gtkscrolledwindow.h b/gtk/gtkscrolledwindow.h
index a29c7b2e94..20260f04a3 100644
--- a/gtk/gtkscrolledwindow.h
+++ b/gtk/gtkscrolledwindow.h
@@ -53,6 +53,7 @@ struct _GtkScrolledWindow
guint vscrollbar_policy : 2;
guint hscrollbar_visible : 1;
guint vscrollbar_visible : 1;
+ guint window_placement : 2;
guint autogenerated_viewport : 1;
};
@@ -75,7 +76,8 @@ GtkAdjustment* gtk_scrolled_window_get_vadjustment (GtkScrolledWindow *scrolled_
void gtk_scrolled_window_set_policy (GtkScrolledWindow *scrolled_window,
GtkPolicyType hscrollbar_policy,
GtkPolicyType vscrollbar_policy);
-
+void gtk_scrolled_window_set_placement (GtkScrolledWindow *scrolled_window,
+ GtkCornerType window_placement);
#ifdef __cplusplus
}