Struct gtk4::builders::DropTargetBuilder
source · pub struct DropTargetBuilder { /* private fields */ }
Expand description
A builder-pattern type to construct DropTarget
objects.
Implementations§
source§impl DropTargetBuilder
impl DropTargetBuilder
pub fn actions(self, actions: DragAction) -> Self
pub fn formats(self, formats: &ContentFormats) -> Self
pub fn preload(self, preload: bool) -> Self
pub fn name(self, name: impl Into<GString>) -> Self
pub fn propagation_limit(self, propagation_limit: PropagationLimit) -> Self
pub fn propagation_phase(self, propagation_phase: PropagationPhase) -> Self
sourcepub fn build(self) -> DropTarget
pub fn build(self) -> DropTarget
Build the DropTarget
.
Auto Trait Implementations§
impl RefUnwindSafe for DropTargetBuilder
impl !Send for DropTargetBuilder
impl !Sync for DropTargetBuilder
impl Unpin for DropTargetBuilder
impl UnwindSafe for DropTargetBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more