Filter
Description:
[ CCode ( cname = "PkFilterEnum" , cprefix = "PK_FILTER_ENUM_" , type_id = "pk_filter_enum_get_type ()" ) ]
[ GIR ( name = "FilterEnum" ) ]
public enum Filter
[ GIR ( name = "FilterEnum" ) ]
public enum Filter
The filter types
Namespace: Pk
Package: packagekit-glib2
Content:
Enum values:
- APPLICATION - Filter for application packages
- ARCH - Filter for packages that match architecture
- BASENAME - Filter for packages that match basename
- COLLECTIONS - Filter for collections
- DEVELOPMENT - Filter for development packages
- DOWNLOADED - Filter for downloaded packages
- FREE - Filter for free packages
- GUI - Filter for GUI packages
- INSTALLED - Filter for installed packages
- LAST
- NEWEST - Filter for newest packages
- NONE - No filter
- NOT_APPLICATION - Filter for non-application packages
- NOT_ARCH - Filter for packages that don't match architecture
- NOT_BASENAME - Filter for packages that don't match basename
- NOT_COLLECTIONS - Filter for not collections
- NOT_DEVELOPMENT - Filter for non-development packages
- NOT_DOWNLOADED - Filter for not downloaded packages
- NOT_FREE - Filter for non-free packages
- NOT_GUI - Filter for non-GUI packages
- NOT_INSTALLED - Filter for not installed packages
- NOT_NEWEST - Filter for not newest packages
- NOT_SOURCE - Filter for non-source packages
- NOT_SUPPORTED - Filter for not supported packages
- NOT_VISIBLE - Filter for invisible packages
- SOURCE - Filter for source packages
- SUPPORTED - Filter for supported packages
- UNKNOWN - Unknown filter
- VISIBLE - Filter for visible packages
Static methods:
- public static Bitfield bitfield_from_string (string filters)
Converts text representation to its enumerated type bitfield, or 0 for invalid
- public static string bitfield_to_string (Bitfield filters)
Converts a enumerated type bitfield to its text representation
- public static Filter enum_from_string (string filter)
Converts a text enumerated type to its unsigned integer representation
- public static Filter from_string (string filter)
Methods:
- public unowned string enum_to_string ()
Converts a enumerated type to its text representation
- public unowned string to_string ()