GData.YouTubeCategory

g GData.Category GData.Category GData.YouTubeCategory GData.YouTubeCategory GData.Category->GData.YouTubeCategory GData.Comparable GData.Comparable GData.Comparable->GData.Category GData.Parsable GData.Parsable GData.Parsable->GData.Category GObject.GInterface GObject.GInterface GObject.GInterface->GData.Comparable GObject.Object GObject.Object GObject.Object->GData.Parsable

Subclasses:

None

Methods

Inherited:

GData.Category (7), GData.Parsable (5), GObject.Object (37), GData.Comparable (1)

Structs:

GObject.ObjectClass (5)

is_assignable ()

is_browsable (region)

is_deprecated ()

Virtual Methods

Inherited:

GData.Parsable (9), GObject.Object (7), GData.Comparable (1)

Properties

Inherited:

GData.Category (3), GData.Parsable (1)

Name

Type

Flags

Short Description

is-assignable

bool

r

Whether new videos can be added to the category.

is-deprecated

bool

r

Whether the category is deprecated.

Signals

Inherited:

GObject.Object (1)

Fields

Inherited:

GObject.Object (1)

Name

Type

Access

Description

parent

GData.Category

r

Class Details

class GData.YouTubeCategory(**kwargs)
Bases:

GData.Category

Abstract:

No

Structure:

GData.YouTubeCategoryClass

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:

bool

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:

bool

Returns whether the category is browsable in the given region. The list of supported region IDs is

available online.

New in version 0.7.0.

is_deprecated()
Returns:

whether the category is deprecated

Return type:

bool

Gets the GData.YouTubeCategory :is-deprecated property.

New in version 0.7.0.

Property Details

GData.YouTubeCategory.props.is_assignable
Name:

is-assignable

Type:

bool

Default Value:

False

Flags:

READABLE

Whether new videos can be added to the category.

New in version 0.7.0.

GData.YouTubeCategory.props.is_deprecated
Name:

is-deprecated

Type:

bool

Default Value:

True

Flags:

READABLE

Whether the category is deprecated.

New in version 0.7.0.