TextProperty

class glue.utils.qt.widget_properties.TextProperty(att, docstring='')[source]

Bases: glue.utils.qt.widget_properties.WidgetProperty

Wrapper around the text() and setText() methods for QLabel etc

Methods Summary

getter(widget)

Return the state of a widget.

setter(widget, value)

Set the state of a widget to a certain value

Methods Documentation

getter(widget)[source]

Return the state of a widget. Depends on type of widget, and must be overridden

setter(widget, value)[source]

Set the state of a widget to a certain value