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
Provided Methods§
Sourcefn permission(&self) -> Option<Permission>
fn permission(&self) -> Option<Permission>
Sourcefn set_permission(&self, permission: Option<&impl IsA<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_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_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".