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 (17), GObject.Object (37)

Structs:

GObject.ObjectClass (5)

class

new (root_dir)

get_root ()

set_root (root_dir)

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.

get_root()
Return type:

str

Get the root directory path for this unit.

set_root(root_dir)
Parameters:

root_dir (str) – Absolute directory path

Sets the root directory path for this unit.