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