class
UIng::Area::Handler
- UIng::Area::Handler
- Reference
- Object
Included Modules
- UIng::BlockConstructor
Defined in:
uing/area/area/handler.crConstructors
- .new(*args, &)
- .new(*args, **kwargs, &)
-
.new
Ameba counts branches inside the five C callback closures as branches of this initializer even though each closure is an independent handler.
Instance Method Summary
- #clear_drag_broken : Nil
- #clear_draw : Nil
- #clear_key_event : Nil
- #clear_mouse_crossed : Nil
- #clear_mouse_event : Nil
- #drag_broken(&block : Area -> Nil)
- #drag_broken(callback : Nil) : Nil
- #draw(&block : Area, Area::Draw::Params -> Nil)
- #draw(callback : Nil) : Nil
- #key_event(&block : Area, Area::KeyEvent -> Bool)
- #key_event(callback : Nil) : Nil
- #mouse_crossed(&block : Area, Bool -> Nil)
- #mouse_crossed(callback : Nil) : Nil
- #mouse_event(&block : Area, Area::MouseEvent -> Nil)
- #mouse_event(callback : Nil) : Nil
- #to_unsafe
Macros inherited from module UIng::BlockConstructor
block_constructor
block_constructor
Constructor Detail
def self.new
#
Ameba counts branches inside the five C callback closures as branches of this initializer even though each closure is an independent handler. ameba:disable Metrics/CyclomaticComplexity