aboutsummaryrefslogtreecommitdiff
path: root/test/toxy/pop1.wid
diff options
context:
space:
mode:
Diffstat (limited to 'test/toxy/pop1.wid')
-rw-r--r--test/toxy/pop1.wid10
1 files changed, 10 insertions, 0 deletions
diff --git a/test/toxy/pop1.wid b/test/toxy/pop1.wid
new file mode 100644
index 0000000..88b6595
--- /dev/null
+++ b/test/toxy/pop1.wid
@@ -0,0 +1,10 @@
+#> pop1 menubutton
+#. -menu .-.pop
+#. -bg purple -fg white -activebackground magenta -width 8 -text jeden
+#. @float if .(.#1 >= 1.) .(.-.pop invoke .#1.)
+
+::toxy::popup .- .| rpop1 \
+ [list {one jeden} {two dwa} {three trzy} \
+ {four cztery} {five pięć} {six sześć} {seven siedem} \
+ {eight osiem} {nine dziewięć} {ten dziesięć}] \
+ -bg purple -fg white -activebackground magenta