pub trait LockButtonExt: 'static {
Show 18 methods fn permission(&self) -> Option<Permission>; fn set_permission(&self, permission: Option<&impl IsA<Permission>>); fn text_lock(&self) -> Option<GString>; fn set_text_lock(&self, text_lock: Option<&str>); fn text_unlock(&self) -> Option<GString>; fn set_text_unlock(&self, text_unlock: Option<&str>); fn tooltip_lock(&self) -> Option<GString>; fn set_tooltip_lock(&self, tooltip_lock: Option<&str>); fn tooltip_not_authorized(&self) -> Option<GString>; fn set_tooltip_not_authorized(&self, tooltip_not_authorized: Option<&str>); fn tooltip_unlock(&self) -> Option<GString>; fn set_tooltip_unlock(&self, tooltip_unlock: Option<&str>); fn connect_permission_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId; fn connect_text_lock_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId; fn connect_text_unlock_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId; fn connect_tooltip_lock_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId; fn connect_tooltip_not_authorized_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId; fn connect_tooltip_unlock_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
}
Expand description

Trait containing all LockButton methods.

Implementors

LockButton

Required Methods

Obtains the gio::Permission object that controls self.

Returns

the gio::Permission of self

Sets the gio::Permission object that controls self.

permission

a gio::Permission object, or None

Implementors