Gdk.FileList – gtk4 Reference Manual
Packages
gtk4
Gdk
FileList
FileList.from_array
FileList.from_list
get_files
FileList
Object Hierarchy:
Description:
[
CCode
( copy_function =
"g_boxed_copy"
, free_function =
"g_boxed_free"
, type_id =
"gdk_file_list_get_type ()"
) ]
[
Compact
]
[
Version
( since =
"4.6"
) ]
public
class
FileList
An opaque type representing a list of files.
Namespace:
Gdk
Package:
gtk4
Content:
Creation methods:
public
FileList.from_array
(
File
[] files)
Creates a new `GdkFileList` for the given array of files.
public
FileList.from_list
(
SList
<
File
> files)
Creates a new files list container from a singly linked list of `GFile` instances.
Methods:
public
SList
<
unowned
File
>
get_files
()
Retrieves the list of files inside a `GdkFileList`.