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 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.
sourcepub fn build(self) -> AlternativeTrigger
pub fn build(self) -> AlternativeTrigger
Build the AlternativeTrigger
.