Struct gtk4::builders::ShortcutControllerBuilder
source · pub struct ShortcutControllerBuilder { /* private fields */ }
Expand description
A builder-pattern type to construct ShortcutController
objects.
Implementations§
source§impl 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§
source§impl Clone for ShortcutControllerBuilder
impl Clone for ShortcutControllerBuilder
source§fn clone(&self) -> ShortcutControllerBuilder
fn clone(&self) -> ShortcutControllerBuilder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Default for ShortcutControllerBuilder
impl Default for ShortcutControllerBuilder
source§fn default() -> ShortcutControllerBuilder
fn default() -> ShortcutControllerBuilder
Returns the “default value” for a type. Read more