Callbacks¶
|
|
|
Details¶
- PackageKitGlib.PackageSackFilterFunc(package, *user_data)¶
- Parameters:
package (
PackageKitGlib.Package
) – the package being considereduser_data (
object
orNone
) – User data supplied when the callback was registered
- Returns:
True
if package should remain in the sack.- Return type:
Function to filter packages in
PackageKitGlib.PackageSack
.
- PackageKitGlib.ProgressCallback(progress, type, *user_data)¶
- Parameters:
progress (
PackageKitGlib.Progress
) – aPackageKitGlib.Progress
type (
PackageKitGlib.ProgressType
) – the type of progress update this isuser_data (
object
orNone
) – User data supplied when the callback was registered.
Function that is called when progress updates are given.