Dazzle.DirectoryModel

g Dazzle.DirectoryModel Dazzle.DirectoryModel GObject.GInterface GObject.GInterface Gio.ListModel Gio.ListModel GObject.GInterface->Gio.ListModel GObject.Object GObject.Object GObject.Object->Dazzle.DirectoryModel Gio.ListModel->Dazzle.DirectoryModel

Subclasses:

None

Methods

Inherited:

GObject.Object (37), Gio.ListModel (4)

Structs:

GObject.ObjectClass (5)

class

new (directory)

get_directory ()

set_directory (directory)

set_visible_func (visible_func, *user_data)

Virtual Methods

Inherited:

GObject.Object (7), Gio.ListModel (3)

Properties

Name

Type

Flags

Short Description

directory

Gio.File

r/w

The directory to list files from.

Signals

Inherited:

GObject.Object (1), Gio.ListModel (1)

Fields

Inherited:

GObject.Object (1), Gio.ListModel (1)

Class Details

class Dazzle.DirectoryModel(**kwargs)
Bases:

GObject.Object, Gio.ListModel

Abstract:

No

Structure:

Dazzle.DirectoryModelClass

classmethod new(directory)
Parameters:

directory (Gio.File) – A Gio.File

Returns:

A newly created Dazzle.DirectoryModel

Return type:

Gio.ListModel

Creates a new Dazzle.DirectoryModel using directory as the directory to monitor.

get_directory()
Returns:

A Gio.File

Return type:

Gio.File

Gets the directory the model is observing.

set_directory(directory)
Parameters:

directory (Gio.File) –

set_visible_func(visible_func, *user_data)
Parameters:

Property Details

Dazzle.DirectoryModel.props.directory
Name:

directory

Type:

Gio.File

Default Value:

None

Flags:

READABLE, WRITABLE

The directory to list files from.