From d8305dea5d4d05b281cd0f56fe8567dac833352a Mon Sep 17 00:00:00 2001 From: Mikalai Turankou Date: Thu, 19 Mar 2026 15:40:57 +0300 Subject: [PATCH] Fixed missing PopupMenuResult property type --- popupUtils.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/popupUtils.go b/popupUtils.go index f00ae47..4e45bd7 100644 --- a/popupUtils.go +++ b/popupUtils.go @@ -161,7 +161,7 @@ func (popup *popupMenuData) IsListItemEnabled(index int) bool { // Set the function to be called when the menu item of popup menu is selected. // // Supported types: `func(index int)`. -const PopupMenuResult = "popup-menu-result" +const PopupMenuResult PropertyName = "popup-menu-result" // ShowMenu displays the menu. Menu items are set using the Items property. // The "popup-menu-result" property sets the function (format: func(int)) to be called when a menu item is selected.