GLXCurses.libs.Dividable module

class GLXCurses.libs.Dividable.Dividable[source]

Bases: object

static get_child_x_coordinates(children=None, length=None)[source]

The function parse children list and calculate coordinates for each ChildElement by regarding ChildProperty information’s and return a

Parameters:
  • length (int) – the max length in char
  • children (list of ChildElement) – The list of children where we need coordinates
Returns:

a dict with child coordinates

Return type:

dict of dict

static get_child_y_coordinates(children=None, length=None)[source]

The function parse children list and calculate coordinates for each ChildElement by regarding ChildProperty information’s and return a

Parameters:
  • length (int) – the max length in char
  • children (list of ChildElement) – The list of children where we need coordinates
Returns:

a dict with child coordinates

Return type:

dict of dict