| Top |  |  |  |  | 
    GObject
    ╰── GInitiallyUnowned
        ╰── GtkWidget
            ╰── GtkContainer
                ╰── GtkBin
                    ╰── GtkWindow
                        ╰── GtkDialog
                            ╰── ThunarAbstractDialog
                                ╰── ThunarChooserDialog
void thunar_show_chooser_dialog (gpointer parent,ThunarFile *file,gboolean open,gboolean preselect_default_checkbox);
Convenience function to display a ThunarChooserDialog with the given parameters.
If parent
 is a GtkWidget the chooser dialog will be opened as
modal dialog above the parent
. Else if parent
 is a screen (if
parent
 is NULL the default screen is used), the dialog won't
be modal and it will simply popup on the specified screen.
| parent | the GtkWidget or the GdkScreen on which to open the
dialog. May also be  | |
| file | the ThunarFile for which an application should be chosen. | |
| open | whether to also open the  | |
| preselect_default_checkbox | Check the checkbox by default and set the title "Set Default Application" of chooser dialog box. |