GData.MediaCategory¶
- Subclasses:
None
Methods¶
- Inherited:
- Structs:
class |
|
|
|
|
|
|
|
|
|
|
|
|
Virtual Methods¶
- Inherited:
Properties¶
- Inherited:
Name |
Type |
Flags |
Short Description |
---|---|---|---|
r/w |
The category name. |
||
r/w |
A human-readable label that can be displayed in end-user applications. |
||
r/w |
A URI that identifies the categorization scheme. |
Signals¶
- Inherited:
Fields¶
- Inherited:
Name |
Type |
Access |
Description |
---|---|---|---|
parent |
r |
Class Details¶
- class GData.MediaCategory(**kwargs)¶
- Bases:
- Abstract:
No
- Structure:
All the fields in the
GData.MediaCategory
structure are private and should never be accessed directly.- classmethod new(category, scheme, label)¶
- Parameters:
- Returns:
a new
GData.MediaCategory
, orNone
; unref withGObject.Object.unref
()- Return type:
Creates a new
GData.MediaCategory
. More information is available in the Media RSS specification.
- get_category()¶
- Returns:
the actual category
- Return type:
Gets the
GData.MediaCategory
:category
property.New in version 0.4.0.
- get_label()¶
-
Gets the
GData.MediaCategory
:label
property.New in version 0.4.0.
- get_scheme()¶
-
Gets the
GData.MediaCategory
:scheme
property.New in version 0.4.0.
- set_category(category)¶
- Parameters:
category (
str
) – the new category
Sets the
GData.MediaCategory
:category
property to category.New in version 0.4.0.
- set_label(label)¶
-
Sets the
GData.MediaCategory
:label
property to label.Set label to
None
to unset the property.New in version 0.4.0.
Property Details¶
- GData.MediaCategory.props.category¶
-
The category name.
For more information, see the Media RSS specification.
New in version 0.4.0.
- GData.MediaCategory.props.label¶
-
A human-readable label that can be displayed in end-user applications.
For more information, see the Media RSS specification.
New in version 0.4.0.