GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages


Manual Reference Pages  -  GNOME2::GCONF::ENTRY (3)

.ds Aq ’

NAME

Gnome2::GConf::Entry - Container Objects for key/value pairs

CONTENTS

SYNOPSIS



  $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!);
      }
    });



DESCRIPTION

In 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:
<B>keyB> The key that is being monitored.
<B>valueB> 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.
<B>is_defaultB> Whether the Gnome2::GConf::Value held by this entry is the default value provided by the schema attached to the key.
<B>is_writableB> Whether the key is stored in a writable source inside the GConf database.
<B>schema_nameB> The name of the schema key bound to this key.

SEE ALSO

Gnome2::GConf(3pm), Gnome2::GConf::Value(3pm).

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.

Search for    or go to Top of page |  Section 3 |  Main Index


perl v5.20.3 GNOME2::GCONF::ENTRY (3) 2016-04-05

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.