Signal
Gtk MenuShell::insert
since: 3.2
Declaration
void
insert(
GtkMenuShell*self,
GtkWidget*child,
gintposition,
gpointeruser_data
)
Description [src]
The ::insert signal is emitted when a new GtkMenuItem is added to
a GtkMenuShell. A separate signal is used instead of
GtkContainer::add because of the need for an additional position parameter.
The inverse of this signal is the GtkContainer::removed signal.
Default handler:
The default handler is called before the handlers added via g_signal_connect().
Available since: 3.2
Parameters
child-
Type:
GtkWidgetThe
GtkMenuItemthat is being inserted.The data is owned by the caller of the function. position-
Type:
gintThe position at which the insert occurs.