class REPLFrame

Defined in:

nks.cr

Constructors

Instance Method Summary

Instance methods inherited from class Frame

adopt(child) adopt, bg bg, border_color border_color, border_width border_width, focused=(focused : Bool) focused=, focused? : Bool focused?, padding padding, render(target) render, req req, shadow : SF::RectangleShape shadow, shadow_color shadow_color, shadow_extra shadow_extra, shape : SF::RectangleShape shape

Instance methods inherited from class Sketchbook::Group

adopt(element : Element) adopt, bring_to_front(element : Element) bring_to_front, children : Array(Sketchbook::Element) children, reject(element : Element) reject, render(target) render, req req

Instance methods inherited from module Sketchbook::Element

adopted adopted, bounds : Rect bounds, bring_to_front bring_to_front, drag(stream = events) : Stream(Point) drag, enter(stream = events) : Stream(Point) enter, events : Stream(SF::Event) events, input(stream = events) : Stream(Char) input, intake intake, keypress(stream = events) : Stream(SF::Event::KeyPressed) keypress, keys(stream = events) : Stream(SF::Event::KeyEvent) keys, leave(stream = events) : Stream(Point) leave, mouse_press(stream = events) : Stream(SF::Event::MouseButtonPressed) mouse_press, offset offset, offset=(offset) offset=, parent : Group | Nil parent, parent=(parent : Group | Nil) parent=, parent? : Group | Nil | Nil parent?, pos(accum = offset) pos, rejected rejected, render(target) render, req req, size size, size=(size) size=, transit(stream = events) : Stream(Tuple(Point, Bool)) transit

Constructor Detail

def self.new #

[View source]

Instance Method Detail

def border_color #
Description copied from class Frame

Returns the color of this frame's border.


[View source]
def padding : Point #
Description copied from class Frame

Returns the content padding of this form.


[View source]
def shadow_extra #
Description copied from class Frame

Returns Point extra of this frame's shadow.


[View source]