Top |
Object Hierarchy
GObject ╰── CamelSettings ├── CamelStoreSettings ├── CamelSendmailSettings ╰── CamelSmtpSettings
Functions
camel_settings_class_list_settings ()
GParamSpec ** camel_settings_class_list_settings (CamelSettingsClass *settings_class
,guint *n_settings
);
Returns an array of GParamSpec for properties of class
which are
considered to be settings. By default all properties are considered
to be settings, but subclasses may wish to exclude certain properties.
Free the returned array with g_free()
.
Parameters
settings_class |
a CamelSettingsClass |
|
n_settings |
return location for the length of the returned array |
Since: 3.2
camel_settings_clone ()
CamelSettings *
camel_settings_clone (CamelSettings *settings
);
Creates an copy of settings
, such that passing settings
and the
copied instance to camel_settings_equal()
would return TRUE
.
By default, this creates a new settings instance with the same GType
as settings
, and copies all GObject property values from settings
to the new instance.
Since: 3.2
camel_settings_equal ()
gboolean camel_settings_equal (CamelSettings *settings_a
,CamelSettings *settings_b
);
Returns TRUE
if settings_a
and settings_b
are equal.
By default, equality requires both instances to have the same GType
with the same set of GObject properties, and each property value in
settings_a
is equal to the corresponding value in settings_b
.
Since: 3.2
Types and Values
struct CamelSettings
struct CamelSettings;
Contains only private data that should be read and manipulated using the functions below.
Since: 3.2