Gdk.FileList

Fields

None

Methods

class

new_from_array (files)

class

new_from_list (files)

get_files ()

Details

class Gdk.FileList

An opaque type representing a list of files.

New in version 4.6.

classmethod new_from_array(files)[source]
Parameters:

files ([Gio.File]) – the files to add to the list

Returns:

the newly create files list

Return type:

Gdk.FileList

Creates a new GdkFileList for the given array of files.

This function is meant to be used by language bindings.

New in version 4.8.

classmethod new_from_list(files)[source]
Parameters:

files ([Gio.File]) – a list of files

Returns:

the newly created files list

Return type:

Gdk.FileList

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

This function is meant to be used by language bindings

New in version 4.8.

get_files()[source]
Returns:

the files inside the list

Return type:

[Gio.File]

Retrieves the list of files inside a GdkFileList.

This function is meant for language bindings.

New in version 4.6.