Click.User

g Click.User Click.User GObject.Object GObject.Object GObject.Object->Click.User

Subclasses:

None

Methods

Inherited:

GObject.Object (37)

Structs:

GObject.ObjectClass (5)

class

for_all_users (db)

class

for_gc_in_use (db)

class

for_user (db, name)

get_is_gc_in_use ()

get_is_pseudo_user ()

get_manifest (package)

get_manifest_as_string (package)

get_manifests ()

get_manifests_as_string ()

get_overlay_db ()

get_package_names ()

get_path (package)

get_version (package)

has_package_name (package)

is_removable (package)

remove (package)

set_version (package, version)

Virtual Methods

Inherited:

GObject.Object (7)

Properties

Name

Type

Flags

Short Description

db

Click.DB

w/co

db

is-gc-in-use

bool

r

is-gc-in-use

is-pseudo-user

bool

r

is-pseudo-user

name

str

w/co

name

Signals

Inherited:

GObject.Object (1)

Fields

Inherited:

GObject.Object (1)

Name

Type

Access

Description

parent_instance

GObject.Object

r

Class Details

class Click.User(**kwargs)
Bases:

GObject.Object

Abstract:

No

Structure:

Click.UserClass

classmethod for_all_users(db)
Parameters:

db (Click.DB or None) –

Raises:

GLib.Error

Return type:

Click.User

classmethod for_gc_in_use(db)
Parameters:

db (Click.DB or None) –

Raises:

GLib.Error

Return type:

Click.User

classmethod for_user(db, name)
Parameters:
Raises:

GLib.Error

Return type:

Click.User

get_is_gc_in_use()
Return type:

bool

get_is_pseudo_user()
Return type:

bool

get_manifest(package)
Parameters:

package (str) –

Raises:

GLib.Error

Return type:

Json.Object

get_manifest_as_string(package)
Parameters:

package (str) –

Raises:

GLib.Error

Return type:

str

get_manifests()
Raises:

GLib.Error

Return type:

Json.Array

get_manifests_as_string()
Raises:

GLib.Error

Return type:

str

get_overlay_db()
Return type:

str

get_package_names()
Raises:

GLib.Error

Return type:

[str]

get_path(package)
Parameters:

package (str) –

Raises:

GLib.Error

Return type:

str

get_version(package)
Parameters:

package (str) –

Raises:

GLib.Error

Return type:

str

has_package_name(package)
Parameters:

package (str) –

Return type:

bool

is_removable(package)
Parameters:

package (str) –

Return type:

bool

remove(package)
Parameters:

package (str) –

Raises:

GLib.Error

set_version(package, version)
Parameters:
  • package (str) –

  • version (str) –

Raises:

GLib.Error

Property Details

Click.User.props.db
Name:

db

Type:

Click.DB

Default Value:

None

Flags:

WRITABLE, CONSTRUCT_ONLY

db

Click.User.props.is_gc_in_use
Name:

is-gc-in-use

Type:

bool

Default Value:

False

Flags:

READABLE

is-gc-in-use

Click.User.props.is_pseudo_user
Name:

is-pseudo-user

Type:

bool

Default Value:

False

Flags:

READABLE

is-pseudo-user

Click.User.props.name
Name:

name

Type:

str

Default Value:

None

Flags:

WRITABLE, CONSTRUCT_ONLY

name