PANEL(3)

PACKAGE
panel - Routines to manipulate control panels (user interface code)

PURPOSE
These routines are meant to provide high level definition and processing of command lines.

LIBRARY
karma

LINK WITH
-lkarma

FUNCTIONS

panel_create
    Create a control panel object.

panel_create_group
    Create a panel to contain a group.

panel_add_item
    Add an item to a panel.

panel_push_onto_stack
    Push a control panel object onto the control panel stack.

panel_pop_from_stack
    Pop last pushed control panel object from control panel stack.

panel_process_command_with_stack
    Process a command.

panel_put_history_with_stack
    Put history into Karma multi_array structure.

panel_set_extra_comment_string
    Set the extra comment string for a panel.

panel_item_register_callback
    Register a function to be called when a panel item changes.

panel_PROTO_decode_func
    Command line decode callback.

panel_PROTO_change_func
    Item change callback.

TABLE panel_ATTRIBUTES
List of attributes for panel item objects
Name Type Meaning
PIA_END End of varargs list
PIA_NUM_CHOICE_STRINGS unsigned int Number of choice strings
PIA_CHOICE_STRINGS char ** Choice strings
PIA_ARRAY_LENGTH unsigned int * Current array length
PIA_ARRAY_MIN_LENGTH unsigned int Minimum array length
PIA_ARRAY_MAX_LENGTH unsigned int Maximum array length
PIA_CHOICE_COMMENTS char ** Choice string comments
PIA_MIN_VALUE double Minimum value
PIA_MAX_VALUE double Maximum value
PIA_TOP_OF_PANEL flag Place item at top of panel

TABLE panel_ITEM_TYPES
List of Karma data types
Name value_ptr type Meaning
PIT_FUNCTION void (*) (char *) Execute function
PIT_EXIT_FORM Exit form
PIT_FLAG flag * Flag type
PIT_CHOICE_INDEX unsigned int * Choice index (requires:
PIA_NUM_CHOICE_STRINGS and
PIA_CHOICE_STRINGS)
PIT_GROUP KControlPanel Group item

AUTHOR
Richard Gooch (rgooch@atnf.csiro.au)

AVAILABLITY
The Karma Distribution is available for anonymous ftp from: ftp://ftp.atnf.csiro.au/pub/software/karma/ ftp://wuarchive.wustl.edu/graphics/graphics/packages/karma/ ftp://ftp.pwr.wroc.pl/pub/karma/ The Karma Home Page is: http://www.atnf.csiro.au/karma/