PkSource

PkSource — Source object

Functions

Properties

PkRoleEnum role Read / Write
gchar * transaction-id Read / Write

Object Hierarchy

    GObject
    ╰── PkSource
        ├── PkCategory
        ├── PkDetails
        ├── PkDistroUpgrade
        ├── PkError
        ├── PkEulaRequired
        ├── PkFiles
        ├── PkItemProgress
        ├── PkMediaChangeRequired
        ├── PkPackage
        ├── PkRepoDetail
        ├── PkRepoSignatureRequired
        ├── PkRequireRestart
        ├── PkTransactionPast
        ╰── PkUpdateDetail

Description

This GObject holds details about the source of the transaction object, and are therefore shared properties that all data objects have.

Functions

pk_source_new ()

PkSource *
pk_source_new (void);

Returns

a new PkSource object.

Since: 0.6.0

Types and Values

Property Details

The “role” property

  “role”                     PkRoleEnum

Flags: Read / Write

Default value: PK_ROLE_ENUM_UNKNOWN

Since: 0.6.0


The “transaction-id” property

  “transaction-id”           gchar *

Flags: Read / Write

Default value: NULL

Since: 0.6.0