Package: gtk

Function gtk-menu-attach

Lambda List

gtk-menu-attach (menu child left right top bottom)

Arguments

menu -- a gtk-menu widget
child -- a gtk-menu-item widget
left -- an unsigned integer with the column number to attach the left side of the item to
right -- an unsigned integer with the column number to attach the right side of the item to
top -- an unsigned integer with the row number to attach the top of the item to
bottom -- an unsigned integer with the row number to attach the bottom of the item to

Details

Adds a menu item to a (table) menu. The number of cells that an item will occupy is specified by the left, right, top and bottom arguments. These each represent the leftmost, rightmost, uppermost and lower column and row numbers of the table. Columns and rows are indexed from zero.

Note that this function is not related to the gtk-menu-detach function.
 

See also

2021-11-14