VMargin¶
Bases:
pygame_menu.widgets.core.widget.Widget
Vertical margin widget.
Draw the widget shape.
Parameters: surface ( pygame.Surface
) – Surface to drawReturns: None
Update internal variable according to the given events list and fire the callbacks.
Parameters: events (list[ pygame.event.Event
]) – List of pygame eventsReturns: True if updated Return type: bool