182
182
_WRAP_METHOD(std::vector<Glib::ustring> list_shortcut_folder_uris() const, gtk_file_chooser_list_shortcut_folder_uris)
185
/** This signal is emitted when the current folder in a FileChooser
186
* changes. This can happen due to the user performing some action that
187
* changes folders, such as selecting a bookmark or visiting a folder on the
188
* file list. It can also happen as a result of calling a function to
189
* explicitly change the current folder in a file chooser.
191
* Normally you do not need to connect to this signal, unless you need to keep
192
* track of which folder a file chooser is showing.
194
* @see set_current_folder(), get_current_folder(),
195
* set_current_folder_uri(), get_current_folder_uri().
197
185
_WRAP_SIGNAL(void current_folder_changed(), "current_folder_changed", no_default_handler)
199
/** This signal is emitted when there is a change in the set of selected files
200
* in a #GtkFileChooser. This can happen when the user modifies the selection
201
* with the mouse or the keyboard, or when explicitly calling functions to
202
* change the selection.
204
* Normally you do not need to connect to this signal, as it is easier to wait
205
* for the file chooser to finish running, and then to get the list of
206
* selected files using the functions mentioned below.
208
* @see select_filename(), unselect_filename(), get_filename(),
209
* get_filenames(), select_uri(),
210
* unselect_uri(), get_uri(),
213
186
_WRAP_SIGNAL(void selection_changed(), "selection_changed", no_default_handler)
215
/** This signal is emitted when the preview in a file chooser should be
216
* regenerated. For example, this can happen when the currently selected file
217
* changes. You should use this signal if you want your file chooser to have
220
* Once you have installed a preview widget with
221
* set_preview_widget(), you should update it when this
222
* signal is emitted. You can use the functions
223
* get_preview_filename() or get_preview_uri() to get the name of the file to preview.
224
* Your widget may not be able to preview all kinds of files; your signal handler
225
* must call set_preview_wiget_active() to inform the file
226
* chooser about whether the preview was generated successfully or not.
228
* @see set_preview_widget(), set_preview_widget_active(),
229
* set_use_preview_label(), get_preview_filename(), get_preview_uri().
231
187
_WRAP_SIGNAL(void update_preview(), "update_preview", no_default_handler)
233
/** This signal is emitted when the user "activates" a file in the file
234
* chooser. This can happen by double-clicking on a file in the file list, or
235
* by pressing <keycap>Enter</keycap>.
237
* Normally you do not need to connect to this signal. It is used internally
238
* by FileChooserDialog to know when to activate the default button in the
241
* @see get_filename(), get_filenames(), get_uri(), get_uris().
243
188
_WRAP_SIGNAL(void file_activated(), "file_activated", no_default_handler)
245
189
_WRAP_SIGNAL(FileChooserConfirmation confirm_overwrite(), "confirm-overwrite", no_default_handler)
247
191
_WRAP_PROPERTY("action", FileChooserAction)