Method

GioSettingsget_int64

since: 2.50

Declaration [src]

gint64
g_settings_get_int64 (
  GSettings* settings,
  const gchar* key
)

Description [src]

Gets the value that is stored at key in settings.

A convenience variant of g_settings_get() for 64-bit integers.

It is a programmer error to give a key that isn’t specified as having a int64 type in the schema for settings.

Available since: 2.50

Parameters

key

Type: const gchar*

The key to get the value for.

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

Return value

Type: gint64

A 64-bit integer.