Struct gtk4::builders::ShortcutControllerBuilder
source · [−]pub struct ShortcutControllerBuilder { /* private fields */ }
Expand description
A builder-pattern type to construct ShortcutController
objects.
Implementations
sourceimpl ShortcutControllerBuilder
impl ShortcutControllerBuilder
sourcepub fn new() -> Self
pub fn new() -> Self
Create a new ShortcutControllerBuilder
.
sourcepub fn build(self) -> ShortcutController
pub fn build(self) -> ShortcutController
Build the ShortcutController
.
pub fn mnemonic_modifiers(self, mnemonic_modifiers: ModifierType) -> Self
pub fn model(self, model: &impl IsA<ListModel>) -> Self
pub fn scope(self, scope: ShortcutScope) -> Self
pub fn name(self, name: &str) -> Self
pub fn propagation_limit(self, propagation_limit: PropagationLimit) -> Self
pub fn propagation_phase(self, propagation_phase: PropagationPhase) -> Self
Trait Implementations
sourceimpl Clone for ShortcutControllerBuilder
impl Clone for ShortcutControllerBuilder
sourcefn clone(&self) -> ShortcutControllerBuilder
fn clone(&self) -> ShortcutControllerBuilder
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Default for ShortcutControllerBuilder
impl Default for ShortcutControllerBuilder
sourcefn default() -> ShortcutControllerBuilder
fn default() -> ShortcutControllerBuilder
Returns the “default value” for a type. Read more
Auto Trait Implementations
impl RefUnwindSafe for ShortcutControllerBuilder
impl !Send for ShortcutControllerBuilder
impl !Sync for ShortcutControllerBuilder
impl Unpin for ShortcutControllerBuilder
impl UnwindSafe for ShortcutControllerBuilder
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more