Constructor

MateMenuTreenew

Declaration [src]

MateMenuTree*
matemenu_tree_new (
  const char* menu_basename,
  MateMenuTreeFlags flags
)

Description

No description available.

Parameters

menu_basename

Type: const char*

Basename of menu file.

The data is owned by the caller of the function.
The value is a NUL terminated UTF-8 string.
flags

Type: MateMenuTreeFlags

Flags controlling menu content.

Return value

Type: MateMenuTree

A new MateMenuTree instance.

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