Gjsify LogoGjsify Logo

An opaque data type representing one or more configuration sources.

record

Hierarchy

  • Engine

Index

Constructors

Properties

name: string

Methods

  • allDirs(dir: string): string[]
  • Lists the subdirectories in dir. The returned list contains allocated strings. Each string is the absolute path of a subdirectory. You should g_free() each string in the list, then g_slist_free() the list itself.

    Parameters

    • dir: string

      Directory to get subdirectories from.

    Returns string[]

  • Lists the key-value pairs in dir. Does not list subdirectories; for that use gconf_engine_all_dirs(). The returned list contains #GConfEntry objects. A #GConfEntry contains an absolute key and a value. The list is not recursive, it contains only the immediate children of dir. To free the returned list, gconf_entry_free() each list element, then g_slist_free() the list itself.

    Parameters

    • dir: string

      Directory to list.

    Returns GConf.Entry[]

  • associateSchema(key: string, schemaKey: string): boolean
  • changeSetFromCurrentv(keys: string): ChangeSet
  • commitChangeSet(cs: ChangeSet, removeCommitted: boolean): boolean
  • dirExists(dir: string): boolean
  • getBool(key: string): boolean
  • getEntry(key: string, locale: string, useSchemaDefault: boolean): GConf.Entry
  • getFloat(key: string): number
  • getFull(key: string, locale: string, useSchemaDefault: boolean, isDefaultP: boolean, isWritableP: boolean): GConf.Value
  • Parameters

    • key: string
    • locale: string
    • useSchemaDefault: boolean
    • isDefaultP: boolean
    • isWritableP: boolean

    Returns GConf.Value

  • getInt(key: string): number
  • getString(key: string): string
  • getUserData(): object
  • getWithLocale(key: string, locale: string): GConf.Value
  • keyIsWritable(key: string): boolean
  • notifyRemove(cnxn: number): void
  • ref(): void
  • removeDir(dir: string): void
  • setBool(key: string, val: boolean): boolean
  • setFloat(key: string, val: number): boolean
  • setInt(key: string, val: number): boolean
  • setList(key: string, listType: GConf.ValueType, list: object[]): boolean
  • setString(key: string, val: string): boolean
  • suggestSync(): void
  • unref(): void
  • unset(key: string): boolean

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