Package org.gnome.gio

Class Menu

java.lang.Object
All Implemented Interfaces:
Proxy

@Generated("io.github.jwharm.JavaGI") public class Menu extends MenuModel
GMenu is a simple implementation of MenuModel. You populate a GMenu by adding MenuItem instances to it.

There are some convenience functions to allow you to directly add items (avoiding MenuItem) for the common cases. To add a regular item, use insert(int, java.lang.String, java.lang.String). To add a section, use insertSection(int, java.lang.String, org.gnome.gio.MenuModel). To add a submenu, use insertSubmenu(int, java.lang.String, org.gnome.gio.MenuModel).