Pk.Filter – packagekit-glib2 Reference Manual
Packages
packagekit-glib2
Pk
Filter
APPLICATION
ARCH
BASENAME
COLLECTIONS
DEVELOPMENT
DOWNLOADED
FREE
GUI
INSTALLED
LAST
NEWEST
NONE
NOT_APPLICATION
NOT_ARCH
NOT_BASENAME
NOT_COLLECTIONS
NOT_DEVELOPMENT
NOT_DOWNLOADED
NOT_FREE
NOT_GUI
NOT_INSTALLED
NOT_NEWEST
NOT_SOURCE
NOT_SUPPORTED
NOT_VISIBLE
SOURCE
SUPPORTED
UNKNOWN
VISIBLE
bitfield_from_string
bitfield_to_string
enum_from_string
from_string
enum_to_string
to_string
Filter
Description:
[
CCode
( cname =
"PkFilterEnum"
, cprefix =
"PK_FILTER_ENUM_"
, type_id =
"pk_filter_enum_get_type ()"
) ]
[
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
()