Class
PackageKitResults
Description [src]
class PackageKit.Results : GObject.Object
{
PkResultsPrivate* priv
}
Transaction results
This GObject allows a client program to query the results sent from PackageKit. This will include Package(), ErrorCode() and all the other types of objects. Everything is refcounted, so ensure you unref when done with the data.
Instance methods
pk_results_add_repo_signature_required
Adds some repository signature details to the results set.
since: 0.5.2
pk_results_get_distro_upgrade_array
Gets the distribution upgrades from the transaction.
since: 0.5.2
pk_results_get_exit_code
Gets the exit enum. You probably don’t want to be using this function, and
instead using the much more useful pk_results_get_error_code() function.
since: 0.5.2
pk_results_get_repo_signature_required_array
Gets the repository signatures required from the transaction.
since: 0.5.2
pk_results_get_require_restart_worst
This method returns the ‘worst’ restart of all the transactions. It is needed as multiple sub-transactions may emit require-restart with different values, and we always want to get the most invasive of all.
since: 0.5.2
Properties
PackageKit.Results:transaction-flags
A PkBitfield containing PkTransactionFlagEnum for this result.
since: 0.8.1
Signals
Signals inherited from GObject (1)
GObject::notify
The notify signal is emitted on an object when one of its properties has its value set through g_object_set_property(), g_object_set(), et al.
Class structure
struct PackageKitResultsClass {
GObjectClass parent_class;
void (* _pk_reserved1) (
void
);
void (* _pk_reserved2) (
void
);
void (* _pk_reserved3) (
void
);
void (* _pk_reserved4) (
void
);
void (* _pk_reserved5) (
void
);
}
No description available.
Class members
parent_class: GObjectClassNo description available.
_pk_reserved1: void (* _pk_reserved1) ( void )No description available.
_pk_reserved2: void (* _pk_reserved2) ( void )No description available.
_pk_reserved3: void (* _pk_reserved3) ( void )No description available.
_pk_reserved4: void (* _pk_reserved4) ( void )No description available.
_pk_reserved5: void (* _pk_reserved5) ( void )No description available.