XfceFileChooser and PreviewFileSelection
Brian J. Tarricone
bjt23 at cornell.edu
Tue Jun 29 02:45:28 CEST 2004
hi all-
i just made some improvements to the gtk 2.2 side of XfceFileChooser, so
now the entire API should be functional for gtk 2.2, with the exception
of the XfceFileFilter and shortcut folders stuff (which i'm unlikely to
implement ever). XfceFileChooser's API and behaviour is modelled
closely after gtk 2.4's GtkFileChooser, and it does all that
PreviewFileSelection does (and more). i suggest that
PreviewFileSelection should be considered deprecated in favor of
XfceFileChooser. any objections?
for an example of how to use XfceFileChooser, see
xfce4/xfdesktop/settings/backdrop_settings.c, functions list_add_cb()
and update_preview_cb(). gtk-docs for the API can be found at
http://xfce.org/~benny/api/libxfcegui4/libxfcegui4-XfceFileChooser.html
the online docs aren't completely up-to-date re: deprecated functions.
also, xfce_file_chooser_dialog_new() has been renamed to
xfce_file_chooser_new().
-brian
More information about the Xfce4-dev
mailing list