Modern IDL by Michael Galloy

API documentation for example code

single page | use frames     summary     class     fields     routine details     file attributes

objectgraphics/

mg_widget_window_example.pro


Example of using a WIDGET_WINDOW widget in a widget program.

Use the controls to change the linestyle or color of the plot. Moving the the mouse, clicking the mouse buttons, or typing in the plot window will display messages in the status bar below the plot window.

Routines

Routines from mg_widget_window_example.pro

mg_widget_window_example_event, event

Event handler for all events generated in this widget program.

mg_widget_window_example_cleanup, tlb

Cleanup routine called when widget program is closing down.

mg_widget_window_example

Widget creation routine for example of using WIDGET_WINDOW widget.

Routine details

top source mg_widget_window_example_event

mg_widget_window_example_event, event

Event handler for all events generated in this widget program.

Parameters

event in required type=structure

event structure for droplist or WIDGET_WINDOW events

top source mg_widget_window_example_cleanup

mg_widget_window_example_cleanup, tlb

Cleanup routine called when widget program is closing down.

Parameters

tlb in required type=long

widget identifier for the top-level base

top source mg_widget_window_example

mg_widget_window_example

Widget creation routine for example of using WIDGET_WINDOW widget.

File attributes

Modification date: Mon Dec 19 15:12:04 2011
Lines: 57
Docformat: rst rst