File Selection Dialog
Overview
The functions in this section enable you to open/create parts while
providing control over the motif dialogs for displaying error messages.
These functions allow you to:
- Display the File-->New File Selection Dialog.
- Display the File-->Open File Selection Dialog.
- Create a part and make it the work part using the File-->New
File Selection Dialog.
- Open a part and make it the work part using the File-->Open
File Selection Dialog.
- To establish a filter to use for selection, you should launch a selection dialog by calling either UF_UI_select_with_class_dialog or UF_UI_select_with_single_dialog. Both of these functions take in a proc of type UF_UI_sel_init_fn_t. In your implementation of that proc, you can set up the selection filter for the dialog using UF_UI_set_sel_mask().