Some applications need to install extra widgets in a file chooser. For example, an application may want to provide a toggle button to give the user the option of opening a file read-only.
Please see the section on creating extra widgets for more information.