@@ -159,7 +159,7 @@ def _get_title(obj, depth=0, maxnames=3):
159159
160160
161161def create_edit_dialog (parent , obj = None , title = '' , minvalue = None , maxvalue = None , readonly = False , depth = 0 ,
162- display_caller_info = True , add_larray_functions = None ):
162+ display_caller_info = True , add_larray_functions = None , ** kwargs ):
163163 """
164164 Open a new editor window.
165165
@@ -198,7 +198,7 @@ def create_edit_dialog(parent, obj=None, title='', minvalue=None, maxvalue=None,
198198 return MappingEditorWindow (obj , title = title , readonly = readonly ,
199199 caller_info = caller_info ,
200200 add_larray_functions = add_larray_functions ,
201- parent = parent )
201+ parent = parent , ** kwargs )
202202 else :
203203 return ArrayEditorWindow (obj , title = title , readonly = readonly ,
204204 caller_info = caller_info ,
@@ -381,7 +381,7 @@ def excepthook(type_, value, tback):
381381 return excepthook
382382
383383
384- def edit (obj = None , title = '' , minvalue = None , maxvalue = None , readonly = False , depth = 0 ):
384+ def edit (obj = None , title = '' , minvalue = None , maxvalue = None , readonly = False , depth = 0 , ** kwargs ):
385385 r"""
386386 Open a new editor window.
387387
@@ -415,7 +415,7 @@ def edit(obj=None, title='', minvalue=None, maxvalue=None, readonly=False, depth
415415 >>> edit(a1) # doctest: +SKIP
416416 """
417417 _show_dialog ("Viewer" , create_edit_dialog , obj = obj , title = title , minvalue = minvalue , maxvalue = maxvalue ,
418- readonly = readonly , depth = depth + 1 )
418+ readonly = readonly , depth = depth + 1 , ** kwargs )
419419
420420
421421def view (obj = None , title = '' , depth = 0 ):
0 commit comments