Struct gtk4::DragSourceBuilder [−][src]
pub struct DragSourceBuilder { /* fields omitted */ }
Expand description
A builder-pattern type to construct DragSource
objects.
Implementations
Create a new DragSourceBuilder
.
Build the DragSource
.
The actions that are supported by drag operations from the source.
Note that you must handle the signal::DragSource::drag-end
signal
if the actions include gdk::DragAction::MOVE
.
The data that is offered by drag operations from this source.
Mouse button number to listen to, or 0 to listen for any button.
Whether the gesture is exclusive.
Exclusive gestures only listen to pointer and pointer emulated events.
Whether the gesture handles only touch events.
The number of touch points that trigger recognition on this gesture.
The name for this controller, typically used for debugging purposes.
The limit for which events this controller will handle.
The propagation phase at which this controller will handle events.
Trait Implementations
Returns the “default value” for a type. Read more
Auto Trait Implementations
impl RefUnwindSafe for DragSourceBuilder
impl !Send for DragSourceBuilder
impl !Sync for DragSourceBuilder
impl Unpin for DragSourceBuilder
impl UnwindSafe for DragSourceBuilder
Blanket Implementations
Mutably borrows from an owned value. Read more