Class
PackageKitPackageSack
Description [src]
class PackageKit.PackageSack : GObject.Object
{
PkPackageSackPrivate* priv
}
A sack of packages that can be manipulated
A package sack is a set of packages that can have operations done on them in parallel. This might be adding summary text for bare package ID’s, or to add package or update details.
Instance methods
pk_package_sack_filter
Returns a new package sack which only matches packages that return TRUE
from the filter function.
since: 0.6.3
pk_package_sack_filter_by_info
Returns a new package sack which only matches packages that match the specified info enum value.
since: 0.6.2
pk_package_sack_find_by_id
Finds a package in a sack from reference. As soon as one package is found the search is stopped.
since: 0.5.2
pk_package_sack_find_by_id_name_arch
Finds a package in a sack by package name and architecture. As soon as one package is found the search is stopped.
since: 0.8.16
pk_package_sack_get_details
Gets the properties the daemon supports. Warning: this function is synchronous, and may block. Do not use it in GUI applications.
since: 0.6.0
pk_package_sack_get_update_detail
Gets the properties the daemon supports. Warning: this function is synchronous, and may block. Do not use it in GUI applications.
since: 0.6.0
pk_package_sack_remove_by_filter
Removes from the package sack any packages that return FALSE from the filter function.
since: 0.6.3
pk_package_sack_remove_package
Removes a package reference from the sack. The pointers have to match exactly.
since: 0.5.2
pk_package_sack_remove_package_by_id
Removes a package reference from the sack. As soon as one package is removed the search is stopped.
since: 0.5.2
pk_package_sack_resolve
Gets the properties the daemon supports. Warning: this function is synchronous, and may block. Do not use it in GUI applications.
since: 0.6.0
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 PackageKitPackageSackClass {
GObjectClass parent_class;
void (* changed) (
PkPackageSack* sack
);
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.
changed: void (* changed) ( PkPackageSack* sack )No 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.