Gjsify LogoGjsify Logo

Hierarchy

  • PluginDescription

Index

Constructors

Properties

name: string

Methods

  • free(): void
  • getBoolean(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

  • getInteger(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

  • getLocaleString(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

  • getRaw(sectionName: 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

    • sectionName: 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]

  • getString(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(sectionName: 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

    • sectionName: string

      Section name.

    • keyname: string

      Key name.

    • val: string

      Pointer to value to store retured value.

    Returns boolean

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

    Parameters

    • sectionName: string

      Section name.

    • keyname: string

      Key name.

    Returns boolean

  • toString(): string
  • Converts the description detains into string format, usually for saving it in a file.

    Returns 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