This commit is contained in:
2026-02-19 11:19:04 +01:00
parent 72652a809b
commit 4fbb9c53ff
5 changed files with 36 additions and 2 deletions

View File

@@ -370,6 +370,24 @@ The @racket[menu] value is a menu structure as defined in
@racket["menu.rkt"].
}
@defproc[(ww-popup-menu [win-id ww-win?]
[menu is-menu?])
void?]{
Pops up a (context) menu at the current cursor position:
@racketblock[
(def-cmd ww-popup-menu
set-menu ((win-id ww-win?)
(menu is-menu?)) [] -> void)
]
The @racket[menu] value is a menu structure as defined in
@racket["menu.rkt"].
}
@defproc[(ww-set-show-state [win-id ww-win?]
[state symbol?])
void?]{