Many applications need to have a preview facility within their file chooser dialogs. Previous to GTK+ 2.4, one needed to access the GtkFileSelection widget hierarchy directly to hook in a preview widget. With GtkFileChooser, there is a dedicated API to do this.
Please see the