kiwi.ui.widgets.label.ProxyLabel(PropertyObject, gtk.Label, ProxyWidgetMixin)
class documentationkiwi.ui.widgets.label
(View In Hierarchy)
Known subclasses: kiwi.ui.widgets.label.Label
Method | __init__ | Create a new ProxyLabel object. @param label: initial text @param data_type: data type of label |
Method | prop_set_data_type | Set the data type for the widget |
Class Method | replace | Undocumented |
Method | read | No summary |
Method | update | Update the content value of the widget. @param value: |
Method | set_bold | If True set the text to bold. False sets the text to normal |
Method | set_italic | No summary |
Method | set_underline | No summary |
Method | set_size | No summary |
Method | set_text | No summary |
Method | set_color | Undocumented |
Method | _on_label_changed | Undocumented |
Method | _apply_attributes | Undocumented |
Method | _set_text_attribute | Undocumented |
Inherited from ProxyWidgetMixin:
Class Variable | allowed_data_types | A list of types which we are allowed to use in this class. |
Method | set_data_format | Undocumented |
Method | set_options_for_datatype | No summary |
Method | _as_string | Convert a value to a string @param data: data to convert |
Method | _from_string | No summary |
Inherited from ProxyWidgetMixin:
Class Variable | allowed_data_types | A list of types which we are allowed to use in this class. |
Method | set_data_format | Undocumented |
Method | set_options_for_datatype | No summary |
Method | _as_string | Convert a value to a string @param data: data to convert |
Method | _from_string | No summary |
Create a new ProxyLabel object.
Parameters | label | initial text |
data_type | data type of label |
Set the data type for the widget
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' |
Get the content of the widget. The type of the return value
Returns | None if the user input a invalid value (type: Must matche the data-type property.) |
Enable or disable italic text
Parameters | value | Allowed values:
|
Enable or disable underlined text
Parameters | value | Allowed values:
|
Set the size of the label. If size is empty the label will be set to the default size.
Parameters | size | Allowed values:
|