Gtk.Menu.Attach Method
Adds a new Gtk.MenuItem to a (table) menu.

Syntax

public void Attach (Widget child, uint left_attach, uint right_attach, uint top_attach, uint bottom_attach)

Parameters

child
a Gtk.Widget, should be a Gtk.MenuItem
left_attach
a uint
right_attach
a uint
top_attach
a uint
bottom_attach
a uint

Remarks

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 Menu.Detach.

Requirements

Namespace: Gtk
Assembly: gtk-sharp (in gtk-sharp.dll)
Since: Gtk# 2.4