---
name: "Gnome2::GConf::main"
section: "3pm"
platform: "linux"
package: "libgnome2-gconf-perl"
version: "1.044-6+b1"
release: "Debian 9 (Stretch)"
platforms: ["linux"]
url: "https://new.carta.tech/Gnome2::GConf::main"
---

# Gnome2::GConf::main(3pm)

utility functions for Gnome2::GConf

## NAME

Gnome2::GConf::main -  utility functions for Gnome2::GConf

## METHODS

### string = Gnome2::GConf-\>concat\_dir\_and\_key ($dir, $key)

- •

  `$dir` (string)

- •

  `$key` (string)

Returns a concatenation of `$dir` and `$key`.

### boolean = Gnome2::GConf-\>key\_is\_below ($above, $below)

- •

  `$above` (string)

- •

  `$below` (string)

Return TRUE if the path `$below` would be somewhere below the directory `$above`.

### string = Gnome2::GConf-\>unique\_key

Returns a different string every time (at least, the chances of getting a duplicate are like one in a zillion). The key is a legal gconf key name (a single element of one).

### boolean = Gnome2::GConf-\>valid\_key ($key)

### (boolean, string) = Gnome2::GConf-\>valid\_key ($key)

- •

  `$key` (string)

In scalar context, it returns a boolean value. In array context, it returns a boolean value and a string containing a user-readable explanation of the problem.

## SEE ALSO

Gnome2::GConf

## COPYRIGHT

Copyright (C) 2003-2006 by the gtk2-perl team.

This software is licensed under the LGPL.  See Gnome2::GConf for a full notice.
