non important commit

This commit is contained in:
benstrb 2026-01-10 22:24:13 +01:00
parent 571f87d5b5
commit f0dcdaf05d

View file

@ -1,26 +1,34 @@
(defwindow example (defwindow example
:monitor 0 :monitor 0
:geometry (geometry :x "0%" :geometry (geometry :x "0%"
:y "75%" :y "10%"
:width "90%" :width "90%"
:height "30px" :height "5%"
:anchor "top center") :anchor "top center")
:stacking "bg" :stacking "bg"
:windowtype "dock" :windowtype "dock"
:wm-ignore false :wm-ignore false
(box :orientation "vertical" (
(greeter :text "Say hello!" box :orientation "vertical"
:name "Tim" (greeter :text "Say hello!"
) :name "Tim"
)
"example content" "example content"
) )
) )
(defwidget greeter [?text name] (
(box :orientation "horizontal" defwidget greeter [?text name]
:halign "center" (
text box :orientation "horizontal"
(button :onclick "echo 'Hello' 'Hello, ${name}'" :halign "center"
"Greet")))
text
(
button :onclick "echo 'Hello' 'Hello, ${name}'"
"Greet"
)
)
)