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

Method __init__

editor/editor_widgets.py:938–952  ·  view source on GitHub ↗
(self, inputWidget, widget, attributeName, propertyDef, attributeDict, appInstance, *args, **kwargs)

Source from the content-addressed store, hash-verified

936 inputWidget = None
937
938 def __init__(self, inputWidget, widget, attributeName, propertyDef, attributeDict, appInstance, *args, **kwargs):
939 super(EditorAttributeInputGeneric, self).__init__(
940 widget, attributeName, propertyDef, attributeDict, appInstance, *args, **kwargs)
941 self.inputWidget = inputWidget
942 self.inputWidget.onchange.do(self.on_attribute_changed)
943 self.inputWidget.attributes['title'] = attributeDict['description']
944
945 '''
946 self.set_from_asciiart("""
947 |del|lbl |input |
948 """)
949 '''
950 self.style.update({'grid-template-columns': "6% 46% 48%",
951 'grid-template-rows': "100%", 'grid-template-areas': "'del lbl input'"})
952 self.append({'input': self.inputWidget})
953
954
955class EditorAttributeInputFloat(EditorAttributeInputGeneric):

Callers

nothing calls this directly

Calls 4

__init__Method · 0.45
doMethod · 0.45
updateMethod · 0.45
appendMethod · 0.45

Tested by

no test coverage detected