class NCURSES_PAD
Summary
Overview
creation features
exported features
Writing:
Cursor:
Size and position:
create_sub_pad (x: INTEGER_32, y: INTEGER_32, columns: INTEGER_32, lines: INTEGER_32): NCURSES_PAD
effective function
set_visible (vl: INTEGER_32, vt: INTEGER_32)
effective procedure
Convenience only
set_visible_left (vl: INTEGER_32)
effective procedure
visible_left: INTEGER_32
writable attribute
set_visible_top (vt: INTEGER_32)
effective procedure
visible_top: INTEGER_32
writable attribute
set_viewport (x: INTEGER_32, y: INTEGER_32, w: INTEGER_32, h: INTEGER_32)
effective procedure
viewport_left: INTEGER_32
writable attribute
viewport_top: INTEGER_32
writable attribute
viewport_width: INTEGER_32
writable attribute
viewport_height: INTEGER_32
writable attribute
refresh_later
effective procedure
Defers the refreshing until NCURSES.refresh_pending or refresh_now is called.
put_character_at (character: CHARACTER, x: INTEGER_32, y: INTEGER_32)
effective procedure
Put character at cursor position x, y.
put_character (character: CHARACTER)
effective procedure
Put character at cursor_x, cursor_y.
put_string_at (string: STRING, x: INTEGER_32, y: INTEGER_32)
effective procedure
Put the string at cursor position x, y.
put_string (string: STRING)
effective procedure
Put the string at cursor_x, cursor_y.
put_integer_at (integer: INTEGER_64, x: INTEGER_32, y: INTEGER_32)
effective procedure
Put the integer at cursor position x, y.
put_integer (integer: INTEGER_64)
effective procedure
Put the integer at cursor_x, cursor_y.
cursor_x: INTEGER_32
effective function
X coordinate of the cursor (left-most column is 0).
valid_cursor_x (x: INTEGER_32): BOOLEAN
effective function
Is y a valid line for the cursor position?
cursor_y: INTEGER_32
effective function
Y coordinate of the cursor (upper-most line is 0).
valid_cursor_y (y: INTEGER_32): BOOLEAN
effective function
Is y a valid line for the cursor position?
set_cursor (x: INTEGER_32, y: INTEGER_32)
effective procedure
valid_cursor (x: INTEGER_32, y: INTEGER_32): BOOLEAN
effective function
Is x and y a valid cursor position?
width: INTEGER_32
effective function
The number of columns.
height: INTEGER_32
effective function
The number of lines.
left: INTEGER_32
effective function
???
effective function
???
resize (w: INTEGER_32, h: INTEGER_32)
effective procedure
move_to (x: INTEGER_32, y: INTEGER_32)
effective procedure
Moves the window relatively to its parent
See also left, top.
create_sub_window (x: INTEGER_32, y: INTEGER_32, columns: INTEGER_32, lines: INTEGER_32): NCURSES_WINDOW
effective function
Creates a child window
set_attribute (an_attribute: INTEGER_32)
effective procedure
unset_attribute (an_attribute: INTEGER_32)
effective procedure
This attribute will be unset for further writes.
set_background_character (character: INTEGER_32)
effective procedure
set_background_attribute (an_attribute: INTEGER_32)
effective procedure
This attribute affects the current background.
get_background_character: INTEGER_32
writable attribute
get_background_attribute: INTEGER_32
writable attribute
draw_any_border (left_border: INTEGER_32, right_border: INTEGER_32, top_border: INTEGER_32, bottom_border: INTEGER_32, upper_left_border: INTEGER_32, upper_right_border: INTEGER_32, lower_left_border: INTEGER_32, lower_right_border: INTEGER_32)
effective procedure
Draws any kind of border.
draw_border
effective procedure
Draws common single-line border.
draw_horizontal_line (x: INTEGER_32, y: INTEGER_32, character: INTEGER_32, size: INTEGER_32)
effective procedure
draw_vertical_line (x: INTEGER_32, y: INTEGER_32, character: INTEGER_32, size: INTEGER_32)
effective procedure
clear
effective procedure
Clear the whole window and reset the cursor at 0 0 (upper-left corner).
clear_to_bottom
effective procedure
Clears from cursor to the bottom of the window.
clear_to_end_of_line
effective procedure
Clears from cursor to the end of the line.
delete_character
effective procedure
delete_character_at (x: INTEGER_32, y: INTEGER_32)
effective procedure
All characters to the right of the position are moved one position to the left.
delete_lines_below (lines: INTEGER_32)
effective procedure
Inserts lines below the cursor's line.
insert_lines_above (lines: INTEGER_32)
effective procedure
Inserts lines above the cursor's line.
wait_keypress_and_echo_at (x: INTEGER_32, y: INTEGER_32): INTEGER_32
effective function
wait_keypress: INTEGER_32
effective function
last_keypress: INTEGER_32
writable attribute
poll_keypress_for_and_echo_at (delay: INTEGER_32, x: INTEGER_32, y: INTEGER_32): BOOLEAN
effective function
poll_keypress_for (delay: INTEGER_32): BOOLEAN
effective function
poll_keypress: BOOLEAN
effective function
poll_keypress_and_echo_at (x: INTEGER_32, y: INTEGER_32): BOOLEAN
effective function
read_string_and_echo_at (size: INTEGER_32, x: INTEGER_32, y: INTEGER_32): STRING
effective function
Reads size-specific string from keyboard.
read_string (size: INTEGER_32): STRING
effective function
Reads size-specific string from keyboard.
auto_refresh (enable: BOOLEAN)
effective procedure
Automatically refreshes the window at every write.
get_character_at (x: INTEGER_32, y: INTEGER_32): INTEGER_32
effective function
Reads window content.
get_character: INTEGER_32
effective function
get_attributes_at (x: INTEGER_32, y: INTEGER_32): INTEGER_32
effective function
Reads window content.
get_attributes: INTEGER_32
effective function
get_color_at (x: INTEGER_32, y: INTEGER_32): INTEGER_32
effective function
Reads window content.
get_color: INTEGER_32
effective function
change_character_at (ch: INTEGER_32, x: INTEGER_32, y: INTEGER_32)
effective procedure
Change ch at cursor position x, y.
change_character (ch: INTEGER_32)
effective procedure
Put ch at cursor_x, cursor_y.
insert_character_at (ch: INTEGER_32, x: INTEGER_32, y: INTEGER_32)
effective procedure
All characters to the right are moved one position to the right.
insert_character (ch: INTEGER_32)
effective procedure
insert_string_at (string: STRING, x: INTEGER_32, y: INTEGER_32)
effective procedure
All characters to the right are shifted right.
insert_string (string: STRING)
effective procedure
get_string_at (size: INTEGER_32, x: INTEGER_32, y: INTEGER_32): STRING
effective function
Reads string content.
get_string (size: INTEGER_32): STRING
effective function
set_autoscroll_policy (enable: BOOLEAN)
effective procedure
Enables/disables automatic scrolling.
get_autoscroll_policy: BOOLEAN
writable attribute
scroll_up (lines: INTEGER_32)
effective procedure
scroll_down (lines: INTEGER_32)
effective procedure
set_scrolling_region (s: INTEGER_32, e: INTEGER_32)
effective procedure
Select the scrolling region.
set_synchronize_policy (enable: BOOLEAN)
effective procedure
Enables/disables automatic synchronizing.
synchronize_parents_window
effective procedure
Touches all locations in ancestors that are changed in the current window
synchronize_parents_cursor
effective procedure
Updates the cursor position of all ancestors to the current cursor position.
set_default_colors
effective procedure
set_both_colors (fg: INTEGER_32, bg: INTEGER_32)
effective procedure
set_fg_color (fg: INTEGER_32)
effective procedure
set_bg_color (bg: INTEGER_32)
effective procedure
get_fg_color: INTEGER_32
writable attribute
get_bg_color: INTEGER_32
writable attribute
redraw_later
effective procedure
redraw_now
effective procedure
hidden: BOOLEAN
writable attribute
show
effective procedure
hide
effective procedure
is_children_drawing_disable: BOOLEAN
writable attribute
draw_children (b: BOOLEAN)
effective procedure
set_foreground_color (color: INTEGER_32)
effective procedure
set_background_color (color: INTEGER_32)
effective procedure
set_colors (foreground: INTEGER_32, background: INTEGER_32)
effective procedure
get_foreground_color: INTEGER_32
effective function
get_background_color: INTEGER_32
effective function
invisible_cursor_mode: INTEGER_32
constant attribute
In this mode the cursor is invisible.
default_visible_cursor_mode: INTEGER_32
constant attribute
The default visible cursor mode.
special_visible_cursor_mode: INTEGER_32
constant attribute
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