diff options
author | Owen Taylor <otaylor@redhat.com> | 2000-07-21 19:30:22 +0000 |
---|---|---|
committer | Owen Taylor <otaylor@src.gnome.org> | 2000-07-21 19:30:22 +0000 |
commit | e6be8f3f6a8152416b66e406382c6b6f805fa23d (patch) | |
tree | 162931bcd0d1606e39b5b5b51bb3a851482472de /gtk/gtkscrolledwindow.h | |
parent | fa5d7c7709785ffddca4681d51ebf7b21f208165 (diff) | |
download | gtk+-e6be8f3f6a8152416b66e406382c6b6f805fa23d.tar.gz |
Use new PangoAttrShape to reserve space for pixmaps, add GSList *pixmaps
Fri Jul 21 15:28:13 2000 Owen Taylor <otaylor@redhat.com>
* gtk/gtktextlayout.[ch], gtk/gtktextdisplay.c: Use new
PangoAttrShape to reserve space for pixmaps, add
GSList *pixmaps to GtkTextLineDisplay, draw the pixmaps
in the display functions.
* gtk/testgtk.c (create_layout): Set some more exotic
scrolled window options
* gtk/gtkscrolledwindow.[ch] (gtk_scrolled_window_set_shadow_type):
Add function to set the shadow type of a window, to allow
putting a shadow around widgets such as GtkLayout or GnomeCanvas
which don't draw their own frame.
Diffstat (limited to 'gtk/gtkscrolledwindow.h')
-rw-r--r-- | gtk/gtkscrolledwindow.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gtk/gtkscrolledwindow.h b/gtk/gtkscrolledwindow.h index f0d8c4fb6e..a6672c7ed8 100644 --- a/gtk/gtkscrolledwindow.h +++ b/gtk/gtkscrolledwindow.h @@ -63,6 +63,8 @@ struct _GtkScrolledWindow guint hscrollbar_visible : 1; guint vscrollbar_visible : 1; guint window_placement : 2; + + guint16 shadow_type; }; struct _GtkScrolledWindowClass @@ -87,6 +89,8 @@ void gtk_scrolled_window_set_policy (GtkScrolledWindow *scrolle GtkPolicyType vscrollbar_policy); void gtk_scrolled_window_set_placement (GtkScrolledWindow *scrolled_window, GtkCornerType window_placement); +void gtk_scrolled_window_set_shadow_type (GtkScrolledWindow *scrolled_window, + GtkShadowType type); void gtk_scrolled_window_add_with_viewport (GtkScrolledWindow *scrolled_window, GtkWidget *child); |