add_custom_meta


Description:

[ Version ( since = "1.20" ) ]
public unowned CustomMeta? add_custom_meta (string name)

Creates and adds a CustomMeta for the desired name.

name must have been successfully registered with register_custom.

Parameters:

this

a Buffer

name

the registered name of the desired custom meta

Returns:

The CustomMeta that was added to the buffer