|
Graphics.UI.Gtk.Windows.FileSel |
|
|
|
|
Description |
The file selection widget is a quick and simple way to display a File
dialog box. It comes complete with Ok & Cancel buttons; optionally, it
can have file operation buttons.
- As of gtk 2.4 this module has been deprecated in favour of FileChooser
TODO
- Fix fileSelectionQueryButtons
|
|
Synopsis |
|
|
|
Documentation |
|
class DialogClass o => FileSelectionClass o |
|
|
data FileSelection |
|
|
fileSelectionNew :: String -> IO FileSelection |
Create a new file selection dialog with
the given window title.
|
|
fileSelectionSetFilename :: FileSelectionClass fsel => fsel -> String -> IO () |
Set the filename for the given file
selection dialog.
|
|
fileSelectionGetFilename :: FileSelectionClass fsel => fsel -> IO String |
Get the filename currently selected by
the given file selection dialog.
|
|
fileSelectionShowFileopButtons :: FileSelectionClass fsel => fsel -> IO () |
Show the file operation buttons
of the given file selection dialog.
|
|
fileSelectionHideFileopButtons :: FileSelectionClass fsel => fsel -> IO () |
Hide the file operation buttons
of the given file selection dialog.
|
|
fileSelectionGetButtons :: FileSelectionClass fsel => fsel -> IO (Button, Button) |
Extract the buttons of a fileselection.
|
|
fileSelectionComplete :: FileSelectionClass fsel => fsel -> String -> IO () |
Only show files matching pattern.
|
|
Produced by Haddock version 0.6 |