Enums¶
Details¶
- class Malcontent.AppFilterListType(value)¶
Bases:
GLib.Enum
Different semantics for interpreting an application list.
New in version 0.2.0.
- BLOCKLIST = 0¶
Any program in the list is not allowed to be run.
- ALLOWLIST = 1¶
Any program not in the list is not allowed to be run.
- class Malcontent.AppFilterOarsValue(value)¶
Bases:
GObject.GEnum
Rating values of the intensity of a given section in an app or game. These are directly equivalent to the values in the #AsContentRatingValue enumeration in libappstream.
New in version 0.2.0.
- UNKNOWN = 0¶
Unknown value for the given section.
- NONE = 1¶
No rating for the given section.
- MILD = 2¶
Mild rating for the given section.
- MODERATE = 3¶
Moderate rating for the given section.
- INTENSE = 4¶
Intense rating for the given section.
- class Malcontent.ManagerError(value)¶
Bases:
GObject.GEnum
Errors relating to get/set operations on an
Malcontent.Manager
instance.New in version 0.5.0.
- INVALID_USER = 0¶
Given user ID doesn’t exist
- PERMISSION_DENIED = 1¶
Not authorized to query properties of the given user
- INVALID_DATA = 2¶
The data stored in a property of the given user is inconsistent or invalid
- DISABLED = 3¶
Parental controls are disabled for all users
- class Malcontent.SessionLimitsType(value)¶
Bases:
GLib.Enum
Types of session limit which can be imposed on an account. Additional types may be added in future.
New in version 0.5.0.
- NONE = 0¶
No session limits are imposed.
- DAILY_SCHEDULE = 1¶
Sessions are limited to between a pair of given times each day.