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

Method __init__

remi/gui.py:3938–3948  ·  view source on GitHub ↗
(self, title='File dialog', message='Select files and folders',
                 multiple_selection=True, selection_folder='.',
                 allow_file_selection=True, allow_folder_selection=True, **kwargs)

Source from the content-addressed store, hash-verified

3936 implementing the "confirm_value" and "cancel_dialog" events."""
3937
3938 def __init__(self, title='File dialog', message='Select files and folders',
3939 multiple_selection=True, selection_folder='.',
3940 allow_file_selection=True, allow_folder_selection=True, **kwargs):
3941 super(FileSelectionDialog, self).__init__(title, message, **kwargs)
3942
3943 self.css_width = '475px'
3944 self.fileFolderNavigator = FileFolderNavigator(multiple_selection, selection_folder,
3945 allow_file_selection,
3946 allow_folder_selection, width="100%", height="330px")
3947 self.add_field('fileFolderNavigator', self.fileFolderNavigator)
3948 self.confirm_dialog.connect(self.confirm_value)
3949
3950 @decorate_set_on_listener("(self, emitter, fileList)")
3951 @decorate_event

Callers

nothing calls this directly

Calls 4

FileFolderNavigatorClass · 0.85
add_fieldMethod · 0.80
connectMethod · 0.80
__init__Method · 0.45

Tested by

no test coverage detected