AppStreamGlib.Problem¶
- Subclasses:
None
Methods¶
- Inherited:
- Structs:
class |
|
class |
|
|
|
|
|
|
|
|
|
|
Virtual Methods¶
- Inherited:
Properties¶
None
Signals¶
- Inherited:
Fields¶
- Inherited:
Name |
Type |
Access |
Description |
---|---|---|---|
parent_instance |
r |
Class Details¶
- class AppStreamGlib.Problem(**kwargs)¶
- Bases:
- Abstract:
No
- Structure:
- classmethod kind_to_string(kind)[source]¶
- Parameters:
kind (
AppStreamGlib.ProblemKind
) – theAppStreamGlib.ProblemKind
.- Returns:
string version of kind
- Return type:
Converts the enumerated value to an text representation.
New in version 0.1.4.
- classmethod new()[source]¶
- Returns:
- Return type:
Creates a new
AppStreamGlib.Problem
.New in version 0.1.4.
- get_kind()[source]¶
- Returns:
a
AppStreamGlib.ProblemKind
, e.g.AppStreamGlib.ProblemKind.TAG_MISSING
- Return type:
Gets the problem kind.
New in version 0.1.4.
- get_line_number()[source]¶
- Returns:
a line number, where 0 is unknown
- Return type:
Gets the line number of the problem if known.
New in version 0.1.4.
- get_message()[source]¶
- Returns:
the message
- Return type:
Gets the specific message for the problem.
New in version 0.1.4.
- set_kind(kind)[source]¶
- Parameters:
kind (
AppStreamGlib.ProblemKind
) – theAppStreamGlib.ProblemKind
.
Sets the problem kind.
New in version 0.1.4.