Function

Ideeditor_encoding_menu_new

Declaration

GMenuModel*
ide_editor_encoding_menu_new (
  const char* action_name
)

Description

Creates a new GMenuModel with items which will activate using their encoding charset 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.