MenuMargins¶
-
class
consolemenu.format.
MenuMargins
(top=1, left=2, bottom=0, right=2)[source]¶ Class for menu margins. A margin is the area between the maximum specified dimensions (which is usually the width and height of the screen) and the menu border.
Parameters: - top (int) – The top margin.
- left (int) – The left margin.
- bottom (int) – The bottom margin.
- right (int) – The right margin.
-
bottom
¶ The bottom margin.
Returns: The bottom margin. Return type: int
-
left
¶ The left margin.
Returns: The left margin. Return type: int
-
right
¶ The right margin.
Returns: The right margin. Return type: int
-
top
¶ The top margin.
Returns: The top margin. Return type: int