Struct gtk4::builders::AlternativeTriggerBuilder
source · pub struct AlternativeTriggerBuilder { /* private fields */ }
Expand description
A builder-pattern type to construct AlternativeTrigger
objects.
Implementations§
source§impl AlternativeTriggerBuilder
impl AlternativeTriggerBuilder
sourcepub fn new() -> Self
pub fn new() -> Self
Create a new AlternativeTriggerBuilder
.
sourcepub fn build(self) -> AlternativeTrigger
pub fn build(self) -> AlternativeTrigger
Build the AlternativeTrigger
.
sourcepub fn first(self, first: &impl IsA<ShortcutTrigger>) -> Self
pub fn first(self, first: &impl IsA<ShortcutTrigger>) -> Self
The first ShortcutTrigger
to check.
sourcepub fn second(self, second: &impl IsA<ShortcutTrigger>) -> Self
pub fn second(self, second: &impl IsA<ShortcutTrigger>) -> Self
The second ShortcutTrigger
to check.
Trait Implementations§
source§impl Clone for AlternativeTriggerBuilder
impl Clone for AlternativeTriggerBuilder
source§fn clone(&self) -> AlternativeTriggerBuilder
fn clone(&self) -> AlternativeTriggerBuilder
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 AlternativeTriggerBuilder
impl Default for AlternativeTriggerBuilder
source§fn default() -> AlternativeTriggerBuilder
fn default() -> AlternativeTriggerBuilder
Returns the “default value” for a type. Read more