Function
Ideeditor_syntax_menu_new
Description
Creates a new GMenuModel
with items which will activate using
their syntax id for the action action_name
target.
Parameters
action_name
-
Type:
const char*
The action to activate when selecting menu items.
The data is owned by the caller of the function. The value is a NUL terminated UTF-8 string.
Return value
Type: GMenuModel
A GMenuModel
.
The caller of the function takes ownership of the data, and is responsible for freeing it. |