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