diff options
author | Peter Mikkelsen <petermikkelsen10@gmail.com> | 2024-02-16 23:26:32 +0000 |
---|---|---|
committer | Peter Mikkelsen <petermikkelsen10@gmail.com> | 2024-02-16 23:26:32 +0000 |
commit | c51962a648b3f38fc378ad0081b1d1aa037142d5 (patch) | |
tree | 4cf448275064f7ddbd0ac2a429d9fe5449755102 /test.rc | |
parent | ab90a480eb5233abc4d7122739c24656dd42cc94 (diff) |
Implement mouse menus
Setup a menu/some menus by writing to an elements props/menus file
Diffstat (limited to 'test.rc')
-rwxr-xr-x | test.rc | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -68,4 +68,9 @@ for(f in `{walk /mnt/gui | grep $dir'/[0-9]+/event'}){ printevents $f <$f >[2]/dev/null & } +# Create a right-click menu on the text field +echo 'R/this is a/right click/menu' >> /mnt/gui/0/props/menus +# Also attach an event printer to the text field +printevents 'text field' </mnt/gui/0/event >[2]/dev/null & + wait |