ClutterGst.Content

g Clutter.Content Clutter.Content ClutterGst.Content ClutterGst.Content Clutter.Content->ClutterGst.Content GObject.GInterface GObject.GInterface GObject.GInterface->Clutter.Content GObject.Object GObject.Object GObject.Object->ClutterGst.Content

Subclasses:

ClutterGst.Aspectratio, ClutterGst.Crop

Methods

Inherited:

GObject.Object (37), Clutter.Content (2)

Structs:

GObject.ObjectClass (5)

class

new ()

class

new_with_sink (sink)

get_frame ()

get_overlays ()

get_player ()

get_sink ()

set_frame (frame)

set_player (player)

set_sink (sink)

Virtual Methods

Inherited:

GObject.Object (7), Clutter.Content (5)

do_has_painting_content ()

Properties

Name

Type

Flags

Short Description

frame

ClutterGst.Frame

r/w

ClutterGst Frame

paint-frame

bool

r/w

Paint Frame

paint-overlays

bool

r/w

Paint Video Overlays

player

GObject.Object

r/w

ClutterGst Player

sink

ClutterGst.VideoSink

r/w

Cogl Video Sink

Signals

Inherited:

GObject.Object (1), Clutter.Content (2)

Name

Short Description

size-change

The ::size-change signal is emitted each time the video size changes.

Fields

Inherited:

GObject.Object (1), Clutter.Content (2)

Name

Type

Access

Description

parent

GObject.Object

r

Class Details

class ClutterGst.Content(**kwargs)
Bases:

GObject.Object, Clutter.Content

Abstract:

No

Structure:

ClutterGst.ContentClass

The ClutterGst.Content structure contains only private data and should be accessed using the provided API

New in version 0.0.

classmethod new()
Returns:

a new ClutterGst.Content instance

Return type:

Clutter.Content

classmethod new_with_sink(sink)
Parameters:

sink (ClutterGst.VideoSink) – A ClutterGst.VideoSink

Returns:

a new ClutterGst.Content instance

Return type:

Clutter.Content

New in version 3.0.

get_frame()
Returns:

The ClutterGst.Frame currently attached to self.

Return type:

ClutterGst.Frame

New in version 3.0.

get_overlays()
Returns:

The ClutterGst.Overlays currently attached to self.

Return type:

ClutterGst.Overlays

New in version 3.0.

get_player()
Returns:

The ClutterGst.Player currently attached to self.

Return type:

ClutterGst.Player

New in version 3.0.

get_sink()
Returns:

The ClutterGst.VideoSink currently attached to self.

Return type:

ClutterGst.VideoSink

New in version 3.0.

set_frame(frame)
Parameters:

frame (ClutterGst.Frame) – A ClutterGst.Frame

Set the current frame.

New in version 3.0.

set_player(player)
Parameters:

player (ClutterGst.Player) – A ClutterGst.Player or None

New in version 3.0.

set_sink(sink)
Parameters:

sink (ClutterGst.VideoSink) – A ClutterGst.VideoSink or None

New in version 3.0.

do_has_painting_content() virtual
Return type:

bool

Signal Details

ClutterGst.Content.signals.size_change(content, width, height)
Signal Name:

size-change

Flags:

RUN_LAST

Parameters:
  • content (ClutterGst.Content) – The object which received the signal

  • width (int) – new width of the frames

  • height (int) – new height of the frames

The ::size-change signal is emitted each time the video size changes.

Property Details

ClutterGst.Content.props.frame
Name:

frame

Type:

ClutterGst.Frame

Default Value:

None

Flags:

READABLE, WRITABLE

ClutterGst Frame

ClutterGst.Content.props.paint_frame
Name:

paint-frame

Type:

bool

Default Value:

True

Flags:

READABLE, WRITABLE

Paint Frame

ClutterGst.Content.props.paint_overlays
Name:

paint-overlays

Type:

bool

Default Value:

True

Flags:

READABLE, WRITABLE

Paint Video Overlays

ClutterGst.Content.props.player
Name:

player

Type:

GObject.Object

Default Value:

None

Flags:

READABLE, WRITABLE

ClutterGst Player

ClutterGst.Content.props.sink
Name:

sink

Type:

ClutterGst.VideoSink

Default Value:

None

Flags:

READABLE, WRITABLE

Cogl Video Sink