Gjsify LogoGjsify Logo

Hierarchy

  • PluginDescription

Index

Constructors

Properties

name: string

Methods

  • free(): void
  • get_boolean(section: string, keyname: string, val: boolean): boolean
  • Returns the value of key as boolean in the given section.

    Parameters

    • section: string

      Section name.

    • keyname: string

      Key name.

    • val: boolean

      Pointer to value to store retured value.

    Returns boolean

  • get_integer(section: string, keyname: string, val: number): boolean
  • Returns the value of key as integer in the given section.

    Parameters

    • section: string

      Section name.

    • keyname: string

      Key name.

    • val: number

      Pointer to value to store retured value.

    Returns boolean

  • get_locale_string(section: string, keyname: string, val: string): boolean
  • Returns the value of key in the given section in current locale.

    Parameters

    • section: string

      Section name.

    • keyname: string

      Key name.

    • val: string

      Pointer to value to store retured value.

    Returns boolean

  • get_raw(section_name: string, keyname: string, locale: string): [boolean, string]
  • Retrieves the value of a key (in the given section) for the given locale. The value returned in val must be freed after use.

    Parameters

    • section_name: string

      Name of the section.

    • keyname: string

      Name of the key.

    • locale: string

      The locale for which the value is to be retrieved.

    Returns [boolean, string]

  • get_string(section: string, keyname: string, val: string): boolean
  • Returns the value of key in the given section.

    Parameters

    • section: string

      Section name.

    • keyname: string

      Key name.

    • val: string

      Pointer to value to store retured value.

    Returns boolean

  • override(section_name: string, keyname: string, val: string): boolean
  • Override the value of a key in the description. This can be removed using the function anjuta_plugin_description_remove().

    Parameters

    • section_name: string

      Section name.

    • keyname: string

      Key name.

    • val: string

      Pointer to value to store retured value.

    Returns boolean

  • remove(section_name: string, keyname: string): boolean
  • Remove a key from the description.

    Parameters

    • section_name: string

      Section name.

    • keyname: string

      Key name.

    Returns boolean

  • to_string(): string
  • Parses the given plugin description data (usally read from the plugin description file and creates an instance of #AnjutaPluginDescription. The format of the content string is similar to .ini format.

    Parameters

    • data: string

      The data to parse. The format of the data is .ini style.

    Returns PluginDescription

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