GLXCurses.Aera module¶
-
class
GLXCurses.Aera.
Area
(x=None, y=None, width=None, height=None, screen=None, subwin=None)[source]¶ Bases:
object
Internal class it define a Area
Note
it never have a clamp value or a float to int conversion, each set method have role to raise a error if value type is not respect during a set.
-
x
¶ x
propertyIt represent the x location, 0 for Left
Returns: x
location in char, 0 correspond to leftReturn type: int or None
-
y
¶ y
location of the areaReturns: y
location in char, 0 correspond to topReturn type: int
-
stdscr
¶ Get the
stdscr
property value.Returns: A Curses window object` Return type: _curses.curses window or None
-
subwin
¶ Get the
subwin
property value.Returns: A Curses window object` Return type: _curses.curses window or None
-
add_horizontal_line
(y=None, x=None, character=None, length=None, color=None)[source]¶ Display a horizontal line starting at (y, x) with length n consisting of the character
character
.
-
add_vertical_line
(y=None, x=None, character=None, length=None, color=None)[source]¶ Display a horizontal line starting at (y, x) with length n consisting of the character
character
.
-