Gjsify LogoGjsify Logo

Hierarchy

  • Scope

Index

Constructors

Properties

name: string

Methods

  • If the symbol already exists, it will be overwritten.

    If symbol is %NULL, the symbol will be removed from scope.

    Parameters

    • name: string

      the name of the symbol

    • symbol: Template.Symbol

      An #TmplSymbol or %NULL.

    Returns void

  • set_boolean(name: string, value: boolean): void
  • Sets the value of the symbol named name to a gboolean value of value.

    Parameters

    • name: string

      a name for the symbol

    • value: boolean

      a #gboolean

    Returns void

  • set_double(name: string, value: number): void
  • Sets the value of the symbol named name to a gdouble value of value.

    Parameters

    • name: string

      a name for the symbol

    • value: number

      a #gdouble

    Returns void

  • set_string(name: string, value: string): void
  • Sets the value of the symbol named name to a string matching value.

    Parameters

    • name: string

      a name for the symbol

    • value: string

      A string or %NULL.

    Returns void

  • set_strv(name: string, value: string[]): void
  • Sets the value of the symbol named name to the strv value.

    Parameters

    • name: string

      a name for the symbol

    • value: string[]

      the value to set it to, or %NULL

    Returns void

  • set_value(name: string, value: any): void
  • Sets the contents of the symbol named name to the value value.

    Parameters

    • name: string

      a name for the symbol

    • value: any

      A #GValue or %NULL

    Returns void

  • Sets the value of the symbol named name to the variant value.

    If value has a floating reference, it is consumed.

    Parameters

    • name: string

      a name for the symbol

    • value: GLib.Variant

      the variant to set it to, or %NULL

    Returns void

  • Sets the symbol named name to symbol in scope.

    This differs from tmpl_scope_set() in that it takes ownership of symbol.

    Parameters

    • name: string

      The name of the symbol

    • symbol: Template.Symbol

      A #TmplSymbol or %NULL

    Returns void

  • unref(): void

Legend

  • Module
  • Object literal
  • Variable
  • Function
  • Function with type parameter
  • Index signature
  • Type alias
  • Type alias with type parameter
  • Enumeration
  • Enumeration member
  • Property
  • Method
  • Interface
  • Interface with type parameter
  • Constructor
  • Property
  • Method
  • Index signature
  • Class
  • Class with type parameter
  • Constructor
  • Property
  • Method
  • Accessor
  • Index signature
  • Inherited constructor
  • Inherited property
  • Inherited method
  • Inherited accessor
  • Protected property
  • Protected method
  • Protected accessor
  • Private property
  • Private method
  • Private accessor
  • Static property
  • Static method