diff options
author | David Pirotte <david@altosw.be> | 2023-10-31 01:39:03 -0300 |
---|---|---|
committer | David Pirotte <david@altosw.be> | 2023-10-31 01:39:03 -0300 |
commit | a365c8a543f6db6d62074ab3bdecd618ba8a2755 (patch) | |
tree | 302eb7e5bf345ef23fe6a2aa62040081a6bfa87d | |
parent | f1a1f004cab181cf5a957118f99f6bd19f493195 (diff) |
Code review - (adw1-demo window)
* examples/adw-1/adw1-demo/window.scm (<adw-demo-window> toast-overlay,
!toast-overlay): New child-id slot and accessor (the toast-overlay
child-id was already defined in the window ui file).
-rw-r--r-- | examples/adw-1/adw1-demo/window.scm | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/examples/adw-1/adw1-demo/window.scm b/examples/adw-1/adw1-demo/window.scm index 11226c6..3734841 100644 --- a/examples/adw-1/adw1-demo/window.scm +++ b/examples/adw-1/adw1-demo/window.scm @@ -82,13 +82,15 @@ (define-class <adw-demo-window> (<adw-application-window>) ;; slots + (toast-overlay #:accessor !toast-overlay #:child-id "toast-overlay") (split-view #:accessor !split-view #:child-id "split-view") (color-scheme-button #:accessor !color-scheme-button #:child-id "color-scheme-button") (stack #:accessor !stack #:child-id "stack") ;; class options #:template (string-append (dirname (current-filename)) "/ui/window.ui") - #:child-ids '("split-view" + #:child-ids '("toast-overlay" + "split-view" "color-scheme-button" "stack")) |