Constructor

GntMenunew

Declaration [src]

GntWidget*
gnt_menu_new (
  GntMenuType type
)

Description [src]

Create a new menu.

Parameters

type

Type: GntMenuType

The type of the menu, whether it’s a toplevel menu or a popup menu.

Return value

Type: GntWidget

The newly created menu.

The caller of the function takes ownership of the data, and is responsible for freeing it.