Class (GI Struct)

NM-1.0NMTCAction

Index

Constructors

Properties

$gtype: GType<TCAction>

Methods

  • Gets the value of the attribute with name name on action

    Parameters

    • name: string

      the name of an action attribute

    Returns GLib.Variant

    the value of the attribute with name name on action, or null if action has no such attribute.

  • Gets an array of attribute names defined on action.

    Returns string[]

    a null-terminated array of attribute names,

  • Sets or clears the named attribute on action to the given value.

    Parameters

    • name: string

      the name of an action attribute

    • Optionalvalue: GLib.Variant<any>

      the value

    Returns void

  • Decreases the reference count of the object. If the reference count reaches zero, the object will be destroyed.

    Returns void