Modern IDL by Michael Galloy

API documentation for example code

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

objectgraphics/

mg_functiongraphics_widget.pro


Demo of incorporating a function graphic in a widget program.

Routines

Routines from mg_functiongraphics_widget.pro

mg_functiongraphics_widget_event, event

Handle events generated by the save button and the function graphics window.

mg_functiongraphics_widget_cleanup, tlb

Free resources of the widget program, including the function graphics window.

mg_functiongraphics_widget [, data]

Launch routine for demo of a widget program using a function graphic.

Routine details

top source mg_functiongraphics_widget_event

mg_functiongraphics_widget_event, event

Handle events generated by the save button and the function graphics window.

Parameters

event in required type=structure

WIDGET_BUTTON and WIDGET_WINDOW events

top source mg_functiongraphics_widget_cleanup

mg_functiongraphics_widget_cleanup, tlb

Free resources of the widget program, including the function graphics window.

Parameters

tlb in required type=long

widget identifier for the top-level base

top source mg_functiongraphics_widget

mg_functiongraphics_widget [, data]

Launch routine for demo of a widget program using a function graphic.

Parameters

data in optional type=fltarr

data to plot, default is a sine curve

File attributes

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