Class k.u.w.l.ProxyLabel(PropertyObject, gtk.Label, ProxyWidgetMixin):

Part of kiwi.ui.widgets.label

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

Undocumented
Function__init__

Create a new ProxyLabel object.

Functionprop_set_data_type

Set the data type for the widget

FunctionreplaceUndocumented
Function_on_label_changedUndocumented
Functionread

Get the content of the widget.

Functionupdate

Update the content value of the widget.

Function_apply_attributesUndocumented
Function_set_text_attributeUndocumented
Functionset_bold

If True set the text to bold. False sets the text to normal

Functionset_italic

Enable or disable italic text

Functionset_underline

Enable or disable underlined text

Functionset_size

Set the size of the label. If size is empty the label will be

Functionset_text

Overrides gtk.Label set_text method. Sets the new text of

Functionset_colorUndocumented
def __init__(self, label='', data_type=None):

Create a new ProxyLabel object.

def prop_set_data_type(self, data_type):

Set the data type for the widget

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

def update(self, data):

Update the content value of the widget.

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

def set_underline(self, value):

Enable or disable underlined text

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.

def set_text(self, text):

Overrides gtk.Label set_text method. Sets the new text of the label but keeps the formating

def set_color(self, color):
Undocumented