pub trait WorkspaceExt: IsA<Workspace> + 'static {
// Provided methods
fn action_set_enabled(&self, action_name: &str, enabled: bool) { ... }
fn id(&self) -> GString { ... }
fn workbench(&self) -> Option<Workbench> { ... }
fn inhibit(
&self,
flags: ApplicationInhibitFlags,
reason: &str,
) -> Option<Inhibitor> { ... }
fn set_id(&self, id: &str) { ... }
fn connect_id_notify<F: Fn(&Self) + 'static>(&self, f: F) -> SignalHandlerId { ... }
}Provided Methods§
fn action_set_enabled(&self, action_name: &str, enabled: bool)
fn id(&self) -> GString
fn workbench(&self) -> Option<Workbench>
fn inhibit( &self, flags: ApplicationInhibitFlags, reason: &str, ) -> Option<Inhibitor>
fn set_id(&self, id: &str)
fn connect_id_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", so this trait is not object safe.