install_termprop


Description:


[ Version ( since = "0.78" ) ]
public int install_termprop (string name, PropertyType type, PropertyFlags flags)

Installs a new terminal property that can be set by the application.

name must follow the rules for termprop names as laid out above; it must have at least 4 components, the first two of which must be "vte", and "ext". Use the vte_termprop_name_prefix macro which defines this name prefix.

You should use an identifier for your terminal as the first component after the prefix, as a namespace marker.

It is a programming error to call this function with a name that does not meet these requirements.

It is a programming error to call this function after any Terminal instances have been created.

It is a programming error to call this function if the named termprop is already installed with a different type or flags.

Parameters:

name

a namespaced property name

type

a PropertyType to use for the property

flags

flags from PropertyFlags

Returns:

an ID for the termprop


Namespace: Vte
Package: vte-2.91-gtk4