[][src]Trait gio::prelude::SettingsExt

pub trait SettingsExt: 'static {
    fn apply(&self);
fn bind<P: IsA<Object>>(
        &self,
        key: &str,
        object: &P,
        property: &str,
        flags: SettingsBindFlags
    );
fn bind_writable<P: IsA<Object>>(
        &self,
        key: &str,
        object: &P,
        property: &str,
        inverted: bool
    );
fn create_action(&self, key: &str) -> Option<Action>;
fn delay(&self);
fn get_boolean(&self, key: &str) -> bool;
fn get_child(&self, name: &str) -> Option<Settings>;
fn get_default_value(&self, key: &str) -> Option<Variant>;
fn get_double(&self, key: &str) -> f64;
fn get_enum(&self, key: &str) -> i32;
fn get_flags(&self, key: &str) -> u32;
fn get_has_unapplied(&self) -> bool;
fn get_int(&self, key: &str) -> i32;
fn get_string(&self, key: &str) -> Option<GString>;
fn get_strv(&self, key: &str) -> Vec<GString>;
fn get_uint(&self, key: &str) -> u32;
fn get_user_value(&self, key: &str) -> Option<Variant>;
fn get_value(&self, key: &str) -> Variant;
fn is_writable(&self, name: &str) -> bool;
fn list_children(&self) -> Vec<GString>;
fn list_keys(&self) -> Vec<GString>;
fn reset(&self, key: &str);
fn revert(&self);
fn set_boolean(&self, key: &str, value: bool) -> Result<(), BoolError>;
fn set_double(&self, key: &str, value: f64) -> Result<(), BoolError>;
fn set_enum(&self, key: &str, value: i32) -> Result<(), BoolError>;
fn set_flags(&self, key: &str, value: u32) -> Result<(), BoolError>;
fn set_int(&self, key: &str, value: i32) -> Result<(), BoolError>;
fn set_string(&self, key: &str, value: &str) -> Result<(), BoolError>;
fn set_strv(&self, key: &str, value: &[&str]) -> Result<(), BoolError>;
fn set_uint(&self, key: &str, value: u32) -> Result<(), BoolError>;
fn set_value(&self, key: &str, value: &Variant) -> Result<(), BoolError>;
fn get_property_backend(&self) -> Option<SettingsBackend>;
fn get_property_delay_apply(&self) -> bool;
fn get_property_path(&self) -> Option<GString>;
fn get_property_schema_id(&self) -> Option<GString>;
fn get_property_settings_schema(&self) -> Option<SettingsSchema>;
fn connect_changed<F: Fn(&Self, &str) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
fn connect_writable_change_event<F: Fn(&Self, u32) -> Inhibit + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
fn connect_writable_changed<F: Fn(&Self, &str) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
fn connect_property_delay_apply_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
fn connect_property_has_unapplied_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId; }

Required methods

fn apply(&self)

fn bind<P: IsA<Object>>(
    &self,
    key: &str,
    object: &P,
    property: &str,
    flags: SettingsBindFlags
)

fn bind_writable<P: IsA<Object>>(
    &self,
    key: &str,
    object: &P,
    property: &str,
    inverted: bool
)

fn create_action(&self, key: &str) -> Option<Action>

fn delay(&self)

fn get_boolean(&self, key: &str) -> bool

fn get_child(&self, name: &str) -> Option<Settings>

fn get_default_value(&self, key: &str) -> Option<Variant>

fn get_double(&self, key: &str) -> f64

fn get_enum(&self, key: &str) -> i32

fn get_flags(&self, key: &str) -> u32

fn get_has_unapplied(&self) -> bool

fn get_int(&self, key: &str) -> i32

fn get_string(&self, key: &str) -> Option<GString>

fn get_strv(&self, key: &str) -> Vec<GString>

fn get_uint(&self, key: &str) -> u32

fn get_user_value(&self, key: &str) -> Option<Variant>

fn get_value(&self, key: &str) -> Variant

fn is_writable(&self, name: &str) -> bool

fn list_children(&self) -> Vec<GString>

fn list_keys(&self) -> Vec<GString>

fn reset(&self, key: &str)

fn revert(&self)

fn set_boolean(&self, key: &str, value: bool) -> Result<(), BoolError>

fn set_double(&self, key: &str, value: f64) -> Result<(), BoolError>

fn set_enum(&self, key: &str, value: i32) -> Result<(), BoolError>

fn set_flags(&self, key: &str, value: u32) -> Result<(), BoolError>

fn set_int(&self, key: &str, value: i32) -> Result<(), BoolError>

fn set_string(&self, key: &str, value: &str) -> Result<(), BoolError>

fn set_strv(&self, key: &str, value: &[&str]) -> Result<(), BoolError>

fn set_uint(&self, key: &str, value: u32) -> Result<(), BoolError>

fn set_value(&self, key: &str, value: &Variant) -> Result<(), BoolError>

fn get_property_backend(&self) -> Option<SettingsBackend>

fn get_property_delay_apply(&self) -> bool

fn get_property_path(&self) -> Option<GString>

fn get_property_schema_id(&self) -> Option<GString>

fn get_property_settings_schema(&self) -> Option<SettingsSchema>

fn connect_changed<F: Fn(&Self, &str) + 'static>(&self, f: F) -> SignalHandlerId

fn connect_writable_change_event<F: Fn(&Self, u32) -> Inhibit + 'static>(
    &self,
    f: F
) -> SignalHandlerId

fn connect_writable_changed<F: Fn(&Self, &str) + 'static>(
    &self,
    f: F
) -> SignalHandlerId

fn connect_property_delay_apply_notify<F: Fn(&Self) + 'static>(
    &self,
    f: F
) -> SignalHandlerId

fn connect_property_has_unapplied_notify<F: Fn(&Self) + 'static>(
    &self,
    f: F
) -> SignalHandlerId

Loading content...

Implementors

impl<O: IsA<Settings>> SettingsExt for O[src]

Loading content...