Go up one levelGo to Previous Go to Next

SearchConfig(n)

NAME

 
 SearchConfig - Widget for editing a list of search columns

NAMESPACE

 
 cat

PARENT CLASS

 
 util::TopLevelWidget

SYNOPSIS

 
 SearchConfig <path> ?options?

DESCRIPTION

 
 Class SearchConfig defines dialog window for editing the list of search
 columns for the AstroCat catalog window. This allows you to specify a
 list of columns to search by, save the information in a local catalog
 config file and reconfigure the current windows to include entries for
 the search columns.


WIDGET OPTIONS

 
 -anchor
        Set the anchor for labels.

 -astrocat
        Astrocat (C++ based) object.

 -catalog
        Catalog name.

 -columns
        List of column headings for the catalog.

 -command
        Command to eval when done.

 -labelfont
        Font to use for labels.

 -labelwidth
        Set the width for  displaying labels.

 -valuefont
        Font to use for values.

PROTECTED METHODS

 
 add_dialog_buttons {}
        Add the dialog button frame.

 add_tables {}
        Add a table listing the search columns and entries to edit.

 apply {{ask 0}}
        Apply the changes and close the window.

 fill_tables {}
        Fill the left and right tables with the column info.

 get_row {}
        Return a row based on the current entries or empty if not all of
        the entries contain values.

 init {}
        Called after options have been evaluated.

 make_short_help {}
        Add a short help window and set the help texts.

 select_row {tab}
        Called when a table row (left or right) is selected.

 set_row {args}
        Update the selected row with the typed in values.

 update_selection {}
        Update the selection in the listboxes after a change.

PROTECTED VARIABLES

 
 col_
        Widget displaying column name: name of selected search column
        (read-only).

 left_
        Left listbox widget.

 max_
        Widget displaying max value label.

 min_
        Widget displaying min value label.

 right_
        Right listbox widget.

 save_needed_
        Set to true if the catalog configuration has been edited and needs
        to be saved.

 sel_
        Table row last selected.

SEE ALSO

 
 TopLevelWidget(n)

 


- - - - - -
Last change: 07 May 99

 


Go up one levelGo to Previous Go to Next

Please send questions or comments to abrighto@eso.org@eso.org.
Copyright © 1998 ESO - European Southern Observatory