def make_global_display_options(fn, text): """Returns a button to launch font and display options""" from thorpy.miscgui.launchers.launcher import make_ok_box, make_launcher font_options = make_font_options_setter(fn, "Font options") disp_options = make_display_options_setter(fn, "Display options") box = make_ok_box([disp_options, font_options], "Return") return make_launcher(box, text)
def make_global_display_options(fn, text): from thorpy.miscgui.launchers.launcher import make_ok_box, make_launcher font_options = make_font_options_setter(fn, "Font options") disp_options = make_display_options_setter(fn, "Display options") box = make_ok_box([disp_options, font_options], "Return") return make_launcher(box, text) ## return box