Main application module.
-
class bestgui.application.BestGUI(loglevel=None)
-
build_tool_GUI(hmifilename)
-
close_resultview()
-
edit_options(cfg=None)
-
excepthook(etype, evalue, etraceback)
Customized excepthook
- Executes the following operations:
- stop the running sub-process (best) if any
- show the exception infos in a (modal) dialog window
- destroy application
- call original excepthook
-
finalize()
-
finalize_hook()
-
get_outimage_filename(outfile_param='Output Image', ext=None)
-
main()
- Set the custom exception handler and run the GTK main loop.
-
on_about(widget=None)
-
on_clear(widget=None)
-
on_close(widget=None)
-
on_delete_event(widget=None, event=None)
-
on_help(widget=None)
-
on_hide_outputplane(widget=None)
-
on_open(widget=None)
-
on_outputplane_resized(widget=None, data=None)
-
on_reload(widget=None)
-
on_run(widget=None)
-
on_save(widget=None)
-
on_saveas(widget=None)
-
on_set_default(widget=None)
-
on_set_preferences(widget=None)
-
on_show_homepage(widget=None)
-
on_show_outputplane(widget)
-
on_show_text_toggled(widget=None)
-
on_show_toolbars(widget=None)
-
on_stop(widget=None)
-
on_tool_selected(widget=None, data=None)
-
on_toolbar_style_changed(widget)
-
open(inifilename, parent=None)
-
open_url(url)
-
outputplane_isopen()
-
prerun_hook(cmd)
-
quit(widget=None)
- Stop the GTK main loop and reset the default except hook.
-
reset()
-
run(filename)
-
save_window_state()
-
scan_config()
-
set_status(status)
-
setup_hooks()
- Set the about dialog hooks
-
setup_logging(level=20)
-
show_outputplane(flag=True)
-
workdir
-
class bestgui.application.BestOutputHandler(textview, statusbar, progressbar=None, blinker=None, tags=None)
-
handle_line(data)
-
class bestgui.application.ParamView(paramform, textview=None)
-
clear()
-
enabled
-
get_enabled()
-
get_label()
-
get_mode()
-
label
-
load(filename)
-
mode
- View mode (“form” or “text”).
-
save(filename)
-
set_default()
-
set_enabled(enabled)
-
set_mode(mode)
-
bestgui.application.main()