:py:mod:`opendrift_gui` ======================= .. py:module:: opendrift_gui Module Contents --------------- Classes ~~~~~~~ .. autoapisummary:: opendrift_gui.TextRedirector opendrift_gui.ToolTip opendrift_gui.OpenDriftGUI Functions ~~~~~~~~~ .. autoapisummary:: opendrift_gui.CreateToolTip opendrift_gui.main .. py:class:: TextRedirector(widget, tag='stdout') .. py:method:: write(str) .. py:method:: flush() .. py:class:: ToolTip(widget) Bases: :py:obj:`object` .. py:method:: showtip(text) Display text in tooltip window .. py:method:: hidetip() .. py:function:: CreateToolTip(widget, text) .. py:class:: OpenDriftGUI Bases: :py:obj:`tkinter.Tk` Toplevel widget of Tk which represents mostly the main window of an application. It has an associated Tcl interpreter. Return a new top level 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. .. py:attribute:: opendrift_models .. py:attribute:: extra_args .. py:attribute:: GUI_config .. py:method:: copy_position(a, b, c) .. py:method:: handle_result(command) .. py:method:: validate_config(value_if_allowed, prior_value, key) From config menu selection. .. py:method:: set_model(model, rebuild_gui=True) .. py:method:: set_config_checkbox(key, i) .. py:method:: set_config_enum(event, key, i) .. py:method:: show_help() .. py:method:: convert_lonlat() .. py:method:: check_seeding() .. py:method:: run_opendrift() .. py:function:: main()