opendrift_gui

Module Contents

Classes

TextRedirector

ToolTip

OpenDriftGUI

Toplevel widget of Tk which represents mostly the main window

Functions

CreateToolTip(widget, text)

main()

class opendrift_gui.TextRedirector(widget, tag='stdout')
write(str)
flush()
class opendrift_gui.ToolTip(widget)

Bases: object

showtip(text)

Display text in tooltip window

hidetip()
opendrift_gui.CreateToolTip(widget, text)
class opendrift_gui.OpenDriftGUI

Bases: tkinter.Tk

Toplevel widget of Tk which represents mostly the main window of an application. It has an associated Tcl interpreter.

Return a new Toplevel widget on screen SCREENNAME. A new Tcl interpreter will be created. BASENAME will be used for the identification of the profile file (see readprofile). It is constructed from sys.argv[0] without extensions if None is given. CLASSNAME is the name of the widget class.

opendrift_models
extra_args
GUI_config
copy_position(a, b, c)
handle_result(command)
validate_config(value_if_allowed, prior_value, key)

From config menu selection.

set_model(model, rebuild_gui=True)
set_config_checkbox(key, i)
set_config_enum(event, key, i)
show_help()
convert_lonlat()
check_seeding()
run_opendrift()
opendrift_gui.main()