ClausLabel
label = claustk.ClausLabel(root, text="This is label.")
label.pack(padx=10, pady=10)
| Argument | Description |
|---|---|
| width | int value in px, for example, width=250 |
| height | int value in px, for example, height=50 |
| text | str, label text |
| font | tuple, for example, font=("Arial", 20) |
| justify | str, "center", "left", "right" |
| bg_color | str, label background color, for example bg_color="red" or bg_color="#f0f0f0" or bg_color="transparent" (by default) |
| fg_color | str, label text color |
| cursor | str, label cursor |
| Other tkinter.Canvas arguments |
Methods
- .config()
- .cget()