non important commit
This commit is contained in:
parent
571f87d5b5
commit
f0dcdaf05d
1 changed files with 21 additions and 13 deletions
|
|
@ -1,15 +1,16 @@
|
|||
(defwindow example
|
||||
:monitor 0
|
||||
:geometry (geometry :x "0%"
|
||||
:y "75%"
|
||||
:y "10%"
|
||||
:width "90%"
|
||||
:height "30px"
|
||||
:height "5%"
|
||||
:anchor "top center")
|
||||
:stacking "bg"
|
||||
:windowtype "dock"
|
||||
:wm-ignore false
|
||||
|
||||
(box :orientation "vertical"
|
||||
(
|
||||
box :orientation "vertical"
|
||||
(greeter :text "Say hello!"
|
||||
:name "Tim"
|
||||
)
|
||||
|
|
@ -18,9 +19,16 @@
|
|||
)
|
||||
)
|
||||
|
||||
(defwidget greeter [?text name]
|
||||
(box :orientation "horizontal"
|
||||
(
|
||||
defwidget greeter [?text name]
|
||||
(
|
||||
box :orientation "horizontal"
|
||||
:halign "center"
|
||||
|
||||
text
|
||||
(button :onclick "echo 'Hello' 'Hello, ${name}'"
|
||||
"Greet")))
|
||||
(
|
||||
button :onclick "echo 'Hello' 'Hello, ${name}'"
|
||||
"Greet"
|
||||
)
|
||||
)
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue