Sizegrip Element :param background_color: color to use for the background of the grip :type background_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
(self, background_color=None, pad=None, p=(0, 0), key=None, k=None)
| 7221 | """ |
| 7222 | |
| 7223 | def __init__(self, background_color=None, pad=None, p=(0, 0), key=None, k=None): |
| 7224 | """ |
| 7225 | Sizegrip Element |
| 7226 | :param background_color: color to use for the background of the grip |
| 7227 | :type background_color: str |
| 7228 | :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) |
| 7229 | :type pad: (int, int) or ((int, int),(int,int)) or (int,(int,int)) or ((int, int),int) | int |
| 7230 | :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 |
| 7231 | :type p: (int, int) or ((int, int),(int,int)) or (int,(int,int)) or ((int, int),int) | int |
| 7232 | :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 |
| 7233 | :type key: str | int | tuple | object |
| 7234 | :param k: Same as the Key. You can use either k or key. Which ever is set will be used. |
| 7235 | :type k: str | int | tuple | object |
| 7236 | """ |
| 7237 | |
| 7238 | bg = background_color if background_color is not None else theme_background_color() |
| 7239 | pad = pad if pad is not None else p |
| 7240 | key = key if key is not None else k |
| 7241 | |
| 7242 | super().__init__(ELEM_TYPE_SIZEGRIP, background_color=bg, key=key, pad=pad) |
| 7243 | |
| 7244 | |
| 7245 | SGrip = Sizegrip |
nothing calls this directly
no test coverage detected