Method

VteTerminalget_termprop_int

since: 0.78

Declaration [src]

gboolean
vte_terminal_get_termprop_int (
  VteTerminal* terminal,
  const char* prop,
  int64_t* valuep
)

Description [src]

For a VTE_PROPERTY_INT termprop, sets value to props value, or to 0 if prop is unset, or if prop is not a registered property.

If only a subset or range of values are acceptable for the given property, the caller must validate the returned value and treat any out-of-bounds value as if the termprop had no value; in particular it must not clamp the values to the expected range.

Available since: 0.78

Parameters

prop

Type: const char*

A termprop name.

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

Type: int64_t*

A location to store the value, or NULL.

The argument will be set by the function.
The argument can be NULL.

Return value

Type: gboolean

TRUE iff the termprop is set.