3.7 <GdkFileList>

Structure: <GdkFileList>

An opaque type representing a list of files.

Procedures

Method: file-list:get-files self ⇒ %return
Method: get-files self ⇒ %return

Retrieves the list of files inside a <GdkFileList>.

This function is meant for language bindings.

self

Passed: a <GdkFileList>.

the file list

%return

Returned: a list, each a <GFile>.

the files inside the list

Procedure: file-list:new-from-array files ⇒ %return

Creates a new <GdkFileList> for the given array of files.

This function is meant to be used by language bindings.

files

Passed: a list or vector, each a <GFile>.

the files to add to the list

%return

Returned: a <GdkFileList>.

the newly create files list

n-files

Not passed: guile-gi gives the length of files.

the number of files in the array

Procedure: file-list:new-from-list files ⇒ %return

Creates a new files list container from a singly linked list of <GFile> instances.

This function is meant to be used by language bindings

files

Passed: a list, each a <GFile>.

a list of files

%return

Returned: a <GdkFileList>.

the newly created files list