Copyright | Will Thompson and Iñaki García Etxebarria |
---|---|
License | LGPL-2.1 |
Maintainer | Iñaki García Etxebarria |
Safe Haskell | None |
Language | Haskell2010 |
An opaque type representing a list of files.
Since: 4.6
Synopsis
- newtype FileList = FileList (ManagedPtr FileList)
- fileListGetFiles :: (HasCallStack, MonadIO m) => FileList -> m [File]
- fileListNewFromArray :: (HasCallStack, MonadIO m) => [File] -> m FileList
- fileListNewFromList :: (HasCallStack, MonadIO m, IsFile a) => [a] -> m FileList
Exported types
Memory-managed wrapper type.
Instances
Eq FileList Source # | |
GBoxed FileList Source # | |
Defined in GI.Gdk.Structs.FileList | |
ManagedPtrNewtype FileList Source # | |
Defined in GI.Gdk.Structs.FileList toManagedPtr :: FileList -> ManagedPtr FileList # | |
TypedObject FileList Source # | |
Defined in GI.Gdk.Structs.FileList | |
HasParentTypes FileList Source # | |
Defined in GI.Gdk.Structs.FileList | |
IsGValue (Maybe FileList) Source # | Convert |
Defined in GI.Gdk.Structs.FileList | |
type ParentTypes FileList Source # | |
Defined in GI.Gdk.Structs.FileList |
Methods
Click to display all available methods, including inherited ones
getFiles
:: (HasCallStack, MonadIO m) | |
=> FileList |
|
-> m [File] | Returns: the files inside the list |
Retrieves the list of files inside a GdkFileList
.
This function is meant for language bindings.
Since: 4.6
newFromArray
:: (HasCallStack, MonadIO m) | |
=> [File] |
|
-> m FileList | Returns: the newly create files list |
Creates a new GdkFileList
for the given array of files.
This function is meant to be used by language bindings.
Since: 4.8
newFromList
:: (HasCallStack, MonadIO m, IsFile a) | |
=> [a] |
|
-> m FileList | Returns: the newly created files list |
Creates a new files list container from a singly linked list of
GFile
instances.
This function is meant to be used by language bindings
Since: 4.8