Trait gio::SettingsExt [] [src]

pub trait SettingsExt {
    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_range(&self, key: &str) -> Option<Variant>; fn get_string(&self, key: &str) -> Option<String>; fn get_strv(&self, key: &str) -> Vec<String>; fn get_uint(&self, key: &str) -> u32; fn get_user_value(&self, key: &str) -> Option<Variant>; fn get_value(&self, key: &str) -> Option<Variant>; fn is_writable(&self, name: &str) -> bool; fn list_children(&self) -> Vec<String>; fn list_keys(&self) -> Vec<String>; fn range_check(&self, key: &str, value: &Variant) -> bool; fn reset(&self, key: &str); fn revert(&self); fn set_boolean(&self, key: &str, value: bool) -> bool; fn set_double(&self, key: &str, value: f64) -> bool; fn set_enum(&self, key: &str, value: i32) -> bool; fn set_flags(&self, key: &str, value: u32) -> bool; fn set_int(&self, key: &str, value: i32) -> bool; fn set_string(&self, key: &str, value: &str) -> bool; fn set_strv(&self, key: &str, value: &[&str]) -> bool; fn set_uint(&self, key: &str, value: u32) -> bool; fn set_value(&self, key: &str, value: &Variant) -> bool; fn get_property_delay_apply(&self) -> bool; fn get_property_has_unapplied(&self) -> bool; fn get_property_path(&self) -> Option<String>; fn get_property_schema(&self) -> Option<String>; fn get_property_schema_id(&self) -> Option<String>; fn connect_changed<F: Fn(&Self, &str) + 'static>(&self, f: F) -> u64; fn connect_writable_change_event<F: Fn(&Self, u32) -> Inhibit + 'static>(
        &self,
        f: F
    ) -> u64; fn connect_writable_changed<F: Fn(&Self, &str) + 'static>(
        &self,
        f: F
    ) -> u64; }

Required Methods

Implementors