aboutsummaryrefslogtreecommitdiff
path: root/test/toxy/pop2.wid
diff options
context:
space:
mode:
Diffstat (limited to 'test/toxy/pop2.wid')
-rw-r--r--test/toxy/pop2.wid8
1 files changed, 8 insertions, 0 deletions
diff --git a/test/toxy/pop2.wid b/test/toxy/pop2.wid
new file mode 100644
index 0000000..8f7ccf5
--- /dev/null
+++ b/test/toxy/pop2.wid
@@ -0,0 +1,8 @@
+#> pop2 menubutton
+#. -menu .-.pop
+#. -bg purple -fg white -activebackground magenta -width 6 -text kura
+#. @float if .(.#1 >= 1.) .(.-.pop invoke .#1.)
+
+::toxy::popup .- .| rpop2 \
+ [list {hen kura} {duck kaczka} {cat kot} {cow krowa} {horse koń}] \
+ -bg purple -fg white -activebackground magenta