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

Method __init__

remi/gui.py:1249–1260  ·  view source on GitHub ↗

Args: children (Widget, or iterable of Widgets): The child to be appended. In case of a dictionary, each item's key is used as 'key' param for the single append. layout_orientation (Container.LAYOUT_VERTICAL, Container.LAYOUT_HORIZONTAL): Container la

(self, children=None, *args, **kwargs)

Source from the content-addressed store, hash-verified

1247 LAYOUT_VERTICAL = False
1248
1249 def __init__(self, children=None, *args, **kwargs):
1250 """
1251 Args:
1252 children (Widget, or iterable of Widgets): The child to be appended. In case of a dictionary,
1253 each item's key is used as 'key' param for the single append.
1254 layout_orientation (Container.LAYOUT_VERTICAL, Container.LAYOUT_HORIZONTAL): Container layout
1255 """
1256 super(Container, self).__init__(*args, **kwargs)
1257
1258 self.set_layout_orientation(kwargs.get('layout_orientation', Container.LAYOUT_VERTICAL))
1259 if children:
1260 self.append(children)
1261
1262 def append(self, value, key=''):
1263 """Adds a child widget, generating and returning a key if not provided

Callers

nothing calls this directly

Calls 3

appendMethod · 0.95
__init__Method · 0.45

Tested by

no test coverage detected