create_label¶
- lsst.ts.m2gui.create_label(name: str = '', tool_tip: str = '', point_size: int | None = None, is_bold: bool = False) QLabel ¶
Create the label.
Parameters¶
- name
str
, optional Label name. (the default is “”)
- tool_tip
str
, optional Tool tip. (the default is “”)
- point_size
int
or None, optional Point size of label. The value should be greater than 0. Put None if use the system default. (the default is None)
- is_bold
bool
Is the bold format or not. (the default is False)
Returns¶
- label
PySide6.QtWidgets.QLabel
label.
- name