non important commit
This commit is contained in:
parent
571f87d5b5
commit
f0dcdaf05d
1 changed files with 21 additions and 13 deletions
|
|
@ -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"
|
||||||
|
)
|
||||||
|
)
|
||||||
|
)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue