Part of kiwi.ui.widgets.label View In Hierarchy
Known subclasses: kiwi.ui.widgets.label.Label
| Method | __init__ | |
| Method | prop_set_data_type | Set the data type for the widget |
| Method | replace | Undocumented |
| Method | _on_label_changed | Undocumented |
| Method | read | Get the content of the widget. |
| Method | update | |
| Method | _apply_attributes | Undocumented |
| Method | _set_text_attribute | Undocumented |
| Method | set_bold | If True set the text to bold. False sets the text to normal |
| Method | set_italic | Enable or disable italic text |
| Method | set_underline | Enable or disable underlined text |
| Method | set_size | Set the size of the label. If size is empty the label will be |
| Method | set_text | Overrides gtk.Label set_text method. Sets the new text of |
| Method | set_color | Undocumented |
Inherited from PropertyObject:
| Method | __class_init__ | Undocumented |
| Method | __post_init__ | A hook which is called after the constructor is called. |
| Method | _set | Undocumented |
| Method | _get | Undocumented |
| Method | get_attribute_names | Undocumented |
| Method | is_default_value | Undocumented |
| Method | do_set_property | Undocumented |
| Method | do_get_property | Undocumented |
Inherited from ProxyWidgetMixin:
| Method | set_data_format | Undocumented |
| Method | set_options_for_datatype | Set some options to be passed to the datatype converter. |
| Method | _as_string | Convert a value to a string |
| Method | _from_string | Convert a string to the data type of the widget |
| Parameters | label | initial text |
| data_type | data type of label |
| Parameters | data_type | can be None, a type object or a string with the name of the type object, so None, "<type 'str'>" or 'str' |
| Returns | None if the user input a invalid value (type: Must matche the data-type property. ) | |
| Parameters | value | Allowed values:
|
| Parameters | value | Allowed values:
|
| Parameters | size | Allowed values:
|