Menu.attach

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_detach(). Since 2.4

class Menu
void
attach

Parameters

child Widget

a GtkMenuItem

leftAttach uint

The column number to attach the left side of the item to

rightAttach uint

The column number to attach the right side of the item to

topAttach uint

The row number to attach the top of the item to

bottomAttach uint

The row number to attach the bottom of the item to

Meta