Known subclasses: kiwi.ui.widgets.label.Label

No class docstring
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:

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:

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
def __init__(self, label='', data_type=None):
Create a new ProxyLabel object.
@param label: initial text
@param data_type: data type of label
def prop_set_data_type(self, data_type):
Set the data type for the widget

@param data_type: can be None, a type object or a string with the
                  name of the type object, so None, "<type 'str'>"
                  or 'str'
@classmethod
def replace(cls, markup, value):
Undocumented
def _on_label_changed(self, label, param):
Undocumented
def read(self):
Get the content of the widget.
The type of the return value
@returns: None if the user input a invalid value
@rtype: Must matche the data-type property.
def update(self, data):
Update the content value of the widget.
@param value:
def _apply_attributes(self):
Undocumented
def _set_text_attribute(self, attribute_name, attr, value):
Undocumented
def set_bold(self, value):
If True set the text to bold. False sets the text to normal 
def set_italic(self, value):
Enable or disable italic text
@param value: Allowed values:
  - True: enable Italic attribute
  - False: disable Italic attribute
def set_underline(self, value):
Enable or disable underlined text
@param value: Allowed values:
  - True: enable Underline attribute
  - Fase: disable Underline attribute
def set_size(self, size=None):
Set the size of the label. If size is empty the label will be
set to the default size.
@param size: Allowed values:
  - xx-small
  - x-small
  - small
  - medium,
  - large
  - x-large
  - xx-large
@type size: string
def set_text(self, text):
Overrides gtk.Label set_text method. Sets the new text of
the label but keeps the formating
@param text: label
@type text: string
def set_color(self, color):
Undocumented
API Documentation for Kiwi, generated by pydoctor at 2019-08-08 02:24:42.