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

A module implementing some placeholder widget utilities.

 
Classes
       
runtimepy.net.server.app.tab.Tab(builtins.object)
DummyTab

 
class DummyTab(runtimepy.net.server.app.tab.Tab)
    DummyTab(name: str, app: runtimepy.net.arbiter.info.AppInfo, tabs: runtimepy.net.server.app.bootstrap.tabs.TabbedContent, source: str = None, subdir: str = 'tab', icon: str = None) -> None
 
A dummy tab for testing.
 
 
Method resolution order:
DummyTab
runtimepy.net.server.app.tab.Tab
builtins.object

Methods defined here:
compose(self, parent: svgen.element.Element) -> None
Compose the tab's HTML elements.

Methods inherited from runtimepy.net.server.app.tab.Tab:
__init__(self, name: str, app: runtimepy.net.arbiter.info.AppInfo, tabs: runtimepy.net.server.app.bootstrap.tabs.TabbedContent, source: str = None, subdir: str = 'tab', icon: str = None) -> None
Initialize this instance.
entry(self) -> None
Tab overall script entry.
init(self) -> None
Initialize this instance.
write_js(self, writer: vcorelib.io.file_writer.IndentedFileWriter, **kwargs) -> bool
Write JavaScript code for the tab.

Data descriptors inherited from runtimepy.net.server.app.tab.Tab:
__dict__
dictionary for instance variables
__weakref__
list of weak references to the object

 
Functions
       
dummy_tabs(count: int, app: runtimepy.net.arbiter.info.AppInfo, tabs: runtimepy.net.server.app.bootstrap.tabs.TabbedContent) -> None
Add some placeholder tabs.
under_construction(parent: svgen.element.Element, note: str = '', **kwargs) -> svgen.element.Element
Add some 'under construction' content to the tab area.