module
UIng::Drop::Target
Overview
A Window or Area that receives drops.
Direct including types
Defined in:
uing/drop/target.crInstance Method Summary
- #clear_drop_handler : Nil
-
#clear_on_drop : Nil
EXPERIMENTAL
- #drop_handler : Handler | Nil
-
#drop_handler=(handler : Handler) : Nil
Replaces the current registration on the UI thread.
- #drop_handler=(handler : Nil) : Nil
-
#on_drop(accepts : Format = Format::All, &block : Event -> Bool) : Nil
Explicit Handlers must first be removed with clear_drop_handler.
EXPERIMENTAL
-
#on_drop(callback : Nil) : Nil
EXPERIMENTAL
Instance Method Detail
Replaces the current registration on the UI thread. Failure preserves the previous handler. Native child receivers retain their own behavior; an Area is an exclusive drop zone and rejection does not retry Window.
Explicit Handlers must first be removed with clear_drop_handler.
EXPERIMENTAL