If you are using the same routine for both the XmNdirSearchProc and the XmNfileSearchProc, you can
query this resource to determine the type of file to search for.
7.6 Summary
This chapter described the different types of selection dialogs provided by the Motif toolkit. These dialogs implement
some common functionality that is needed by many different applications. This chapter builds on the material in
Chapter 5, Introduction to Dialogs, which introduced the concept of dialogs and discussed the basic mechanisms that
implement them. While the dialogs are designed to be used as single−entity abstractions, they can be customized to
provide additional functionality as necessary. We describe how to customize the dialogs and how to create your own
dialogs in Chapter 7, Custom Dialogs.
7 Selection Dialogs 7.6 Summary
164