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