Foundry.DirectoryListing¶
- Subclasses:
None
Methods¶
- Inherited:
Foundry.Contextual (4), GObject.Object (37), Json.Serializable (8), Gio.ListModel (4)
- Structs:
class |
|
|
|
|
Virtual Methods¶
- Inherited:
GObject.Object (7), Json.Serializable (5), Gio.ListModel (3)
Properties¶
- Inherited:
Name |
Type |
Flags |
Short Description |
|---|---|---|---|
r/w/co |
|||
r/w/co |
|||
r/w/co |
|||
r/w/co |
Signals¶
- Inherited:
Fields¶
- Inherited:
Class Details¶
- class Foundry.DirectoryListing(**kwargs)¶
- Bases:
- Abstract:
No
- Structure:
Manages directory contents and file listings.
Foundry.DirectoryListingprovides a model for displaying directory contents with support for file monitoring, VCS integration, and custom attributes. It maintains a sequence of directory items and provides efficient access to file information for the file manager and other components.- classmethod new(context, directory, attributes, query_flags)¶
- Parameters:
context (
Foundry.Context) –directory (
Gio.File) –attributes (
str) –query_flags (
Gio.FileQueryInfoFlags) –
- Return type:
- await_()¶
- Returns:
a [class`Dex`.Future] that resolves to a value or rejects with error.
- Return type:
Await the completion of the initial directory listing.
- load_parent()¶
- Returns:
a [class`Foundry`.DirectoryListing]
- Return type:
Loads a similar directory listing for the parent directory.
New in version 1.1.
Property Details¶
- Foundry.DirectoryListing.props.attributes¶
- Name:
attributes- Type:
- Default Value:
- Flags:
- Foundry.DirectoryListing.props.directory¶
- Name:
directory- Type:
- Default Value:
- Flags:
- Foundry.DirectoryListing.props.include_parent¶
- Name:
include-parent- Type:
- Default Value:
- Flags:
- Foundry.DirectoryListing.props.query_flags¶
- Name:
query-flags- Type:
- Default Value:
- Flags: