MenuPadding¶
-
class
consolemenu.format.
MenuPadding
(top=1, left=2, bottom=1, right=2)[source]¶ Class for menu padding. Padding is the area between the menu border and the content of the menu.
Parameters: - top (int) – The top padding.
- left (int) – The left padding.
- bottom (int) – The bottom padding.
- right (int) – The right padding.
-
bottom
¶ The bottom padding.
Returns: The bottom padding. Return type: int
-
left
¶ The left padding.
Returns: The left padding. Return type: int
-
right
¶ The right padding.
Returns: The right padding. Return type: int
-
top
¶ The top padding.
Returns: The top padding. Return type: int