Method

GtkMenuShellget_parent_shell

since: 3.0

Declaration [src]

GtkWidget*
gtk_menu_shell_get_parent_shell (
  GtkMenuShell* menu_shell
)

Description [src]

Gets the parent menu shell.

The parent menu shell of a submenu is the GtkMenu or GtkMenuBar from which it was opened up.

Available since: 3.0

Return value

Type: GtkWidget

The parent GtkMenuShell.

The returned data is owned by the instance.