Skip to main content

LockButtonExt

Trait LockButtonExt 

Source
pub trait LockButtonExt:
    IsA<LockButton>
    + Sealed
    + 'static {
Show 18 methods // Provided 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

Provided Methods§

Source

fn permission(&self) -> Option<Permission>

Obtains the gio::Permission object that controls self.

§Returns

the gio::Permission of self

Source

fn set_permission(&self, permission: Option<&impl IsA<Permission>>)

Sets the gio::Permission object that controls self.

§permission

a gio::Permission object, or None

Source

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

Source

fn set_text_lock(&self, text_lock: Option<&str>)

Source

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

Source

fn set_text_unlock(&self, text_unlock: Option<&str>)

Source

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

Source

fn set_tooltip_lock(&self, tooltip_lock: Option<&str>)

Source

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

Source

fn set_tooltip_not_authorized(&self, tooltip_not_authorized: Option<&str>)

Source

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

Source

fn set_tooltip_unlock(&self, tooltip_unlock: Option<&str>)

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§