[ruby-gnome2-doc-cvs] [Hiki] update - GConf::Entry

Back to archive index

ruby-****@lists***** ruby-****@lists*****
2003年 4月 13日 (日) 22:59:16 JST


-------------------------
REMOTE_ADDR = 213.113.203.231
REMOTE_HOST = 
-------------------------

-------------------------
= class GConf::Entry
A GConf::Entry pairs a relative key to its value, e.g. if the value "10" is stored in "/foo/bar/baz", the GConf::Entry will store "baz" and "10".

== public instance methods
--- key
    Gets the key of this GConf::Entry.
    * Returns: the key of this GConf::Entry

--- value
    Gets the value of this GConf::Entry.
    * Returns: the value of this GConf::Entry

--- default?
    Queries whether the value of the key is the default value as specified by the schema for this key.
    * Returns: true if the value is the default value, or false if not

--- schema_name
    Gets the name of the schema associated with this GConf::Entry's key.
    * Returns: the schema name

--- schema_name=name
--- set_schema_name(name)
    Sets the name of the schema for the key of this GConf::Entry.
    * name: the schema name to use
    * Returns: name or self

--- default=is_default
--- set_default(is_default)
    Sets whether the current value of the key should be the default value or not.
    * is_default: whether or not the value should be the default value or not
    * Returns: is_default or self

--- value=value
--- set_value(value)
    Sets the value of this GConf::Entry's key.
    * value: the value to use
    * Returns: value or self



ruby-gnome2-cvs メーリングリストの案内
Back to archive index