forked from AuroraMiddleware/gtk
filechooserwidget: Expose selection model
FileChooserCell may need to change the selection during a DND.
This commit is contained in:
parent
06382ff836
commit
8af191e52d
@ -7341,3 +7341,8 @@ gtk_file_chooser_widget_get_choice (GtkFileChooser *chooser,
|
||||
return NULL;
|
||||
}
|
||||
|
||||
GtkSelectionModel *
|
||||
gtk_file_chooser_widget_get_selection_model (GtkFileChooserWidget *chooser)
|
||||
{
|
||||
return chooser->selection_model;
|
||||
}
|
||||
|
@ -23,6 +23,7 @@
|
||||
|
||||
#include <glib.h>
|
||||
#include "gtkfilechooserwidget.h"
|
||||
#include "gtkselectionmodel.h"
|
||||
|
||||
G_BEGIN_DECLS
|
||||
|
||||
@ -39,6 +40,9 @@ gtk_file_chooser_widget_initial_focus (GtkFileChooserWidget *chooser);
|
||||
GSList *
|
||||
gtk_file_chooser_widget_get_selected_files (GtkFileChooserWidget *impl);
|
||||
|
||||
GtkSelectionModel *
|
||||
gtk_file_chooser_widget_get_selection_model (GtkFileChooserWidget *chooser);
|
||||
|
||||
G_END_DECLS
|
||||
|
||||
#endif /* __GTK_FILE_CHOOSER_WIDGET_PRIVATE_H__ */
|
||||
|
Loading…
Reference in New Issue
Block a user