class REPLFrame
- REPLFrame
- Frame
- Sketchbook::Group
- Reference
- Object
Defined in:
nks.crConstructors
Instance Method Summary
-
#border_color
Returns the color of this frame's border.
-
#padding : Point
Returns the content padding of this form.
-
#shadow_extra
Returns
Point
extra of this frame's shadow.
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
Instance Method Detail
Description copied from class Frame
Returns the content padding of this form.
def shadow_extra
#