Skip to content

Commit e7ee51b

Browse files
committed
Clarify menu_attach()
Fixes #173.
1 parent fcedc61 commit e7ee51b

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

gem/aes/menu_/menu_attach.ui

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,15 @@ MENU structure of the submenu
4646
created for a menu entry, though up to (!I)four(!i) levels are supported. The
4747
number of submenus per menu is restricted to 64.
4848

49+
If a menu item is expected to have a submenu attachment, the G_STRING must be
50+
padded with blanks to the width of the menu.
51+
52+
Attaching a submenu to a menu item is done by calling menu_attach(). A submenu
53+
is associated to a menu item by placing a right arrow two characters in front
54+
of the right edge. Any character at that location will be overwritten.
55+
56+
When detaching a submenu the right arrow will be overwritten with a blank.
57+
4958
The (!I)ob_x(!i) and (!I)ob_y(!i) fields of the root object should always be set
5059
to 0 before making a menu_attach call.
5160

0 commit comments

Comments
 (0)