Gnome2::GConf::main(3) utility functions for Gnome2::GConf


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.


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

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