Method

GtkMenuShellprepend

Declaration [src]

void
gtk_menu_shell_prepend (
  GtkMenuShell* menu_shell,
  GtkWidget* child
)

Description [src]

Adds a new GtkMenuItem to the beginning of the menu shell’s item list.

Parameters

child

Type: GtkWidget

The GtkMenuItem to add.

The data is owned by the caller of the function.