abstract class ListControl
- ListControl
- Control
- Reference
- Object
Defined in:
controls/list.crConstructors
Instance Method Summary
- #find_from_buffer
-
#focusable?
if this control can take keyboard input Only frames, screens, and non-interactive elements should return false.
- #items : Iterable
-
#letter(k)
processes space and any printable character.
- #list_bottom
- #list_down
- #list_jump_down
- #list_jump_up
- #list_top
- #list_up
- #pos : Int32
- #pos=(v : Int32)
-
#text
should return the text to be painted to the screen
- #user_y
Instance methods inherited from class Control
add(control, x = 0, y = 0)
add,
bind_keys
bind_keys,
children : Array(Control)
children,
dirty : Bool
dirty,
dirty=(dirty : Bool)
dirty=,
focus
focus,
focusable?
focusable?,
height
height,
height=(height : Int32 | Nil)
height=,
height? : Int32?
height?,
key(k)
key,
letter(k)
letter,
main_window
main_window,
main_window=(main_window : Nil | MainWindow)
main_window=,
main_window? : MainWindow?
main_window?,
other(k)
other,
paint(term)
paint,
parent
parent,
parent=(parent : Control | Nil)
parent=,
parent? : Control?
parent?,
text
text,
user_x : Int32
user_x,
user_y : Int32
user_y,
verify(child)
verify,
width
width,
width=(width : Int32 | Nil)
width=,
width? : Int32?
width?,
wip_verify_no_overlap
wip_verify_no_overlap,
x
x,
x=(x : Int32)
x=,
x? : Int32
x?,
y
y,
y=(y : Int32)
y=,
y? : Int32
y?
Class methods inherited from class Control
name_to_action
name_to_action
Macros inherited from class Control
action(func)action(key, func) action
Constructor Detail
Instance Method Detail
def focusable?
#
Description copied from class Control
if this control can take keyboard input Only frames, screens, and non-interactive elements should return false.