Trait gtk::prelude::LockButtonExt[][src]

pub trait LockButtonExt: 'static {
Show methods fn permission(&self) -> Option<Permission>;
fn set_permission<P: IsA<Permission>>(&self, permission: Option<&P>);
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