;; resizer (if needed), then tail-call re-pack-windows! on the
;; rest.
(if (and resizer
- (not (eq? (car widgets) (fix-resizer-resizee resizer))))
- (set-fix-resizer-resizee! resizer (car widgets)))
+ (not (eq? (car widgets) (fix-resizer-before resizer))))
+ (set-fix-resizer-before! resizer (car widgets)))
(if (and (gtk-hbox? box) (pair? (cdr windows)))
;; Need resizer.
(if resizer
(re-pack-windows! (cdr windows) (cddr widgets) box resizer prefix)
(let ((new (make-fix-resizer (gtk-screen-char-width screen) -1)))
+ (set-fix-resizer-after! new box)
(gtk-box-pack-end box new #f #f 0)
(for-each
(lambda (w)
(pack-new! (%reversed-children (car windows)) new #f new-prefix)
(gtk-box-pack-end box new #t #t 0)
(%trace "; "prefix"packed "new" in "box"\n")
- (if resizer (set-fix-resizer-resizee! resizer new))
+ (if resizer (set-fix-resizer-before! resizer new))
(if (and (gtk-hbox? box) (pair? (cdr windows)))
;; Need resizer.
(let ((new-resizer
(make-fix-resizer (gtk-screen-char-width screen) -1)))
+ (set-fix-resizer-after! new-resizer new)
(gtk-box-pack-end box new-resizer #f #f 0)
(pack-new! (cdr windows) box new-resizer prefix))
;; Need NO resizer.
(gtk-box-pack-end vbox scroller #t #t 0)
(gtk-box-pack-end box vbox #t #t 0)
(%trace "; "prefix"packed "vbox" into "box"\n")))
- (if resizer (set-fix-resizer-resizee! resizer vbox))
+ (if resizer (set-fix-resizer-before! resizer vbox))
(if (and (gtk-hbox? box) (pair? (cdr windows)))
;; Need resizer.
(let ((new-resizer
(make-fix-resizer (gtk-screen-char-width screen) -1)))
+ (set-fix-resizer-after! new-resizer vbox)
(gtk-box-pack-end box new-resizer #f #f 0)
(pack-new! (cdr windows) box new-resizer prefix))
;; Need NO resizer.