class

UIng::Area

Inherits UIng::Drop::Target < UIng::Control < UIng::BlockConstructor < Reference < Object

This class provides read-only access to key event properties.

Constructors

new(*args, &)
Source
new(*args, **kwargs, &)
Source
new(area_handler : Handler, width : Int32, height : Int32)
Source
new(width : Int32, height : Int32)

Creates a scrolling Area with its own handler.

Source
new(area_handler : Handler)
Source
new

Creates an Area with its own handler for per-Area event callbacks.

Source

Instance methods

begin_user_window_move
Source
begin_user_window_resize(edge : WindowResizeEdge) : Nil
Source
clear_on_drag_broken

EXPERIMENTAL

Source
clear_on_draw

EXPERIMENTAL

Source
clear_on_key_event

EXPERIMENTAL

Source
clear_on_mouse_crossed

EXPERIMENTAL

Source
clear_on_mouse_event

EXPERIMENTAL

Source
clear_on_scroll_event

EXPERIMENTAL

Source
destroy
Source
on_drag_broken

EXPERIMENTAL

Source
on_drag_broken(callback : Nil) : Nil

EXPERIMENTAL

Source
on_draw

Registers a draw callback for an Area created without an explicit handler.

Source
on_draw(callback : Nil) : Nil

EXPERIMENTAL

Source
on_key_event

EXPERIMENTAL

Source
on_key_event(callback : Nil) : Nil

EXPERIMENTAL

Source
on_mouse_crossed

EXPERIMENTAL

Source
on_mouse_crossed(callback : Nil) : Nil

EXPERIMENTAL

Source
on_mouse_event

EXPERIMENTAL

Source
on_mouse_event(callback : Nil) : Nil

EXPERIMENTAL

Source
on_scroll_event

EXPERIMENTAL

Source
on_scroll_event(callback : Nil) : Nil

EXPERIMENTAL

Source
queue_redraw_all
Source
scroll_to(x : Number, y : Number, width : Number, height : Number) : Nil

Scrolls a scrolling Area to make the given rectangle visible.

Source
set_size(width : Int32, height : Int32) : Nil

Changes the content size of a scrolling Area.

Source
to_unsafe
Source

Nested types