Function

IbisModeChangenew

unstable since: 0.12

Declaration [src]

IbisModeChange*
ibis_mode_change_new (
  const char mode,
  gboolean add,
  const char* parameter
)

Description [src]

Creates a new mode.

Available since: 0.12

Parameters

mode

Type: const char

The mode character.

add

Type: gboolean

True if this mode is being added; otherwise false.

parameter

Type: const char*

An optional parameter.

The argument can be NULL.
The data is owned by the caller of the function.
The value is a NUL terminated UTF-8 string.

Return value

Type: IbisModeChange

The new mode.

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