#include <entry.h>
Public Member Functions | |
| Entry () | |
| Entry (GConfEntry *castitem, bool make_a_copy=false) | |
| Entry (const Entry &src) | |
| Entry & | operator= (const Entry &src) |
| ~Entry () | |
| GConfEntry * | gobj () |
| const GConfEntry * | gobj () const |
| GConfEntry * | gobj_copy () const |
| Provides access to the underlying C instance. The caller is responsible for freeing it. Use when directly setting fields in structs. | |
| Entry (const Glib::ustring &key, const Value &value) | |
Construct an Entry with the given key and value. | |
| void | set_value (const Value &val) |
| Set the Value of the entry. | |
| void | set_schema_name (const Glib::ustring &val) |
| Set the Schema name of the entry. | |
| void | set_is_default (bool is_default=true) |
| Set whether the value has orginated from the default given in the Schema. | |
| void | set_is_writable (bool is_writable=true) |
| Set whether the given configuration key iw writeable. | |
| Value | get_value () const |
| Retrieve the value of the entry. | |
| Glib::ustring | get_schema_name () const |
| Retrieve the Schema name associated with the given entry. | |
| Glib::ustring | get_key () const |
| bool | get_is_default () const |
| bool | get_is_writable () const |
Protected Attributes | |
| GConfEntry * | gobject_ |
Related Functions | |
| (Note that these are not member functions.) | |
| Gnome::Conf::Entry | wrap (GConfEntry *object, bool take_copy=false) |
The key should be an absolute key, not a relative key.
| Gnome::Conf::Entry::Entry | ( | ) |
| Gnome::Conf::Entry::Entry | ( | GConfEntry * | castitem, | |
| bool | make_a_copy = false | |||
| ) | [explicit] |
| Gnome::Conf::Entry::Entry | ( | const Entry & | src | ) |
| Gnome::Conf::Entry::~Entry | ( | ) |
| Gnome::Conf::Entry::Entry | ( | const Glib::ustring & | key, | |
| const Value & | value | |||
| ) |
Construct an Entry with the given key and value.
| bool Gnome::Conf::Entry::get_is_default | ( | ) | const |
| bool Gnome::Conf::Entry::get_is_writable | ( | ) | const |
| Glib::ustring Gnome::Conf::Entry::get_key | ( | ) | const |
| Glib::ustring Gnome::Conf::Entry::get_schema_name | ( | ) | const |
Retrieve the Schema name associated with the given entry.
| Value Gnome::Conf::Entry::get_value | ( | ) | const |
Retrieve the value of the entry.
| const GConfEntry* Gnome::Conf::Entry::gobj | ( | ) | const [inline] |
| GConfEntry* Gnome::Conf::Entry::gobj | ( | ) | [inline] |
| GConfEntry* Gnome::Conf::Entry::gobj_copy | ( | ) | const |
Provides access to the underlying C instance. The caller is responsible for freeing it. Use when directly setting fields in structs.
| void Gnome::Conf::Entry::set_is_default | ( | bool | is_default = true |
) |
Set whether the value has orginated from the default given in the Schema.
| void Gnome::Conf::Entry::set_is_writable | ( | bool | is_writable = true |
) |
Set whether the given configuration key iw writeable.
| void Gnome::Conf::Entry::set_schema_name | ( | const Glib::ustring & | val | ) |
Set the Schema name of the entry.
| Gnome::Conf::Entry wrap | ( | GConfEntry * | object, | |
| bool | take_copy = false | |||
| ) | [related] |
| object | The C instance | |
| take_copy | False if the result should take ownership of the C instance. True if it should take a new copy or ref. |
GConfEntry* Gnome::Conf::Entry::gobject_ [protected] |
1.4.7