Query: gnome2::gconf::entry
OS: debian
Section: 3pm
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
Gnome2::GConf::Entry(3pm) User Contributed Perl Documentation Gnome2::GConf::Entry(3pm)NAMEGnome2::GConf::Entry - Container Objects for key/value pairsSYNOPSIS$client = Gnome2::GConf::Client->get_default; $client->notify_add($config_key, sub { my ($client, $cnxn_id, $entry) = @_; return unless $entry; unless ($entry->{value}) { $label->set_text(''); } elsif ($entry->{value}->{type} eq 'string') { $label->set_text($entry->{value}->{value}); } else { $label->set_text('!type error!'); } });DESCRIPTIONIn C, "GConfEntry" is a opaque container for the key string and for the "GConfValue" bound to that key. In perl, it's a blessed reference to Gnome2::GConf::Entry, holding these keys: key The key that is being monitored. value An hashref, representing a "GConfValue" (see Gnome2::GConf::Value), which contains the type and the value of the key; it may be undef if the key has been unset. Every method of the C API is replaced by standard perl functions that operate on hashrefs. is_default Whether the Gnome2::GConf::Value held by this entry is the default value provided by the schema attached to the key. is_writable Whether the key is stored in a writable source inside the GConf database. schema_name The name of the schema key bound to this key.SEE ALSOGnome2::GConf(3pm), Gnome2::GConf::Value(3pm).SEE ALSOGnome2::GConfCOPYRIGHTCopyright (C) 2003-2006 by the gtk2-perl team. This software is licensed under the LGPL. See Gnome2::GConf for a full notice. perl v5.14.2 2011-11-17 Gnome2::GConf::Entry(3pm)
Related Man Pages |
---|
gnome2::entry(3pm) - debian |
gnome2::gconf::client(3pm) - debian |
gnome2::gconf::entry(3pm) - debian |
gnome2::vfs::mime(3pm) - debian |
gnome2::wnck::workspace(3pm) - debian |
Similar Topics in the Unix Linux Community |
---|
Sort file in perl |
Elektra Initiative 0.7.0 (Default branch) |
Completing Command Entry without Typing |
A Pelican Update Makes the Case More Impenetrable |