spedas/gui/objects/
spd_ui_prompt_obj__define.pro
Name: spd_ui_prompt_obj Purpose: For encapsulating access to the prompt interface in the SPEDAS GUI Keywords: msg: message to display in the prompt gui_id: id of the parent (GUI) widget historyWin: history window object, for sending text to the history window statusBar: status bar object, for sending text to the status bar Output: reference to the new prompt object Methods: sendtoScreen: creates the prompt Examples: ; create the object gui_prompt_obj = obj_new('SPD_UI_PROMPT_OBJ', historyWin=historyWin, statusBar=statusBar) ; send the prompt to the user user_selection = gui_prompt_obj->sendtoScreen('Are you sure you would like to overwrite this data?', 'Overwrite Data?', gui_id = gui_id) ; check the option selected by the user ... $LastChangedBy: jimm $ $LastChangedDate: 2014-02-11 10:54:32 -0800 (Tue, 11 Feb 2014) $ $LastChangedRevision: 14326 $ $URL: svn+ssh://thmsvn@ambrosia.ssl.berkeley.edu/repos/spdsoft/trunk/spedas/gui/objects/spd_ui_prompt_obj__define.pro $
Class description for spd_ui_prompt_obj
Properties
Properties in spd_ui_prompt_obj
- gui_id init
- historyWin init
- msg init
- statusBar init
Fields
Fields in spd_ui_prompt_obj
- GUI_ID 0B
- HISTORYWIN obj_new()
- MSG ''
- STATUSBAR obj_new()
Routines
Routines from spd_ui_prompt_obj__define.pro
Routine details
top source spd_ui_prompt_obj::sendtoScreen
result = spd_ui_prompt_obj::sendtoScreen(msg, title, gui_id=gui_id)
Parameters
- msg
- title
Keywords
- gui_id
File attributes
Modification date: | Thu Feb 13 16:41:40 2014 |
Lines: | 25 |