MCPcopy Index your code
hub / github.com/rawpython/remi / Label

Class Label

remi/gui.py:2338–2351  ·  view source on GitHub ↗

Non editable text label widget. Set its content by means of set_text function, and retrieve its content with the function get_text.

Source from the content-addressed store, hash-verified

2336
2337
2338class Label(Widget, _MixinTextualWidget):
2339 """ Non editable text label widget. Set its content by means of set_text function, and retrieve its content with the
2340 function get_text.
2341 """
2342
2343 def __init__(self, text='', *args, **kwargs):
2344 """
2345 Args:
2346 text (str): The string content that have to be displayed in the Label.
2347 kwargs: See Container.__init__()
2348 """
2349 super(Label, self).__init__(*args, **kwargs)
2350 self.type = 'p'
2351 self.set_text(text)
2352
2353
2354class Progress(Widget):

Callers 7

__init__Method · 0.85
add_field_with_labelMethod · 0.85
__init__Method · 0.85
__init__Method · 0.85
mainMethod · 0.85
__init__Method · 0.85
__init__Method · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected