search_groups


Description:

[ Version ( since = "0.5.5" ) ]
public Results search_groups (Bitfield filters, string[] values, Cancellable? cancellable, ProgressCallback progress_callback) throws Error

Return all packages in a specific group.

Warning: this function is synchronous, and may block. Do not use it in GUI applications.

Parameters:

this

a valid Client instance

filters

a Bitfield such as GUI | FREE or NONE

values

a group enum to search for, for instance, "system-tools"

cancellable

a Cancellable or null

progress_callback

the function to run when the progress changes

progress_user_data

data to pass to progress_callback

Returns:

a Results object, or null for error