ClutterGst.Content¶
- Subclasses:
Methods¶
- Inherited:
- Structs:
class |
|
class |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Virtual Methods¶
- Inherited:
Properties¶
Name |
Type |
Flags |
Short Description |
---|---|---|---|
r/w |
ClutterGst Frame |
||
r/w |
Paint Frame |
||
r/w |
Paint Video Overlays |
||
r/w |
ClutterGst Player |
||
r/w |
Cogl Video Sink |
Signals¶
- Inherited:
Name |
Short Description |
---|---|
The |
Fields¶
- Inherited:
Name |
Type |
Access |
Description |
---|---|---|---|
parent |
r |
Class Details¶
- class ClutterGst.Content(**kwargs)¶
- Bases:
- Abstract:
No
- Structure:
The
ClutterGst.Content
structure contains only private data and should be accessed using the provided APINew in version 0.0.
- classmethod new()¶
- Returns:
a new
ClutterGst.Content
instance- Return type:
- classmethod new_with_sink(sink)¶
- Parameters:
sink (
ClutterGst.VideoSink
) – AClutterGst.VideoSink
- Returns:
a new
ClutterGst.Content
instance- Return type:
New in version 3.0.
- get_frame()¶
- Returns:
The
ClutterGst.Frame
currently attached to self.- Return type:
New in version 3.0.
- get_overlays()¶
- Returns:
The
ClutterGst.Overlays
currently attached to self.- Return type:
New in version 3.0.
- get_player()¶
- Returns:
The
ClutterGst.Player
currently attached to self.- Return type:
New in version 3.0.
- get_sink()¶
- Returns:
The
ClutterGst.VideoSink
currently attached to self.- Return type:
New in version 3.0.
- set_frame(frame)¶
- Parameters:
frame (
ClutterGst.Frame
) – AClutterGst.Frame
Set the current frame.
New in version 3.0.
- set_player(player)¶
- Parameters:
player (
ClutterGst.Player
) – AClutterGst.Player
orNone
New in version 3.0.
- set_sink(sink)¶
- Parameters:
sink (
ClutterGst.VideoSink
) – AClutterGst.VideoSink
orNone
New in version 3.0.
Signal Details¶
- ClutterGst.Content.signals.size_change(content, width, height)¶
- Signal Name:
size-change
- Flags:
- Parameters:
content (
ClutterGst.Content
) – The object which received the signalwidth (
int
) – new width of the framesheight (
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:
- Default Value:
- Flags:
ClutterGst Frame
- ClutterGst.Content.props.paint_frame¶
-
Paint Frame
- ClutterGst.Content.props.paint_overlays¶
-
Paint Video Overlays
- ClutterGst.Content.props.player¶
- Name:
player
- Type:
- Default Value:
- Flags:
ClutterGst Player
- ClutterGst.Content.props.sink¶
- Name:
sink
- Type:
- Default Value:
- Flags:
Cogl Video Sink