GES.MarkerList¶
- Subclasses:
None
Methods¶
- Inherited:
- Structs:
class |
|
|
|
|
|
|
|
|
|
|
Virtual Methods¶
- Inherited:
Properties¶
Name |
Type |
Flags |
Short Description |
|---|---|---|---|
r/w/c |
Functionalities the marker list should be used for |
Signals¶
- Inherited:
Name |
Short Description |
|---|---|
Will be emitted after the marker was added to the marker-list. |
|
Will be emitted after the marker was moved to. |
|
Will be emitted after the marker was removed the marker-list. |
Fields¶
- Inherited:
Class Details¶
- class GES.MarkerList(**kwargs)¶
- Bases:
- Abstract:
No
- Structure:
A
GES.Markercan be colored by setting theGES.META_MARKER_COLORmeta.New in version 1.18.
- classmethod new()[source]¶
- Returns:
A new
GES.MarkerList- Return type:
Creates a new
GES.MarkerList.New in version 1.18.
- add(position)[source]¶
- Parameters:
position (
int) – The position of the new marker- Returns:
The newly-added marker, the list keeps ownership of the marker
- Return type:
New in version 1.18.
- get_markers()[source]¶
- Returns:
a
GLib.Listof theGES.Markerwithin theGES.MarkerList. The user will have to unref eachGES.Markerand free theGLib.List.- Return type:
New in version 1.18.
- move(marker, position)[source]¶
- Parameters:
marker (
GES.Marker) –position (
int) –
- Returns:
Trueif the marker could be moved,Falseotherwise (if the marker was not present in the list for example)- Return type:
Moves a marker in a self to a new position
New in version 1.18.
- remove(marker)[source]¶
- Parameters:
marker (
GES.Marker) –- Returns:
Trueif the marker could be removed,Falseotherwise (if the marker was not present in the list for example)- Return type:
Removes marker from self, this decreases the refcount of the marker by 1.
New in version 1.18.
Signal Details¶
- GES.MarkerList.signals.marker_added(marker_list, position, marker)¶
- Signal Name:
marker-added- Flags:
- Parameters:
marker_list (
GES.MarkerList) – The object which received the signalposition (
int) – the position of the added markermarker (
GES.Marker) – theGES.Markerthat was added.
Will be emitted after the marker was added to the marker-list.
New in version 1.18.
- GES.MarkerList.signals.marker_moved(marker_list, previous_position, new_position, marker)¶
- Signal Name:
marker-moved- Flags:
- Parameters:
marker_list (
GES.MarkerList) – The object which received the signalprevious_position (
int) – the previous position of the markernew_position (
int) – the new position of the markermarker (
GES.Marker) – theGES.Markerthat was moved.
Will be emitted after the marker was moved to.
New in version 1.18.
- GES.MarkerList.signals.marker_removed(marker_list, marker)¶
- Signal Name:
marker-removed- Flags:
- Parameters:
marker_list (
GES.MarkerList) – The object which received the signalmarker (
GES.Marker) – theGES.Markerthat was removed.
Will be emitted after the marker was removed the marker-list.
New in version 1.18.
Property Details¶
- GES.MarkerList.props.flags¶
- Name:
flags- Type:
- Default Value:
- Flags:
Flags indicating how markers on the list should be treated.
New in version 1.20.