Gtk2HsContentsIndex
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
class DialogClass o => FileSelectionClass o
data FileSelection
fileSelectionNew :: String -> IO FileSelection
fileSelectionSetFilename :: FileSelectionClass fsel => fsel -> String -> IO ()
fileSelectionGetFilename :: FileSelectionClass fsel => fsel -> IO String
fileSelectionShowFileopButtons :: FileSelectionClass fsel => fsel -> IO ()
fileSelectionHideFileopButtons :: FileSelectionClass fsel => fsel -> IO ()
fileSelectionGetButtons :: FileSelectionClass fsel => fsel -> IO (Button, Button)
fileSelectionComplete :: FileSelectionClass fsel => fsel -> String -> IO ()
Documentation
class DialogClass o => FileSelectionClass o
Instances
FileSelectionClass FileSelection
data FileSelection
Instances
FileSelectionClass FileSelection
DialogClass FileSelection
WindowClass FileSelection
BinClass FileSelection
ContainerClass FileSelection
WidgetClass FileSelection
ObjectClass FileSelection
GObjectClass 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