Panel¶
-
class
Panel
(relative_rect: pygame.Rect, starting_layer_height: int, manager: pygame_gui.core.interfaces.manager_interface.IUIManagerInterface, *, element_id: str = 'panel', margins: Optional[Dict[str, int]] = None, container: Optional[pygame_gui.core.interfaces.container_interface.IContainerLikeInterface] = None, parent_element: Optional[pygame_gui.core.ui_element.UIElement] = None, object_id: Optional[Union[pygame_gui.core.ui_element.ObjectID, str]] = None, anchors: Optional[Dict[str, str]] = None, visible: int = 1)[source]¶