widgets/
mg_dialog_list.pro
includes main-level programModal dialog to present a user with a choice of a few items.
Routines
Routines from mg_dialog_list.pro
mg_dialog_list_event, event
Event handler for the dialog.
result = mg_dialog_list(choices, text [, dialog_parent=long] [, title=string])
Create a modal dialog to allow the user to select from some choices.
Routine details
top source mg_dialog_list_event
mg_dialog_list_event, event
Event handler for the dialog.
Parameters
- event in required type=structure
event structure for the droplist and OK/Cancel buttons
top source mg_dialog_list
result = mg_dialog_list(choices, text [, dialog_parent=long] [, title=string])
Create a modal dialog to allow the user to select from some choices.
Return value
long, index into choices parameter where -1 indicates the user quit
Parameters
- choices in required type=strarr
string array of choices
- text in required type=string
message to user explaining the choice
Keywords
- dialog_parent in optional type=long
widget identifier of the parent widget for the dialog
- title in optional type=string
title to appear in title bar of the dialog's window
File attributes
Modification date: | Sat Jan 31 21:16:37 2015 |
Lines: | 44 |
Docformat: | rst rst |