MCPcopy Index your code
hub / github.com/rawpython/remi / __init__

Method __init__

remi/gui.py:2060–2066  ·  view source on GitHub ↗
(self, *args, **kwargs)

Source from the content-addressed store, hash-verified

2058 The widget can be a container with other child widgets.
2059 """
2060 def __init__(self, *args, **kwargs):
2061 super(TabBox, self).__init__(layout_orientation=Container.LAYOUT_VERTICAL, *args, **kwargs)
2062 self.container_tab_titles = ListView( width="100%", layout_orientation=Container.LAYOUT_HORIZONTAL, _class = 'tabs clearfix' )
2063 self.container_tab_titles.onselection.do(self.on_tab_selection)
2064 super(TabBox, self).append(self.container_tab_titles, "_container_tab_titles")
2065 self.selected_widget_key = None
2066 self.tab_keys_ordered_list = []
2067
2068 def resize_tab_titles(self):
2069 nch=len(self.container_tab_titles.children.values())

Callers

nothing calls this directly

Calls 4

ListViewClass · 0.85
__init__Method · 0.45
doMethod · 0.45
appendMethod · 0.45

Tested by

no test coverage detected