Signal

GtkMenuShell::insert

since: 3.2

Declaration

void
insert (
  GtkMenuShell* self,
  GtkWidget* child,
  gint position,
  gpointer user_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: GtkWidget

The GtkMenuItem that is being inserted.

The data is owned by the caller of the function.
position

Type: gint

The position at which the insert occurs.