GLXCurses.Aera module¶
-
class
GLXCurses.Aera.Area(x=None, y=None, width=None, height=None, screen=None, subwin=None)[source]¶ Bases:
objectInternal 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¶ xpropertyIt represent the x location, 0 for Left
Returns: xlocation in char, 0 correspond to leftReturn type: int or None
-
y¶ ylocation of the areaReturns: ylocation in char, 0 correspond to topReturn type: int
-
stdscr¶ Get the
stdscrproperty value.Returns: A Curses window object` Return type: _curses.curses window or None
-
subwin¶ Get the
subwinproperty 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.
-