GData.YouTubeCategory¶
- Subclasses:
None
Methods¶
- Inherited:
GData.Category (7), GData.Parsable (5), GObject.Object (37), GData.Comparable (1)
- Structs:
|
|
Virtual Methods¶
- Inherited:
GData.Parsable (9), GObject.Object (7), GData.Comparable (1)
Properties¶
- Inherited:
Name |
Type |
Flags |
Short Description |
---|---|---|---|
r |
Whether new videos can be added to the category. |
||
r |
Whether the category is deprecated. |
Signals¶
- Inherited:
Fields¶
- Inherited:
Name |
Type |
Access |
Description |
---|---|---|---|
parent |
r |
Class Details¶
- class GData.YouTubeCategory(**kwargs)¶
- Bases:
- Abstract:
No
- Structure:
All the fields in the
GData.YouTubeCategory
structure are private and should never be accessed directly.New in version 0.7.0.
- is_assignable()¶
- Returns:
whether new videos can be assigned to the category
- Return type:
Gets the
GData.YouTubeCategory
:is-assignable
property.New in version 0.7.0.
- is_browsable(region)¶
- Parameters:
region (
str
) – a two-letter region ID- Returns:
whether the category is browsable in region
- Return type:
Returns whether the category is browsable in the given region. The list of supported region IDs is
New in version 0.7.0.
- is_deprecated()¶
- Returns:
whether the category is deprecated
- Return type:
Gets the
GData.YouTubeCategory
:is-deprecated
property.New in version 0.7.0.
Property Details¶
- GData.YouTubeCategory.props.is_assignable¶
-
Whether new videos can be added to the category.
New in version 0.7.0.