Dazzle.SimpleLabel
- Subclasses:
None
Class Details
-
class Dazzle.SimpleLabel(**kwargs)
- Bases:
Gtk.Widget
- Abstract:
No
- Structure:
Dazzle.SimpleLabelClass
-
classmethod new(label)
- Parameters:
label (str
) –
- Return type:
Gtk.Widget
-
get_label()
- Return type:
str
-
get_width_chars()
- Return type:
int
-
get_xalign()
- Return type:
float
-
set_label(label)
- Parameters:
label (str
) –
-
set_width_chars(width_chars)
- Parameters:
width_chars (int
) –
-
set_xalign(xalign)
- Parameters:
xalign (float
) –
Property Details
-
Dazzle.SimpleLabel.props.label
- Name:
label
- Type:
str
- Default Value:
None
- Flags:
READABLE
, WRITABLE
-
Dazzle.SimpleLabel.props.width_chars
- Name:
width-chars
- Type:
int
- Default Value:
-1
- Flags:
READABLE
, WRITABLE
-
Dazzle.SimpleLabel.props.xalign
- Name:
xalign
- Type:
float
- Default Value:
0.5
- Flags:
READABLE
, WRITABLE