gi-gdk-4.0.7: Gdk bindings
CopyrightWill Thompson and Iñaki García Etxebarria
LicenseLGPL-2.1
MaintainerIñaki García Etxebarria
Safe HaskellSafe-Inferred
LanguageHaskell2010

GI.Gdk.Structs.FileList

Description

An opaque type representing a list of files.

Since: 4.6

Synopsis

Exported types

newtype FileList Source #

Memory-managed wrapper type.

Constructors

FileList (ManagedPtr FileList) 

Instances

Instances details
Eq FileList Source # 
Instance details

Defined in GI.Gdk.Structs.FileList

GBoxed FileList Source # 
Instance details

Defined in GI.Gdk.Structs.FileList

ManagedPtrNewtype FileList Source # 
Instance details

Defined in GI.Gdk.Structs.FileList

Methods

toManagedPtr :: FileList -> ManagedPtr FileList

TypedObject FileList Source # 
Instance details

Defined in GI.Gdk.Structs.FileList

Methods

glibType :: IO GType

HasParentTypes FileList Source # 
Instance details

Defined in GI.Gdk.Structs.FileList

IsGValue (Maybe FileList) Source #

Convert FileList to and from GValue. See toGValue and fromGValue.

Instance details

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 # 
Instance details

Defined in GI.Gdk.Structs.FileList

type ParentTypes FileList = '[] :: [Type]

Methods

Click to display all available methods, including inherited ones

Expand

Methods

None.

Getters

getFiles.

Setters

None.

getFiles

fileListGetFiles Source #

Arguments

:: (HasCallStack, MonadIO m) 
=> FileList

fileList: the file list

-> 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

fileListNewFromArray Source #

Arguments

:: (HasCallStack, MonadIO m) 
=> [File]

files: the files to add to the list

-> 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

fileListNewFromList Source #

Arguments

:: (HasCallStack, MonadIO m, IsFile a) 
=> [a]

files: a list of files

-> 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