Method

GtkMenuShellget_parent_shell

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

Returns: GtkWidget
 

The parent GtkMenuShell.

 The data is owned by the instance.