Copyright | Will Thompson Iñaki García Etxebarria and Jonas Platte |
---|---|
License | LGPL-2.1 |
Maintainer | Iñaki García Etxebarria |
Safe Haskell | None |
Language | Haskell2010 |
FileChooserWidget
is a widget for choosing files.
It exposes the FileChooser
interface, and you should
use the methods of this interface to interact with the
widget.
CSS nodes
GtkFileChooserWidget has a single CSS node with name filechooser.
Synopsis
- newtype FileChooserWidget = FileChooserWidget (ManagedPtr FileChooserWidget)
- class (GObject o, IsDescendantOf FileChooserWidget o) => IsFileChooserWidget o
- toFileChooserWidget :: (MonadIO m, IsFileChooserWidget o) => o -> m FileChooserWidget
- noFileChooserWidget :: Maybe FileChooserWidget
- fileChooserWidgetNew :: (HasCallStack, MonadIO m) => FileChooserAction -> m FileChooserWidget
- constructFileChooserWidgetSearchMode :: IsFileChooserWidget o => Bool -> IO (GValueConstruct o)
- getFileChooserWidgetSearchMode :: (MonadIO m, IsFileChooserWidget o) => o -> m Bool
- setFileChooserWidgetSearchMode :: (MonadIO m, IsFileChooserWidget o) => o -> Bool -> m ()
- getFileChooserWidgetSubtitle :: (MonadIO m, IsFileChooserWidget o) => o -> m (Maybe Text)
- type C_FileChooserWidgetDesktopFolderCallback = Ptr () -> Ptr () -> IO ()
- type FileChooserWidgetDesktopFolderCallback = IO ()
- afterFileChooserWidgetDesktopFolder :: (IsFileChooserWidget a, MonadIO m) => a -> FileChooserWidgetDesktopFolderCallback -> m SignalHandlerId
- genClosure_FileChooserWidgetDesktopFolder :: MonadIO m => FileChooserWidgetDesktopFolderCallback -> m (GClosure C_FileChooserWidgetDesktopFolderCallback)
- mk_FileChooserWidgetDesktopFolderCallback :: C_FileChooserWidgetDesktopFolderCallback -> IO (FunPtr C_FileChooserWidgetDesktopFolderCallback)
- noFileChooserWidgetDesktopFolderCallback :: Maybe FileChooserWidgetDesktopFolderCallback
- onFileChooserWidgetDesktopFolder :: (IsFileChooserWidget a, MonadIO m) => a -> FileChooserWidgetDesktopFolderCallback -> m SignalHandlerId
- wrap_FileChooserWidgetDesktopFolderCallback :: FileChooserWidgetDesktopFolderCallback -> C_FileChooserWidgetDesktopFolderCallback
- type C_FileChooserWidgetDownFolderCallback = Ptr () -> Ptr () -> IO ()
- type FileChooserWidgetDownFolderCallback = IO ()
- afterFileChooserWidgetDownFolder :: (IsFileChooserWidget a, MonadIO m) => a -> FileChooserWidgetDownFolderCallback -> m SignalHandlerId
- genClosure_FileChooserWidgetDownFolder :: MonadIO m => FileChooserWidgetDownFolderCallback -> m (GClosure C_FileChooserWidgetDownFolderCallback)
- mk_FileChooserWidgetDownFolderCallback :: C_FileChooserWidgetDownFolderCallback -> IO (FunPtr C_FileChooserWidgetDownFolderCallback)
- noFileChooserWidgetDownFolderCallback :: Maybe FileChooserWidgetDownFolderCallback
- onFileChooserWidgetDownFolder :: (IsFileChooserWidget a, MonadIO m) => a -> FileChooserWidgetDownFolderCallback -> m SignalHandlerId
- wrap_FileChooserWidgetDownFolderCallback :: FileChooserWidgetDownFolderCallback -> C_FileChooserWidgetDownFolderCallback
- type C_FileChooserWidgetHomeFolderCallback = Ptr () -> Ptr () -> IO ()
- type FileChooserWidgetHomeFolderCallback = IO ()
- afterFileChooserWidgetHomeFolder :: (IsFileChooserWidget a, MonadIO m) => a -> FileChooserWidgetHomeFolderCallback -> m SignalHandlerId
- genClosure_FileChooserWidgetHomeFolder :: MonadIO m => FileChooserWidgetHomeFolderCallback -> m (GClosure C_FileChooserWidgetHomeFolderCallback)
- mk_FileChooserWidgetHomeFolderCallback :: C_FileChooserWidgetHomeFolderCallback -> IO (FunPtr C_FileChooserWidgetHomeFolderCallback)
- noFileChooserWidgetHomeFolderCallback :: Maybe FileChooserWidgetHomeFolderCallback
- onFileChooserWidgetHomeFolder :: (IsFileChooserWidget a, MonadIO m) => a -> FileChooserWidgetHomeFolderCallback -> m SignalHandlerId
- wrap_FileChooserWidgetHomeFolderCallback :: FileChooserWidgetHomeFolderCallback -> C_FileChooserWidgetHomeFolderCallback
- type C_FileChooserWidgetLocationPopupCallback = Ptr () -> CString -> Ptr () -> IO ()
- type FileChooserWidgetLocationPopupCallback = Text -> IO ()
- afterFileChooserWidgetLocationPopup :: (IsFileChooserWidget a, MonadIO m) => a -> FileChooserWidgetLocationPopupCallback -> m SignalHandlerId
- genClosure_FileChooserWidgetLocationPopup :: MonadIO m => FileChooserWidgetLocationPopupCallback -> m (GClosure C_FileChooserWidgetLocationPopupCallback)
- mk_FileChooserWidgetLocationPopupCallback :: C_FileChooserWidgetLocationPopupCallback -> IO (FunPtr C_FileChooserWidgetLocationPopupCallback)
- noFileChooserWidgetLocationPopupCallback :: Maybe FileChooserWidgetLocationPopupCallback
- onFileChooserWidgetLocationPopup :: (IsFileChooserWidget a, MonadIO m) => a -> FileChooserWidgetLocationPopupCallback -> m SignalHandlerId
- wrap_FileChooserWidgetLocationPopupCallback :: FileChooserWidgetLocationPopupCallback -> C_FileChooserWidgetLocationPopupCallback
- type C_FileChooserWidgetLocationPopupOnPasteCallback = Ptr () -> Ptr () -> IO ()
- type FileChooserWidgetLocationPopupOnPasteCallback = IO ()
- afterFileChooserWidgetLocationPopupOnPaste :: (IsFileChooserWidget a, MonadIO m) => a -> FileChooserWidgetLocationPopupOnPasteCallback -> m SignalHandlerId
- genClosure_FileChooserWidgetLocationPopupOnPaste :: MonadIO m => FileChooserWidgetLocationPopupOnPasteCallback -> m (GClosure C_FileChooserWidgetLocationPopupOnPasteCallback)
- mk_FileChooserWidgetLocationPopupOnPasteCallback :: C_FileChooserWidgetLocationPopupOnPasteCallback -> IO (FunPtr C_FileChooserWidgetLocationPopupOnPasteCallback)
- noFileChooserWidgetLocationPopupOnPasteCallback :: Maybe FileChooserWidgetLocationPopupOnPasteCallback
- onFileChooserWidgetLocationPopupOnPaste :: (IsFileChooserWidget a, MonadIO m) => a -> FileChooserWidgetLocationPopupOnPasteCallback -> m SignalHandlerId
- wrap_FileChooserWidgetLocationPopupOnPasteCallback :: FileChooserWidgetLocationPopupOnPasteCallback -> C_FileChooserWidgetLocationPopupOnPasteCallback
- type C_FileChooserWidgetLocationTogglePopupCallback = Ptr () -> Ptr () -> IO ()
- type FileChooserWidgetLocationTogglePopupCallback = IO ()
- afterFileChooserWidgetLocationTogglePopup :: (IsFileChooserWidget a, MonadIO m) => a -> FileChooserWidgetLocationTogglePopupCallback -> m SignalHandlerId
- genClosure_FileChooserWidgetLocationTogglePopup :: MonadIO m => FileChooserWidgetLocationTogglePopupCallback -> m (GClosure C_FileChooserWidgetLocationTogglePopupCallback)
- mk_FileChooserWidgetLocationTogglePopupCallback :: C_FileChooserWidgetLocationTogglePopupCallback -> IO (FunPtr C_FileChooserWidgetLocationTogglePopupCallback)
- noFileChooserWidgetLocationTogglePopupCallback :: Maybe FileChooserWidgetLocationTogglePopupCallback
- onFileChooserWidgetLocationTogglePopup :: (IsFileChooserWidget a, MonadIO m) => a -> FileChooserWidgetLocationTogglePopupCallback -> m SignalHandlerId
- wrap_FileChooserWidgetLocationTogglePopupCallback :: FileChooserWidgetLocationTogglePopupCallback -> C_FileChooserWidgetLocationTogglePopupCallback
- type C_FileChooserWidgetPlacesShortcutCallback = Ptr () -> Ptr () -> IO ()
- type FileChooserWidgetPlacesShortcutCallback = IO ()
- afterFileChooserWidgetPlacesShortcut :: (IsFileChooserWidget a, MonadIO m) => a -> FileChooserWidgetPlacesShortcutCallback -> m SignalHandlerId
- genClosure_FileChooserWidgetPlacesShortcut :: MonadIO m => FileChooserWidgetPlacesShortcutCallback -> m (GClosure C_FileChooserWidgetPlacesShortcutCallback)
- mk_FileChooserWidgetPlacesShortcutCallback :: C_FileChooserWidgetPlacesShortcutCallback -> IO (FunPtr C_FileChooserWidgetPlacesShortcutCallback)
- noFileChooserWidgetPlacesShortcutCallback :: Maybe FileChooserWidgetPlacesShortcutCallback
- onFileChooserWidgetPlacesShortcut :: (IsFileChooserWidget a, MonadIO m) => a -> FileChooserWidgetPlacesShortcutCallback -> m SignalHandlerId
- wrap_FileChooserWidgetPlacesShortcutCallback :: FileChooserWidgetPlacesShortcutCallback -> C_FileChooserWidgetPlacesShortcutCallback
- type C_FileChooserWidgetQuickBookmarkCallback = Ptr () -> Int32 -> Ptr () -> IO ()
- type FileChooserWidgetQuickBookmarkCallback = Int32 -> IO ()
- afterFileChooserWidgetQuickBookmark :: (IsFileChooserWidget a, MonadIO m) => a -> FileChooserWidgetQuickBookmarkCallback -> m SignalHandlerId
- genClosure_FileChooserWidgetQuickBookmark :: MonadIO m => FileChooserWidgetQuickBookmarkCallback -> m (GClosure C_FileChooserWidgetQuickBookmarkCallback)
- mk_FileChooserWidgetQuickBookmarkCallback :: C_FileChooserWidgetQuickBookmarkCallback -> IO (FunPtr C_FileChooserWidgetQuickBookmarkCallback)
- noFileChooserWidgetQuickBookmarkCallback :: Maybe FileChooserWidgetQuickBookmarkCallback
- onFileChooserWidgetQuickBookmark :: (IsFileChooserWidget a, MonadIO m) => a -> FileChooserWidgetQuickBookmarkCallback -> m SignalHandlerId
- wrap_FileChooserWidgetQuickBookmarkCallback :: FileChooserWidgetQuickBookmarkCallback -> C_FileChooserWidgetQuickBookmarkCallback
- type C_FileChooserWidgetRecentShortcutCallback = Ptr () -> Ptr () -> IO ()
- type FileChooserWidgetRecentShortcutCallback = IO ()
- afterFileChooserWidgetRecentShortcut :: (IsFileChooserWidget a, MonadIO m) => a -> FileChooserWidgetRecentShortcutCallback -> m SignalHandlerId
- genClosure_FileChooserWidgetRecentShortcut :: MonadIO m => FileChooserWidgetRecentShortcutCallback -> m (GClosure C_FileChooserWidgetRecentShortcutCallback)
- mk_FileChooserWidgetRecentShortcutCallback :: C_FileChooserWidgetRecentShortcutCallback -> IO (FunPtr C_FileChooserWidgetRecentShortcutCallback)
- noFileChooserWidgetRecentShortcutCallback :: Maybe FileChooserWidgetRecentShortcutCallback
- onFileChooserWidgetRecentShortcut :: (IsFileChooserWidget a, MonadIO m) => a -> FileChooserWidgetRecentShortcutCallback -> m SignalHandlerId
- wrap_FileChooserWidgetRecentShortcutCallback :: FileChooserWidgetRecentShortcutCallback -> C_FileChooserWidgetRecentShortcutCallback
- type C_FileChooserWidgetSearchShortcutCallback = Ptr () -> Ptr () -> IO ()
- type FileChooserWidgetSearchShortcutCallback = IO ()
- afterFileChooserWidgetSearchShortcut :: (IsFileChooserWidget a, MonadIO m) => a -> FileChooserWidgetSearchShortcutCallback -> m SignalHandlerId
- genClosure_FileChooserWidgetSearchShortcut :: MonadIO m => FileChooserWidgetSearchShortcutCallback -> m (GClosure C_FileChooserWidgetSearchShortcutCallback)
- mk_FileChooserWidgetSearchShortcutCallback :: C_FileChooserWidgetSearchShortcutCallback -> IO (FunPtr C_FileChooserWidgetSearchShortcutCallback)
- noFileChooserWidgetSearchShortcutCallback :: Maybe FileChooserWidgetSearchShortcutCallback
- onFileChooserWidgetSearchShortcut :: (IsFileChooserWidget a, MonadIO m) => a -> FileChooserWidgetSearchShortcutCallback -> m SignalHandlerId
- wrap_FileChooserWidgetSearchShortcutCallback :: FileChooserWidgetSearchShortcutCallback -> C_FileChooserWidgetSearchShortcutCallback
- type C_FileChooserWidgetShowHiddenCallback = Ptr () -> Ptr () -> IO ()
- type FileChooserWidgetShowHiddenCallback = IO ()
- afterFileChooserWidgetShowHidden :: (IsFileChooserWidget a, MonadIO m) => a -> FileChooserWidgetShowHiddenCallback -> m SignalHandlerId
- genClosure_FileChooserWidgetShowHidden :: MonadIO m => FileChooserWidgetShowHiddenCallback -> m (GClosure C_FileChooserWidgetShowHiddenCallback)
- mk_FileChooserWidgetShowHiddenCallback :: C_FileChooserWidgetShowHiddenCallback -> IO (FunPtr C_FileChooserWidgetShowHiddenCallback)
- noFileChooserWidgetShowHiddenCallback :: Maybe FileChooserWidgetShowHiddenCallback
- onFileChooserWidgetShowHidden :: (IsFileChooserWidget a, MonadIO m) => a -> FileChooserWidgetShowHiddenCallback -> m SignalHandlerId
- wrap_FileChooserWidgetShowHiddenCallback :: FileChooserWidgetShowHiddenCallback -> C_FileChooserWidgetShowHiddenCallback
- type C_FileChooserWidgetUpFolderCallback = Ptr () -> Ptr () -> IO ()
- type FileChooserWidgetUpFolderCallback = IO ()
- afterFileChooserWidgetUpFolder :: (IsFileChooserWidget a, MonadIO m) => a -> FileChooserWidgetUpFolderCallback -> m SignalHandlerId
- genClosure_FileChooserWidgetUpFolder :: MonadIO m => FileChooserWidgetUpFolderCallback -> m (GClosure C_FileChooserWidgetUpFolderCallback)
- mk_FileChooserWidgetUpFolderCallback :: C_FileChooserWidgetUpFolderCallback -> IO (FunPtr C_FileChooserWidgetUpFolderCallback)
- noFileChooserWidgetUpFolderCallback :: Maybe FileChooserWidgetUpFolderCallback
- onFileChooserWidgetUpFolder :: (IsFileChooserWidget a, MonadIO m) => a -> FileChooserWidgetUpFolderCallback -> m SignalHandlerId
- wrap_FileChooserWidgetUpFolderCallback :: FileChooserWidgetUpFolderCallback -> C_FileChooserWidgetUpFolderCallback
Exported types
newtype FileChooserWidget Source #
Memory-managed wrapper type.
Instances
Eq FileChooserWidget Source # | |
Defined in GI.Gtk.Objects.FileChooserWidget (==) :: FileChooserWidget -> FileChooserWidget -> Bool # (/=) :: FileChooserWidget -> FileChooserWidget -> Bool # | |
IsGValue FileChooserWidget Source # | Convert |
Defined in GI.Gtk.Objects.FileChooserWidget toGValue :: FileChooserWidget -> IO GValue # fromGValue :: GValue -> IO FileChooserWidget # | |
GObject FileChooserWidget Source # | |
Defined in GI.Gtk.Objects.FileChooserWidget gobjectType :: IO GType # | |
HasParentTypes FileChooserWidget Source # | |
Defined in GI.Gtk.Objects.FileChooserWidget | |
type ParentTypes FileChooserWidget Source # | |
Defined in GI.Gtk.Objects.FileChooserWidget type ParentTypes FileChooserWidget = '[Box, Container, Widget, Object, ImplementorIface, Buildable, FileChooser, Orientable] |
class (GObject o, IsDescendantOf FileChooserWidget o) => IsFileChooserWidget o Source #
Type class for types which can be safely cast to FileChooserWidget
, for instance with toFileChooserWidget
.
Instances
(GObject o, IsDescendantOf FileChooserWidget o) => IsFileChooserWidget o Source # | |
Defined in GI.Gtk.Objects.FileChooserWidget |
toFileChooserWidget :: (MonadIO m, IsFileChooserWidget o) => o -> m FileChooserWidget Source #
Cast to FileChooserWidget
, for types for which this is known to be safe. For general casts, use castTo
.
noFileChooserWidget :: Maybe FileChooserWidget Source #
A convenience alias for Nothing
:: Maybe
FileChooserWidget
.
Methods
Overloaded methods
new
:: (HasCallStack, MonadIO m) | |
=> FileChooserAction |
|
-> m FileChooserWidget | Returns: a new |
Creates a new FileChooserWidget
. This is a file chooser widget that can
be embedded in custom windows, and it is the same widget that is used by
FileChooserDialog
.
Since: 2.4
Properties
searchMode
No description available in the introspection data.
constructFileChooserWidgetSearchMode :: IsFileChooserWidget o => Bool -> IO (GValueConstruct o) Source #
Construct a GValueConstruct
with valid value for the “search-mode
” property. This is rarely needed directly, but it is used by new
.
getFileChooserWidgetSearchMode :: (MonadIO m, IsFileChooserWidget o) => o -> m Bool Source #
Get the value of the “search-mode
” property.
When overloading is enabled, this is equivalent to
get
fileChooserWidget #searchMode
setFileChooserWidgetSearchMode :: (MonadIO m, IsFileChooserWidget o) => o -> Bool -> m () Source #
Set the value of the “search-mode
” property.
When overloading is enabled, this is equivalent to
set
fileChooserWidget [ #searchMode:=
value ]
subtitle
No description available in the introspection data.
getFileChooserWidgetSubtitle :: (MonadIO m, IsFileChooserWidget o) => o -> m (Maybe Text) Source #
Get the value of the “subtitle
” property.
When overloading is enabled, this is equivalent to
get
fileChooserWidget #subtitle
Signals
desktopFolder
type C_FileChooserWidgetDesktopFolderCallback = Ptr () -> Ptr () -> IO () Source #
Type for the callback on the (unwrapped) C side.
type FileChooserWidgetDesktopFolderCallback = IO () Source #
The desktopFolder signal is a [keybinding signal][GtkBindingSignal] which gets emitted when the user asks for it.
This is used to make the file chooser show the user's Desktop folder in the file list.
The default binding for this signal is Alt + D
.
afterFileChooserWidgetDesktopFolder :: (IsFileChooserWidget a, MonadIO m) => a -> FileChooserWidgetDesktopFolderCallback -> m SignalHandlerId Source #
Connect a signal handler for the desktopFolder signal, to be run after the default handler. When overloading is enabled, this is equivalent to
after
fileChooserWidget #desktopFolder callback
genClosure_FileChooserWidgetDesktopFolder :: MonadIO m => FileChooserWidgetDesktopFolderCallback -> m (GClosure C_FileChooserWidgetDesktopFolderCallback) Source #
Wrap the callback into a GClosure
.
mk_FileChooserWidgetDesktopFolderCallback :: C_FileChooserWidgetDesktopFolderCallback -> IO (FunPtr C_FileChooserWidgetDesktopFolderCallback) Source #
Generate a function pointer callable from C code, from a C_FileChooserWidgetDesktopFolderCallback
.
noFileChooserWidgetDesktopFolderCallback :: Maybe FileChooserWidgetDesktopFolderCallback Source #
A convenience synonym for
.Nothing
:: Maybe
FileChooserWidgetDesktopFolderCallback
onFileChooserWidgetDesktopFolder :: (IsFileChooserWidget a, MonadIO m) => a -> FileChooserWidgetDesktopFolderCallback -> m SignalHandlerId Source #
Connect a signal handler for the desktopFolder signal, to be run before the default handler. When overloading is enabled, this is equivalent to
on
fileChooserWidget #desktopFolder callback
wrap_FileChooserWidgetDesktopFolderCallback :: FileChooserWidgetDesktopFolderCallback -> C_FileChooserWidgetDesktopFolderCallback Source #
downFolder
type C_FileChooserWidgetDownFolderCallback = Ptr () -> Ptr () -> IO () Source #
Type for the callback on the (unwrapped) C side.
type FileChooserWidgetDownFolderCallback = IO () Source #
The downFolder signal is a [keybinding signal][GtkBindingSignal] which gets emitted when the user asks for it.
This is used to make the file chooser go to a child of the current folder in the file hierarchy. The subfolder that will be used is displayed in the path bar widget of the file chooser. For example, if the path bar is showing "/foo/bar/baz", with bar currently displayed, then this will cause the file chooser to switch to the "baz" subfolder.
The default binding for this signal is Alt + Down
.
afterFileChooserWidgetDownFolder :: (IsFileChooserWidget a, MonadIO m) => a -> FileChooserWidgetDownFolderCallback -> m SignalHandlerId Source #
Connect a signal handler for the downFolder signal, to be run after the default handler. When overloading is enabled, this is equivalent to
after
fileChooserWidget #downFolder callback
genClosure_FileChooserWidgetDownFolder :: MonadIO m => FileChooserWidgetDownFolderCallback -> m (GClosure C_FileChooserWidgetDownFolderCallback) Source #
Wrap the callback into a GClosure
.
mk_FileChooserWidgetDownFolderCallback :: C_FileChooserWidgetDownFolderCallback -> IO (FunPtr C_FileChooserWidgetDownFolderCallback) Source #
Generate a function pointer callable from C code, from a C_FileChooserWidgetDownFolderCallback
.
noFileChooserWidgetDownFolderCallback :: Maybe FileChooserWidgetDownFolderCallback Source #
A convenience synonym for
.Nothing
:: Maybe
FileChooserWidgetDownFolderCallback
onFileChooserWidgetDownFolder :: (IsFileChooserWidget a, MonadIO m) => a -> FileChooserWidgetDownFolderCallback -> m SignalHandlerId Source #
Connect a signal handler for the downFolder signal, to be run before the default handler. When overloading is enabled, this is equivalent to
on
fileChooserWidget #downFolder callback
wrap_FileChooserWidgetDownFolderCallback :: FileChooserWidgetDownFolderCallback -> C_FileChooserWidgetDownFolderCallback Source #
homeFolder
type C_FileChooserWidgetHomeFolderCallback = Ptr () -> Ptr () -> IO () Source #
Type for the callback on the (unwrapped) C side.
type FileChooserWidgetHomeFolderCallback = IO () Source #
The homeFolder signal is a [keybinding signal][GtkBindingSignal] which gets emitted when the user asks for it.
This is used to make the file chooser show the user's home folder in the file list.
The default binding for this signal is Alt + Home
.
afterFileChooserWidgetHomeFolder :: (IsFileChooserWidget a, MonadIO m) => a -> FileChooserWidgetHomeFolderCallback -> m SignalHandlerId Source #
Connect a signal handler for the homeFolder signal, to be run after the default handler. When overloading is enabled, this is equivalent to
after
fileChooserWidget #homeFolder callback
genClosure_FileChooserWidgetHomeFolder :: MonadIO m => FileChooserWidgetHomeFolderCallback -> m (GClosure C_FileChooserWidgetHomeFolderCallback) Source #
Wrap the callback into a GClosure
.
mk_FileChooserWidgetHomeFolderCallback :: C_FileChooserWidgetHomeFolderCallback -> IO (FunPtr C_FileChooserWidgetHomeFolderCallback) Source #
Generate a function pointer callable from C code, from a C_FileChooserWidgetHomeFolderCallback
.
noFileChooserWidgetHomeFolderCallback :: Maybe FileChooserWidgetHomeFolderCallback Source #
A convenience synonym for
.Nothing
:: Maybe
FileChooserWidgetHomeFolderCallback
onFileChooserWidgetHomeFolder :: (IsFileChooserWidget a, MonadIO m) => a -> FileChooserWidgetHomeFolderCallback -> m SignalHandlerId Source #
Connect a signal handler for the homeFolder signal, to be run before the default handler. When overloading is enabled, this is equivalent to
on
fileChooserWidget #homeFolder callback
wrap_FileChooserWidgetHomeFolderCallback :: FileChooserWidgetHomeFolderCallback -> C_FileChooserWidgetHomeFolderCallback Source #
locationPopup
type C_FileChooserWidgetLocationPopupCallback = Ptr () -> CString -> Ptr () -> IO () Source #
Type for the callback on the (unwrapped) C side.
type FileChooserWidgetLocationPopupCallback Source #
The locationPopup signal is a [keybinding signal][GtkBindingSignal] which gets emitted when the user asks for it.
This is used to make the file chooser show a "Location" prompt which the user can use to manually type the name of the file he wishes to select.
The default bindings for this signal are Control + L
with a path
string
of "" (the empty string). It is also bound to /
with a path
string of
"/
" (a slash): this lets you type /
and immediately type a path name.
On Unix systems, this is bound to ~
(tilde) with a path
string of "~"
itself for access to home directories.
afterFileChooserWidgetLocationPopup :: (IsFileChooserWidget a, MonadIO m) => a -> FileChooserWidgetLocationPopupCallback -> m SignalHandlerId Source #
Connect a signal handler for the locationPopup signal, to be run after the default handler. When overloading is enabled, this is equivalent to
after
fileChooserWidget #locationPopup callback
genClosure_FileChooserWidgetLocationPopup :: MonadIO m => FileChooserWidgetLocationPopupCallback -> m (GClosure C_FileChooserWidgetLocationPopupCallback) Source #
Wrap the callback into a GClosure
.
mk_FileChooserWidgetLocationPopupCallback :: C_FileChooserWidgetLocationPopupCallback -> IO (FunPtr C_FileChooserWidgetLocationPopupCallback) Source #
Generate a function pointer callable from C code, from a C_FileChooserWidgetLocationPopupCallback
.
noFileChooserWidgetLocationPopupCallback :: Maybe FileChooserWidgetLocationPopupCallback Source #
A convenience synonym for
.Nothing
:: Maybe
FileChooserWidgetLocationPopupCallback
onFileChooserWidgetLocationPopup :: (IsFileChooserWidget a, MonadIO m) => a -> FileChooserWidgetLocationPopupCallback -> m SignalHandlerId Source #
Connect a signal handler for the locationPopup signal, to be run before the default handler. When overloading is enabled, this is equivalent to
on
fileChooserWidget #locationPopup callback
wrap_FileChooserWidgetLocationPopupCallback :: FileChooserWidgetLocationPopupCallback -> C_FileChooserWidgetLocationPopupCallback Source #
locationPopupOnPaste
type C_FileChooserWidgetLocationPopupOnPasteCallback = Ptr () -> Ptr () -> IO () Source #
Type for the callback on the (unwrapped) C side.
type FileChooserWidgetLocationPopupOnPasteCallback = IO () Source #
The locationPopupOnPaste signal is a [keybinding signal][GtkBindingSignal] which gets emitted when the user asks for it.
This is used to make the file chooser show a "Location" prompt when the user
pastes into a FileChooserWidget
.
The default binding for this signal is Control + V
.
afterFileChooserWidgetLocationPopupOnPaste :: (IsFileChooserWidget a, MonadIO m) => a -> FileChooserWidgetLocationPopupOnPasteCallback -> m SignalHandlerId Source #
Connect a signal handler for the locationPopupOnPaste signal, to be run after the default handler. When overloading is enabled, this is equivalent to
after
fileChooserWidget #locationPopupOnPaste callback
genClosure_FileChooserWidgetLocationPopupOnPaste :: MonadIO m => FileChooserWidgetLocationPopupOnPasteCallback -> m (GClosure C_FileChooserWidgetLocationPopupOnPasteCallback) Source #
Wrap the callback into a GClosure
.
mk_FileChooserWidgetLocationPopupOnPasteCallback :: C_FileChooserWidgetLocationPopupOnPasteCallback -> IO (FunPtr C_FileChooserWidgetLocationPopupOnPasteCallback) Source #
Generate a function pointer callable from C code, from a C_FileChooserWidgetLocationPopupOnPasteCallback
.
noFileChooserWidgetLocationPopupOnPasteCallback :: Maybe FileChooserWidgetLocationPopupOnPasteCallback Source #
A convenience synonym for
.Nothing
:: Maybe
FileChooserWidgetLocationPopupOnPasteCallback
onFileChooserWidgetLocationPopupOnPaste :: (IsFileChooserWidget a, MonadIO m) => a -> FileChooserWidgetLocationPopupOnPasteCallback -> m SignalHandlerId Source #
Connect a signal handler for the locationPopupOnPaste signal, to be run before the default handler. When overloading is enabled, this is equivalent to
on
fileChooserWidget #locationPopupOnPaste callback
wrap_FileChooserWidgetLocationPopupOnPasteCallback :: FileChooserWidgetLocationPopupOnPasteCallback -> C_FileChooserWidgetLocationPopupOnPasteCallback Source #
locationTogglePopup
type C_FileChooserWidgetLocationTogglePopupCallback = Ptr () -> Ptr () -> IO () Source #
Type for the callback on the (unwrapped) C side.
type FileChooserWidgetLocationTogglePopupCallback = IO () Source #
The locationTogglePopup signal is a [keybinding signal][GtkBindingSignal] which gets emitted when the user asks for it.
This is used to toggle the visibility of a "Location" prompt which the user can use to manually type the name of the file he wishes to select.
The default binding for this signal is Control + L
.
afterFileChooserWidgetLocationTogglePopup :: (IsFileChooserWidget a, MonadIO m) => a -> FileChooserWidgetLocationTogglePopupCallback -> m SignalHandlerId Source #
Connect a signal handler for the locationTogglePopup signal, to be run after the default handler. When overloading is enabled, this is equivalent to
after
fileChooserWidget #locationTogglePopup callback
genClosure_FileChooserWidgetLocationTogglePopup :: MonadIO m => FileChooserWidgetLocationTogglePopupCallback -> m (GClosure C_FileChooserWidgetLocationTogglePopupCallback) Source #
Wrap the callback into a GClosure
.
mk_FileChooserWidgetLocationTogglePopupCallback :: C_FileChooserWidgetLocationTogglePopupCallback -> IO (FunPtr C_FileChooserWidgetLocationTogglePopupCallback) Source #
Generate a function pointer callable from C code, from a C_FileChooserWidgetLocationTogglePopupCallback
.
noFileChooserWidgetLocationTogglePopupCallback :: Maybe FileChooserWidgetLocationTogglePopupCallback Source #
A convenience synonym for
.Nothing
:: Maybe
FileChooserWidgetLocationTogglePopupCallback
onFileChooserWidgetLocationTogglePopup :: (IsFileChooserWidget a, MonadIO m) => a -> FileChooserWidgetLocationTogglePopupCallback -> m SignalHandlerId Source #
Connect a signal handler for the locationTogglePopup signal, to be run before the default handler. When overloading is enabled, this is equivalent to
on
fileChooserWidget #locationTogglePopup callback
wrap_FileChooserWidgetLocationTogglePopupCallback :: FileChooserWidgetLocationTogglePopupCallback -> C_FileChooserWidgetLocationTogglePopupCallback Source #
placesShortcut
type C_FileChooserWidgetPlacesShortcutCallback = Ptr () -> Ptr () -> IO () Source #
Type for the callback on the (unwrapped) C side.
type FileChooserWidgetPlacesShortcutCallback = IO () Source #
The placesShortcut signal is a [keybinding signal][GtkBindingSignal] which gets emitted when the user asks for it.
This is used to move the focus to the places sidebar.
The default binding for this signal is Alt + P
.
afterFileChooserWidgetPlacesShortcut :: (IsFileChooserWidget a, MonadIO m) => a -> FileChooserWidgetPlacesShortcutCallback -> m SignalHandlerId Source #
Connect a signal handler for the placesShortcut signal, to be run after the default handler. When overloading is enabled, this is equivalent to
after
fileChooserWidget #placesShortcut callback
genClosure_FileChooserWidgetPlacesShortcut :: MonadIO m => FileChooserWidgetPlacesShortcutCallback -> m (GClosure C_FileChooserWidgetPlacesShortcutCallback) Source #
Wrap the callback into a GClosure
.
mk_FileChooserWidgetPlacesShortcutCallback :: C_FileChooserWidgetPlacesShortcutCallback -> IO (FunPtr C_FileChooserWidgetPlacesShortcutCallback) Source #
Generate a function pointer callable from C code, from a C_FileChooserWidgetPlacesShortcutCallback
.
noFileChooserWidgetPlacesShortcutCallback :: Maybe FileChooserWidgetPlacesShortcutCallback Source #
A convenience synonym for
.Nothing
:: Maybe
FileChooserWidgetPlacesShortcutCallback
onFileChooserWidgetPlacesShortcut :: (IsFileChooserWidget a, MonadIO m) => a -> FileChooserWidgetPlacesShortcutCallback -> m SignalHandlerId Source #
Connect a signal handler for the placesShortcut signal, to be run before the default handler. When overloading is enabled, this is equivalent to
on
fileChooserWidget #placesShortcut callback
wrap_FileChooserWidgetPlacesShortcutCallback :: FileChooserWidgetPlacesShortcutCallback -> C_FileChooserWidgetPlacesShortcutCallback Source #
quickBookmark
type C_FileChooserWidgetQuickBookmarkCallback = Ptr () -> Int32 -> Ptr () -> IO () Source #
Type for the callback on the (unwrapped) C side.
type FileChooserWidgetQuickBookmarkCallback Source #
The quickBookmark signal is a [keybinding signal][GtkBindingSignal] which gets emitted when the user asks for it.
This is used to make the file chooser switch to the bookmark specified
in the bookmarkIndex
parameter. For example, if you have three bookmarks,
you can pass 0, 1, 2 to this signal to switch to each of them, respectively.
The default binding for this signal is Alt + 1
, Alt + 2
,
etc. until Alt + 0
. Note that in the default binding, that
Alt + 1
is actually defined to switch to the bookmark at index
0, and so on successively; Alt + 0
is defined to switch to the
bookmark at index 10.
afterFileChooserWidgetQuickBookmark :: (IsFileChooserWidget a, MonadIO m) => a -> FileChooserWidgetQuickBookmarkCallback -> m SignalHandlerId Source #
Connect a signal handler for the quickBookmark signal, to be run after the default handler. When overloading is enabled, this is equivalent to
after
fileChooserWidget #quickBookmark callback
genClosure_FileChooserWidgetQuickBookmark :: MonadIO m => FileChooserWidgetQuickBookmarkCallback -> m (GClosure C_FileChooserWidgetQuickBookmarkCallback) Source #
Wrap the callback into a GClosure
.
mk_FileChooserWidgetQuickBookmarkCallback :: C_FileChooserWidgetQuickBookmarkCallback -> IO (FunPtr C_FileChooserWidgetQuickBookmarkCallback) Source #
Generate a function pointer callable from C code, from a C_FileChooserWidgetQuickBookmarkCallback
.
noFileChooserWidgetQuickBookmarkCallback :: Maybe FileChooserWidgetQuickBookmarkCallback Source #
A convenience synonym for
.Nothing
:: Maybe
FileChooserWidgetQuickBookmarkCallback
onFileChooserWidgetQuickBookmark :: (IsFileChooserWidget a, MonadIO m) => a -> FileChooserWidgetQuickBookmarkCallback -> m SignalHandlerId Source #
Connect a signal handler for the quickBookmark signal, to be run before the default handler. When overloading is enabled, this is equivalent to
on
fileChooserWidget #quickBookmark callback
wrap_FileChooserWidgetQuickBookmarkCallback :: FileChooserWidgetQuickBookmarkCallback -> C_FileChooserWidgetQuickBookmarkCallback Source #
recentShortcut
type C_FileChooserWidgetRecentShortcutCallback = Ptr () -> Ptr () -> IO () Source #
Type for the callback on the (unwrapped) C side.
type FileChooserWidgetRecentShortcutCallback = IO () Source #
The recentShortcut signal is a [keybinding signal][GtkBindingSignal] which gets emitted when the user asks for it.
This is used to make the file chooser show the Recent location.
The default binding for this signal is Alt + R
.
afterFileChooserWidgetRecentShortcut :: (IsFileChooserWidget a, MonadIO m) => a -> FileChooserWidgetRecentShortcutCallback -> m SignalHandlerId Source #
Connect a signal handler for the recentShortcut signal, to be run after the default handler. When overloading is enabled, this is equivalent to
after
fileChooserWidget #recentShortcut callback
genClosure_FileChooserWidgetRecentShortcut :: MonadIO m => FileChooserWidgetRecentShortcutCallback -> m (GClosure C_FileChooserWidgetRecentShortcutCallback) Source #
Wrap the callback into a GClosure
.
mk_FileChooserWidgetRecentShortcutCallback :: C_FileChooserWidgetRecentShortcutCallback -> IO (FunPtr C_FileChooserWidgetRecentShortcutCallback) Source #
Generate a function pointer callable from C code, from a C_FileChooserWidgetRecentShortcutCallback
.
noFileChooserWidgetRecentShortcutCallback :: Maybe FileChooserWidgetRecentShortcutCallback Source #
A convenience synonym for
.Nothing
:: Maybe
FileChooserWidgetRecentShortcutCallback
onFileChooserWidgetRecentShortcut :: (IsFileChooserWidget a, MonadIO m) => a -> FileChooserWidgetRecentShortcutCallback -> m SignalHandlerId Source #
Connect a signal handler for the recentShortcut signal, to be run before the default handler. When overloading is enabled, this is equivalent to
on
fileChooserWidget #recentShortcut callback
wrap_FileChooserWidgetRecentShortcutCallback :: FileChooserWidgetRecentShortcutCallback -> C_FileChooserWidgetRecentShortcutCallback Source #
searchShortcut
type C_FileChooserWidgetSearchShortcutCallback = Ptr () -> Ptr () -> IO () Source #
Type for the callback on the (unwrapped) C side.
type FileChooserWidgetSearchShortcutCallback = IO () Source #
The searchShortcut signal is a [keybinding signal][GtkBindingSignal] which gets emitted when the user asks for it.
This is used to make the file chooser show the search entry.
The default binding for this signal is Alt + S
.
afterFileChooserWidgetSearchShortcut :: (IsFileChooserWidget a, MonadIO m) => a -> FileChooserWidgetSearchShortcutCallback -> m SignalHandlerId Source #
Connect a signal handler for the searchShortcut signal, to be run after the default handler. When overloading is enabled, this is equivalent to
after
fileChooserWidget #searchShortcut callback
genClosure_FileChooserWidgetSearchShortcut :: MonadIO m => FileChooserWidgetSearchShortcutCallback -> m (GClosure C_FileChooserWidgetSearchShortcutCallback) Source #
Wrap the callback into a GClosure
.
mk_FileChooserWidgetSearchShortcutCallback :: C_FileChooserWidgetSearchShortcutCallback -> IO (FunPtr C_FileChooserWidgetSearchShortcutCallback) Source #
Generate a function pointer callable from C code, from a C_FileChooserWidgetSearchShortcutCallback
.
noFileChooserWidgetSearchShortcutCallback :: Maybe FileChooserWidgetSearchShortcutCallback Source #
A convenience synonym for
.Nothing
:: Maybe
FileChooserWidgetSearchShortcutCallback
onFileChooserWidgetSearchShortcut :: (IsFileChooserWidget a, MonadIO m) => a -> FileChooserWidgetSearchShortcutCallback -> m SignalHandlerId Source #
Connect a signal handler for the searchShortcut signal, to be run before the default handler. When overloading is enabled, this is equivalent to
on
fileChooserWidget #searchShortcut callback
wrap_FileChooserWidgetSearchShortcutCallback :: FileChooserWidgetSearchShortcutCallback -> C_FileChooserWidgetSearchShortcutCallback Source #
showHidden
type C_FileChooserWidgetShowHiddenCallback = Ptr () -> Ptr () -> IO () Source #
Type for the callback on the (unwrapped) C side.
type FileChooserWidgetShowHiddenCallback = IO () Source #
The showHidden signal is a [keybinding signal][GtkBindingSignal] which gets emitted when the user asks for it.
This is used to make the file chooser display hidden files.
The default binding for this signal is Control + H
.
afterFileChooserWidgetShowHidden :: (IsFileChooserWidget a, MonadIO m) => a -> FileChooserWidgetShowHiddenCallback -> m SignalHandlerId Source #
Connect a signal handler for the showHidden signal, to be run after the default handler. When overloading is enabled, this is equivalent to
after
fileChooserWidget #showHidden callback
genClosure_FileChooserWidgetShowHidden :: MonadIO m => FileChooserWidgetShowHiddenCallback -> m (GClosure C_FileChooserWidgetShowHiddenCallback) Source #
Wrap the callback into a GClosure
.
mk_FileChooserWidgetShowHiddenCallback :: C_FileChooserWidgetShowHiddenCallback -> IO (FunPtr C_FileChooserWidgetShowHiddenCallback) Source #
Generate a function pointer callable from C code, from a C_FileChooserWidgetShowHiddenCallback
.
noFileChooserWidgetShowHiddenCallback :: Maybe FileChooserWidgetShowHiddenCallback Source #
A convenience synonym for
.Nothing
:: Maybe
FileChooserWidgetShowHiddenCallback
onFileChooserWidgetShowHidden :: (IsFileChooserWidget a, MonadIO m) => a -> FileChooserWidgetShowHiddenCallback -> m SignalHandlerId Source #
Connect a signal handler for the showHidden signal, to be run before the default handler. When overloading is enabled, this is equivalent to
on
fileChooserWidget #showHidden callback
wrap_FileChooserWidgetShowHiddenCallback :: FileChooserWidgetShowHiddenCallback -> C_FileChooserWidgetShowHiddenCallback Source #
upFolder
type C_FileChooserWidgetUpFolderCallback = Ptr () -> Ptr () -> IO () Source #
Type for the callback on the (unwrapped) C side.
type FileChooserWidgetUpFolderCallback = IO () Source #
The upFolder signal is a [keybinding signal][GtkBindingSignal] which gets emitted when the user asks for it.
This is used to make the file chooser go to the parent of the current folder in the file hierarchy.
The default binding for this signal is Alt + Up
.
afterFileChooserWidgetUpFolder :: (IsFileChooserWidget a, MonadIO m) => a -> FileChooserWidgetUpFolderCallback -> m SignalHandlerId Source #
Connect a signal handler for the upFolder signal, to be run after the default handler. When overloading is enabled, this is equivalent to
after
fileChooserWidget #upFolder callback
genClosure_FileChooserWidgetUpFolder :: MonadIO m => FileChooserWidgetUpFolderCallback -> m (GClosure C_FileChooserWidgetUpFolderCallback) Source #
Wrap the callback into a GClosure
.
mk_FileChooserWidgetUpFolderCallback :: C_FileChooserWidgetUpFolderCallback -> IO (FunPtr C_FileChooserWidgetUpFolderCallback) Source #
Generate a function pointer callable from C code, from a C_FileChooserWidgetUpFolderCallback
.
noFileChooserWidgetUpFolderCallback :: Maybe FileChooserWidgetUpFolderCallback Source #
A convenience synonym for
.Nothing
:: Maybe
FileChooserWidgetUpFolderCallback
onFileChooserWidgetUpFolder :: (IsFileChooserWidget a, MonadIO m) => a -> FileChooserWidgetUpFolderCallback -> m SignalHandlerId Source #
Connect a signal handler for the upFolder signal, to be run before the default handler. When overloading is enabled, this is equivalent to
on
fileChooserWidget #upFolder callback