module

UIng::Drop::Target

A Window or Area that receives drops.

Instance methods

clear_drop_handler
Source
clear_on_drop

EXPERIMENTAL

Source
drop_handler
Source
drop_handler=(handler : Handler) : Nil

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.

Source
drop_handler=(handler : Nil) : Nil
Source
on_drop(accepts : Format = Format::All, &block : Event -> Bool) : Nil

Explicit Handlers must first be removed with clear_drop_handler.

Source
on_drop(callback : Nil) : Nil

EXPERIMENTAL

Source