next up previous contents index
Next: File Panel Up: Implementation of the Previous: Freezing Displays

List Module

 

  The construction of a panel with a list widget is a separate module. These panels are used to select functions, IO-types and F-types. There are only three functions which must react to the various lists in a specific way: ui_list_getFirstItem() yields the first element of the list, ui_list_getNextItem() the rest, and ui_list_setValue handles the result. Depending upon the type of the list, the result is either written to the appropriate place in the panel (source unit or target unit), or put into the global variable ui_list_returnName. In any case, the variable ui_list_returnIndex contains the list index used last. The list is constructed with ui_list_buildList(parentWidget, type), where type can have one of the following values:



Niels Mache
Wed May 17 11:23:58 MET DST 1995