Copyright | Will Thompson, Iñaki García Etxebarria and Jonas Platte |
---|---|
License | LGPL-2.1 |
Maintainer | Iñaki García Etxebarria (garetxe@gmail.com) |
Safe Haskell | None |
Language | Haskell2010 |
- newtype FileChooserRequest = FileChooserRequest (ForeignPtr FileChooserRequest)
- class GObject o => FileChooserRequestK o
- toFileChooserRequest :: FileChooserRequestK o => o -> IO FileChooserRequest
- noFileChooserRequest :: Maybe FileChooserRequest
- fileChooserRequestCancel :: (MonadIO m, FileChooserRequestK a) => a -> m ()
- fileChooserRequestGetMimeTypes :: (MonadIO m, FileChooserRequestK a) => a -> m [Text]
- fileChooserRequestGetMimeTypesFilter :: (MonadIO m, FileChooserRequestK a) => a -> m FileFilter
- fileChooserRequestGetSelectMultiple :: (MonadIO m, FileChooserRequestK a) => a -> m Bool
- fileChooserRequestGetSelectedFiles :: (MonadIO m, FileChooserRequestK a) => a -> m [Text]
- fileChooserRequestSelectFiles :: (MonadIO m, FileChooserRequestK a) => a -> [Text] -> m ()
- data FileChooserRequestFilterPropertyInfo
- getFileChooserRequestFilter :: (MonadIO m, FileChooserRequestK o) => o -> m FileFilter
- data FileChooserRequestMimeTypesPropertyInfo
- getFileChooserRequestMimeTypes :: (MonadIO m, FileChooserRequestK o) => o -> m [Text]
- data FileChooserRequestSelectMultiplePropertyInfo
- getFileChooserRequestSelectMultiple :: (MonadIO m, FileChooserRequestK o) => o -> m Bool
- data FileChooserRequestSelectedFilesPropertyInfo
- getFileChooserRequestSelectedFiles :: (MonadIO m, FileChooserRequestK o) => o -> m [Text]
Exported types
newtype FileChooserRequest Source
class GObject o => FileChooserRequestK o Source
(GObject o, IsDescendantOf FileChooserRequest o) => FileChooserRequestK o |
toFileChooserRequest :: FileChooserRequestK o => o -> IO FileChooserRequest Source
Methods
fileChooserRequestCancel
fileChooserRequestCancel :: (MonadIO m, FileChooserRequestK a) => a -> m () Source
fileChooserRequestGetMimeTypes
fileChooserRequestGetMimeTypes :: (MonadIO m, FileChooserRequestK a) => a -> m [Text] Source
fileChooserRequestGetMimeTypesFilter
fileChooserRequestGetMimeTypesFilter :: (MonadIO m, FileChooserRequestK a) => a -> m FileFilter Source
fileChooserRequestGetSelectMultiple
fileChooserRequestGetSelectMultiple :: (MonadIO m, FileChooserRequestK a) => a -> m Bool Source
fileChooserRequestGetSelectedFiles
fileChooserRequestGetSelectedFiles :: (MonadIO m, FileChooserRequestK a) => a -> m [Text] Source
fileChooserRequestSelectFiles
fileChooserRequestSelectFiles :: (MonadIO m, FileChooserRequestK a) => a -> [Text] -> m () Source
Properties
Filter
data FileChooserRequestFilterPropertyInfo Source
AttrInfo FileChooserRequestFilterPropertyInfo | |
type AttrLabel FileChooserRequestFilterPropertyInfo = "FileChooserRequest::filter" | |
type AttrGetType FileChooserRequestFilterPropertyInfo = FileFilter | |
type AttrBaseTypeConstraint FileChooserRequestFilterPropertyInfo = FileChooserRequestK | |
type AttrSetTypeConstraint FileChooserRequestFilterPropertyInfo = * ~ () | |
type AttrAllowedOps FileChooserRequestFilterPropertyInfo = (:) AttrOpTag AttrGet ([] AttrOpTag) |
getFileChooserRequestFilter :: (MonadIO m, FileChooserRequestK o) => o -> m FileFilter Source
MimeTypes
data FileChooserRequestMimeTypesPropertyInfo Source
AttrInfo FileChooserRequestMimeTypesPropertyInfo | |
type AttrLabel FileChooserRequestMimeTypesPropertyInfo = "FileChooserRequest::mime-types" | |
type AttrGetType FileChooserRequestMimeTypesPropertyInfo = [Text] | |
type AttrBaseTypeConstraint FileChooserRequestMimeTypesPropertyInfo = FileChooserRequestK | |
type AttrSetTypeConstraint FileChooserRequestMimeTypesPropertyInfo = * ~ () | |
type AttrAllowedOps FileChooserRequestMimeTypesPropertyInfo = (:) AttrOpTag AttrGet ([] AttrOpTag) |
getFileChooserRequestMimeTypes :: (MonadIO m, FileChooserRequestK o) => o -> m [Text] Source
SelectMultiple
data FileChooserRequestSelectMultiplePropertyInfo Source
AttrInfo FileChooserRequestSelectMultiplePropertyInfo | |
type AttrLabel FileChooserRequestSelectMultiplePropertyInfo = "FileChooserRequest::select-multiple" | |
type AttrGetType FileChooserRequestSelectMultiplePropertyInfo = Bool | |
type AttrBaseTypeConstraint FileChooserRequestSelectMultiplePropertyInfo = FileChooserRequestK | |
type AttrSetTypeConstraint FileChooserRequestSelectMultiplePropertyInfo = * ~ () | |
type AttrAllowedOps FileChooserRequestSelectMultiplePropertyInfo = (:) AttrOpTag AttrGet ([] AttrOpTag) |
getFileChooserRequestSelectMultiple :: (MonadIO m, FileChooserRequestK o) => o -> m Bool Source
SelectedFiles
data FileChooserRequestSelectedFilesPropertyInfo Source
AttrInfo FileChooserRequestSelectedFilesPropertyInfo | |
type AttrLabel FileChooserRequestSelectedFilesPropertyInfo = "FileChooserRequest::selected-files" | |
type AttrGetType FileChooserRequestSelectedFilesPropertyInfo = [Text] | |
type AttrBaseTypeConstraint FileChooserRequestSelectedFilesPropertyInfo = FileChooserRequestK | |
type AttrSetTypeConstraint FileChooserRequestSelectedFilesPropertyInfo = * ~ () | |
type AttrAllowedOps FileChooserRequestSelectedFilesPropertyInfo = (:) AttrOpTag AttrGet ([] AttrOpTag) |
getFileChooserRequestSelectedFiles :: (MonadIO m, FileChooserRequestK o) => o -> m [Text] Source