Menu.attach
void attach(gtk.widget.Widget child, uint leftAttach, uint rightAttach, uint topAttach, uint bottomAttach)Adds a new #GtkMenuItem to a (table) menu. The number of “cells” that an item will occupy is specified by left_attach, right_attach, top_attach and bottom_attach. 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 [gtk.menu.Menu.detach].
Parameters
child | a #GtkMenuItem |
leftAttach | The column number to attach the left side of the item to |
rightAttach | The column number to attach the right side of the item to |
topAttach | The row number to attach the top of the item to |
bottomAttach | The row number to attach the bottom of the item to |