(set-text-widget-buffer-frame! text window)
(set-text-widget-modeline! text modeline)
(set-fix-layout-scroll-step! text x-step y-step)
- (gtk-scrolled-window-set-policy scroller 'auto 'always)
- (gtk-scrolled-window-set-placement scroller 'bottom-left)
+ (gtk-scrolled-window-set-placement scroller 'bottom-right)
(if (not modeline)
;; No modeline: the window/text-widget should NOT expand.
(begin
+ (gtk-scrolled-window-set-policy scroller 'never 'always)
(gtk-widget-set-vexpand text #f)
(gtk-container-add scroller text)
(gtk-container-add vgrid scroller))
;; With modeline: vgrid and scroller SHOULD expand.
(begin
+ (gtk-scrolled-window-set-policy scroller 'auto 'always)
(gtk-container-add scroller text)
(gtk-container-add vgrid scroller)
(gtk-container-add vgrid modeline)))