TDragEvents🌶️
- class TDragEvents[source]🌶️
Bases:
object
Methods🌶️
- dragEnterEvent(evt) bool [source]🌶️
This event handler, can be reimplemented in a subclass to receive drag events for the widget.
Note
Reimplement this function to handle this event
- Parameters:
evt (
TTkDropEvent
) – The drop event- Returns:
True if the event has been handled
- Return type:
bool
- dragLeaveEvent(evt) bool [source]🌶️
This event handler, can be reimplemented in a subclass to receive drag events for the widget.
Note
Reimplement this function to handle this event
- Parameters:
evt (
TTkDropEvent
) – The drop event- Returns:
True if the event has been handled
- Return type:
bool
- dragMoveEvent(evt) bool [source]🌶️
This event handler, can be reimplemented in a subclass to receive drag events for the widget.
Note
Reimplement this function to handle this event
- Parameters:
evt (
TTkDropEvent
) – The drop event- Returns:
True if the event has been handled
- Return type:
bool
- dropEvent(evt) bool [source]🌶️
This event handler, can be reimplemented in a subclass to receive drag events for the widget.
Note
Reimplement this function to handle this event
- Parameters:
evt (
TTkDropEvent
) – The drop event- Returns:
True if the event has been handled
- Return type:
bool