Skip to main content

Procedure Subtype Keywords

These keywords appear after a macro or function declaration and tell Igor that the macro or function is a special type of procedure. For example, marking a procedure as Graph or GraphStyle tells Igor that the name of the procedure should appear in the Windows→Graph Macros submenu.

ButtonControl

ButtonControl is a procedure subtype keyword that identifies a macro or function as being an action procedure for a user-defined button control. See Procedure Subtypes for details. See Button for details on creating a button control.

CameraWindow

CameraWindow is no longer supported, as of Igor 10.00.

CameraWindow was a procedure subtype keyword that identified a macro as being a camera window recreation macro. It was automatically used by Igor when Igor created a window recreation macro for a camera window. See Procedure Subtypes and Saving a Window as a Recreation Macro for details.

CDFFunc

CDFFunc is a procedure subtype keyword that identifies a function as being suitable for calling from the StatsKSTest operation.

CheckboxControl

CheckBoxControl is a procedure subtype keyword that identifies a macro or function as being an action procedure for a user-defined checkbox control. See Procedure Subtypes for details. See Procedure Subtypes for details. See Checkbox for details on creating a checkbox control.

CursorStyle

CursorStyle is a procedure subtype keyword that puts the name of the procedure in the "Style function" submenu of the Cursor Info pop-up menu. It is automatically used by Igor when Igor creates a cursor style function. To have Igor create a cursor style function, select "Save style function" in the "Style function" submenu of the Cursor Info pop-up menu.

See also Programming With Cursors.

DrawUserShape

DrawUserShape is a procedure subtype keyword that marks a function as suitable for drawing a user-defined drawing object. See Operations[DrawUserShape].

FitFunc

Marks a user function as a user-defined curve fit function. By default, only functions marked with this keyword are displayed in the Function menu in the Curve Fit dialog.

If you wish other functions to be displayed in the Function menu, you can check the checkbox labelled "Show old-style functions (missing FitFunc keyword)".

GizmoPlot

GizmoPlot is a procedure subtype keyword that identifies a macro as being a Gizmo recreation macro. It is automatically used by Igor when Igor creates a window recreation macro for a Gizmo plot. See Procedure Subtypes and Saving a Window as a Recreation Macro for details.

Graph

Graph is a procedure subtype keyword that identifies a macro as being a graph recreation macro. It is automatically used by Igor when Igor creates a window recreation macro for a graph. See Procedure Subtypes and Saving a Window as a Recreation Macro for details.

GraphMarquee

GraphMarquee is a procedure subtype keyword that puts the name of the procedure in the graph Marquee menu. See Marquee Menus for details.

GraphStyle

GraphStyle is a procedure subtype keyword that puts the name of the procedure in the Style pop-up menu of the New Graph dialog and in the Graph Macros menu. It is automatically used by Igor when Igor creates a graph style macro. To have Igor create a graph style macro, use the Windows→Control→Window Control dialog. See Graph Style Macros for details.

GridStyle

GridStyle is a procedure subtype keyword that puts the name of the procedure in the Grid→Style Function submenu of the mover pop-up menu in the drawing tool palette. You can have Igor automatically create a grid style function for you by choosing Save Style Function from that submenu.

Layout

Layout is a procedure subtype keyword that identifies a macro as being a page layout recreation macro. It is automatically used by Igor when Igor creates a window recreation macro for a layout. See Procedure Subtypes and Saving a Window as a Recreation Macro for details.

LayoutMarquee

LayoutMarquee is a procedure subtype keyword that puts the name of the procedure in the layout Marquee menu. See Marquee Menus for details.

LayoutStyle

LayoutStyle is a procedure subtype keyword that puts the name of the procedure in the Style pop-up menu of the New Layout dialog and in the Layout Macros menu. It is automatically used by Igor when Igor creates a layout style macro. To have Igor create a layout style macro, use the Windows→Control→ Window Control dialog. See Page Layout Style Macros for details.

ListBoxControl

ListBoxControl is a procedure subtype keyword that identifies a macro or function as being an action procedure for a user-defined listbox control. See Procedure Subtypes for details. See ListBox for details on creating a listbox control.

Panel

Panel is a procedure subtype keyword that identifies a macro as being a control panel recreation macro. It is automatically used by Igor when Igor creates a window recreation macro for a control panel. See Procedure Subtypes and Saving a Window as a Recreation Macro for details.

PopupMenuControl

PopupMenuControl is a procedure subtype keyword that identifies a macro or function as being an action procedure for a user-defined pop-up menu control. See Procedure Subtypes for details. See PopupMenu for details on creating a popup menu control.

SetVariableControl

SetVariableControl is a procedure subtype keyword that identifies a macro or function as being an action procedure for a user-defined SetVariable control. See Procedure Subtypes for details. See SetVariable for details on creating a SetVariable control.

SliderControl

SliderControl is a procedure subtype keyword that identifies a macro or function as being an action procedure for a user-defined slider control. See Procedure Subtypes for details. See Slider for details on creating a slider control.

TabControl

TabControl is a procedure subtype keyword that identifies a macro or function as being an action procedure for a user-defined tab control. See Procedure Subtypes for details. See Operations[TabControl] for details on creating a tab control.

Table

Table is a procedure subtype keyword that identifies a macro as being a table recreation macro. It is automatically used by Igor when Igor creates a window recreation macro for a table. See Procedure Subtypes and Saving a Window as a Recreation Macro for details.

TableStyle

TableStyle is a procedure subtype keyword that puts the name of the procedure in the Style pop-up menu of the New Table dialog and in the Table Macros menu. It is automatically used by Igor when Igor creates a table style macro. To have Igor create a table style macro, use the Windows→Control→Window Control dialog. See Table Style Macros for details.