+
Point of view
All features
class CURSES_DESC_LAYOUT_STRING
Summary
A layout that manages a string of widgets (either horizontally or vertically)
Direct parents
Inherit list: CURSES_DESC_LAYOUT
Class invariant
Overview
Creation features
{CURSES_DESC_PANEL}
Features
{CURSES_DESCRIPTOR}
{}
{}
{}
{}
{}
{ANY}
{ANY}
{}
  • log: LOGGER
    There is one logger per concrete type; for performance reasons it is cached in each instance.
  • log_memory__0_: LOGGER
    The cached logger.
build (parent: NCURSES_WINDOW)
effective procedure
require
  • parent /= Void
  • ncurses_widget = Void
ensure
  • ncurses_widget /= Void
layout (a_x: INTEGER_32, a_y: INTEGER_32, a_width: INTEGER_32, a_height: INTEGER_32)
effective procedure
require
  • ncurses_widget /= Void
  • a_width > 0
  • a_height > 0
  • a_x.in_range(0, a_width - 1)
  • a_y.in_range(0, a_height - 1)
ensure
  • x = a_x
  • y = a_y
  • width = a_width
  • height = a_height
writable attribute
writable attribute
width: INTEGER_32
writable attribute
height: INTEGER_32
writable attribute
min_width: INTEGER_32
effective function
min_height: INTEGER_32
effective function
max_width: INTEGER_32
effective function
max_height: INTEGER_32
effective function
layout_groupped_widgets (w: CURSES_DESC_WIDGET, wx: REFERENCE[INTEGER_32], wy: REFERENCE[INTEGER_32])
effective procedure
{}
make (ui: UI_WINDOW, options: JSON_ARRAY, desc_widgets: JSON_VALUE)
effective procedure
{}
require
  • ui /= Void
  • options = Void or else options.count > 1
  • desc_widgets /= Void
writable attribute
{}
orientation: INTEGER_8
writable attribute
{}
orientation_horizontal: INTEGER_8
is 1
constant attribute
{}
orientation_vertical: INTEGER_8
is 2
constant attribute
{}
justify: INTEGER_8
writable attribute
{}
justify_spread_out: INTEGER_8
is 1
constant attribute
{}
justify_head: INTEGER_8
is 2
constant attribute
{}
justify_center: INTEGER_8
is 3
constant attribute
{}
justify_tail: INTEGER_8
is 4
constant attribute
{}
frozen
effective procedure
{}
ncurses_widget: NCURSES_WINDOW
writable attribute
{}
effective function
{}
once function
{}
new_panel (ui: UI_WINDOW, value: JSON_OBJECT): CURSES_DESC_PANEL
effective function
{}
new_button (ui: UI_WINDOW, value: JSON_OBJECT): CURSES_DESC_BUTTON
effective function
{}
new_text_field (ui: UI_WINDOW, value: JSON_OBJECT): CURSES_DESC_TEXT_FIELD
effective function
{}
ncurses: NCURSES
once function
{ANY}
Access to the ncurses singleton.
invisible_cursor_mode: INTEGER_32
is 0
constant attribute
{ANY}
In this mode the cursor is invisible.
default_visible_cursor_mode: INTEGER_32
is 1
constant attribute
{ANY}
The default visible cursor mode.
special_visible_cursor_mode: INTEGER_32
is 2
constant attribute
{ANY}
In this mode cursor may blink in a more special or in a more visible way.
valid_cursor_visibility (code: INTEGER_32): BOOLEAN
effective function
{ANY}
ensure
log: LOGGER
effective function
{}
There is one logger per concrete type; for performance reasons it is cached in each instance.
ensure
  • Result /= Void
log_memory__0_: LOGGER
writable attribute
{}
The cached logger.
The ugly name is intentional. Don't use directly.