AppStreamCompose.DirectoryUnit

g AppStreamCompose.DirectoryUnit AppStreamCompose.DirectoryUnit AppStreamCompose.Unit AppStreamCompose.Unit AppStreamCompose.Unit->AppStreamCompose.DirectoryUnit GObject.Object GObject.Object GObject.Object->AppStreamCompose.Unit

Subclasses:

None

Methods

Inherited:

AppStreamCompose.Unit (14), GObject.Object (37)

Structs:

GObject.ObjectClass (5)

class

new (root_dir)

get_root ()

Virtual Methods

Inherited:

AppStreamCompose.Unit (5), GObject.Object (7)

Properties

None

Signals

Inherited:

GObject.Object (1)

Fields

Inherited:

GObject.Object (1)

Name

Type

Access

Description

parent_instance

AppStreamCompose.Unit

r

Class Details

class AppStreamCompose.DirectoryUnit(**kwargs)
Bases:

AppStreamCompose.Unit

Abstract:

No

Structure:

AppStreamCompose.DirectoryUnitClass

classmethod new(root_dir)
Parameters:

root_dir (str)

Return type:

AppStreamCompose.DirectoryUnit

Creates a new AppStreamCompose.DirectoryUnit.

Added in version 0.14.5.

get_root()
Return type:

str

Get the root directory path for this unit.

Added in version 0.14.5.