module Crysterm
Overview
Main Crysterm module and namespace.
If your code is in its own namespace, you can shorten Crysterm
to an
alias of your choosing, e.g. "C":
require "../src/crysterm"
alias C = Crysterm
s = C::Screen.new
t = C::Widget::Text.new content: "Hello, World!", style: C::Style.new(bg: "blue", fg: "yellow", border: true), left: "center", top: "center", parent: s
s.append t
s.on(C::Event::KeyPress) { exit }
s.exec
Defined in:
action.crcolors.cr
crysterm.cr
event.cr
helpers.cr
macros.cr
mixin/children.cr
mixin/data.cr
mixin/instances.cr
mixin/name.cr
mixin/pos.cr
mixin/style.cr
mixin/uid.cr
namespace.cr
screen.cr
screen_angles.cr
screen_attributes.cr
screen_children.cr
screen_cursor.cr
screen_decoration.cr
screen_drawing.cr
screen_focus.cr
screen_interaction.cr
screen_rendering.cr
screen_resize.cr
screen_rows.cr
screen_screenshot.cr
version.cr
widget.cr
widget/bigtext.cr
widget/box.cr
widget/button.cr
widget/checkbox.cr
widget/hline.cr
widget/input.cr
widget/label.cr
widget/layout.cr
widget/line.cr
widget/list.cr
widget/listtable.cr
widget/loading.cr
widget/log.cr
widget/menu.cr
widget/message.cr
widget/overlayimage.cr
widget/pine/header_bar.cr
widget/pine/status_bar.cr
widget/progressbar.cr
widget/prompt.cr
widget/question.cr
widget/radiobutton.cr
widget/radioset.cr
widget/scrollable_box.cr
widget/scrollable_text.cr
widget/textarea.cr
widget/textbox.cr
widget/vline.cr
widget_children.cr
widget_content.cr
widget_decoration.cr
widget_index.cr
widget_interaction.cr
widget_label.cr
widget_position.cr
widget_rendering.cr
widget_screenshot.cr
widget_scrolling.cr
widget_size.cr
widget_visibility.cr
widgets.cr
Constant Summary
-
GlobalEvents =
GlobalEventsClass.new
-
VERSION =
{VERSION_MAJOR, VERSION_MINOR, VERSION_REVISION}.join('.')
-
VERSION_MAJOR =
0
-
VERSION_MINOR =
1
-
VERSION_REVISION =
0