| Copyright | Will Thompson and Iñaki García Etxebarria |
|---|---|
| License | LGPL-2.1 |
| Maintainer | Iñaki García Etxebarria |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
GI.Gdk.Structs.FileList
Description
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 Methods 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 Methods gvalueGType_ :: IO GType gvalueSet_ :: Ptr GValue -> Maybe FileList -> IO () gvalueGet_ :: Ptr GValue -> IO (Maybe FileList) | |
| type ParentTypes FileList Source # | |
Defined in GI.Gdk.Structs.FileList | |
Methods
Click to display all available methods, including inherited ones
getFiles
Arguments
| :: (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
Arguments
| :: (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
Arguments
| :: (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