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

Method file_dialog_confirmed

editor/editor_widgets.py:1121–1125  ·  view source on GitHub ↗
(self, widget, fileList)

Source from the content-addressed store, hash-verified

1119 self.selectionDialog.show(self.appInstance)
1120
1121 def file_dialog_confirmed(self, widget, fileList):
1122 if len(fileList) > 0:
1123 self.inputWidget.set_value(
1124 "url('/editor_resources:" + fileList[0].split('/')[-1].split('\\')[-1] + "')")
1125 return self.on_attribute_changed(None, self.inputWidget.get_value())
1126
1127 def set_value(self, value):
1128 self.set_valid(not value is None)

Callers

nothing calls this directly

Calls 3

set_valueMethod · 0.45
on_attribute_changedMethod · 0.45
get_valueMethod · 0.45

Tested by

no test coverage detected