:param color: Color of the line. Defaults to theme's text color. Can be name or #RRGGBB format :type color: (str) :param pad: Amount of padding to put around element in pixels (left/right, top/bottom) or ((left, right), (top, bottom)) or an int. If an int, then it's conve
(self, color=None, pad=None, p=None, key=None, k=None)
| 7143 | """ |
| 7144 | |
| 7145 | def __init__(self, color=None, pad=None, p=None, key=None, k=None): |
| 7146 | """ |
| 7147 | :param color: Color of the line. Defaults to theme's text color. Can be name or #RRGGBB format |
| 7148 | :type color: (str) |
| 7149 | :param pad: Amount of padding to put around element in pixels (left/right, top/bottom) or ((left, right), (top, bottom)) or an int. If an int, then it's converted into a tuple (int, int) |
| 7150 | :type pad: (int, int) or ((int, int),(int,int)) or (int,(int,int)) or ((int, int),int) | int |
| 7151 | :param p: Same as pad parameter. It's an alias. If EITHER of them are set, then the one that's set will be used. If BOTH are set, pad will be used |
| 7152 | :type p: (int, int) or ((int, int),(int,int)) or (int,(int,int)) or ((int, int),int) | int |
| 7153 | :param key: Value that uniquely identifies this element from all other elements. Used when Finding an element or in return values. Must be unique to the window |
| 7154 | :type key: str | int | tuple | object |
| 7155 | :param k: Same as the Key. You can use either k or key. Which ever is set will be used. |
| 7156 | :type k: str | int | tuple | object |
| 7157 | """ |
| 7158 | key = key if key is not None else k |
| 7159 | pad = pad if pad is not None else p |
| 7160 | self.expand_x = None |
| 7161 | self.expand_y = None |
| 7162 | self.Orientation = 'vertical' # for now only vertical works |
| 7163 | self.color = color if color is not None else theme_text_color() |
| 7164 | super().__init__(ELEM_TYPE_SEPARATOR, pad=pad, key=key) |
| 7165 | |
| 7166 | |
| 7167 | VSeperator = VerticalSeparator |
nothing calls this directly
no test coverage detected