runtimepy.net.server.app.bootstrap.tabs
index
/home/vkottler/src/vkottler/workspace/runtimepy/runtimepy/net/server/app/bootstrap/tabs.py

A module implementing interfaces for creating tabbed content with bootstrap.

 
Classes
       
builtins.object
TabbedContent

 
class TabbedContent(builtins.object)
    TabbedContent(name: str, parent: svgen.element.Element) -> None
 
A tabbed-content container.
 
  Methods defined here:
__init__(self, name: str, parent: svgen.element.Element) -> None
Initialize this instance.
add_button(self, msg: str, target: str, **kwargs) -> svgen.element.Element
Add a button to the left side button column.
create(self, name: str) -> tuple[svgen.element.Element, svgen.element.Element]
Only the first tab is active.
set_scroll(self, scroll: bool) -> None
Set classes on content element.

Data descriptors defined here:
__dict__
dictionary for instance variables
__weakref__
list of weak references to the object

 
Functions
       
create_nav_button(parent: svgen.element.Element, name: str, item: str, active_tab: bool, **kwargs) -> svgen.element.Element
Create a navigation button.
create_nav_container(parent: svgen.element.Element, name: str, item: str, active_tab: bool) -> svgen.element.Element
Create a navigation container element.

 
Data
        BOOTSTRAP_BUTTON = 'rounded-0 font-monospace button-bodge'
PKG_NAME = 'runtimepy'