GESMarkerList
A GESMarker can be colored by setting the GES_META_MARKER_COLOR meta.
GESMarker
GObject ╰──GESMarker
A timed GESMetaContainer object.
Since : 1.18
Class structure
GESMarkerClass
Fields
parent_class
(GObjectClass)
–
GES.MarkerClass
Attributes
parent_class
(GObject.ObjectClass)
–
GES.MarkerClass
Attributes
parent_class
(GObject.ObjectClass)
–
Properties
position
“position” guint64
Current position (in nanoseconds) of the GESMarker
Flags : Read
Since : 1.18
position
“position” Number
Current position (in nanoseconds) of the GES.Marker
Flags : Read
Since : 1.18
position
“self.props.position” int
Current position (in nanoseconds) of the GES.Marker
Flags : Read
Since : 1.18
GESMarkerList
GObject ╰──GESMarkerList
A list of GESMarker
Since : 1.18
Class structure
GESMarkerListClass
Fields
parent_class
(GObjectClass)
–
GES.MarkerListClass
Attributes
parent_class
(GObject.ObjectClass)
–
GES.MarkerListClass
Attributes
parent_class
(GObject.ObjectClass)
–
Constructors
ges_marker_list_new
GESMarkerList * ges_marker_list_new ()
Creates a new GESMarkerList.
A new GESMarkerList
Since : 1.18
GES.MarkerList.prototype.new
function GES.MarkerList.prototype.new(): {
// javascript wrapper for 'ges_marker_list_new'
}
Creates a new GES.MarkerList.
A new GES.MarkerList
Since : 1.18
GES.MarkerList.new
def GES.MarkerList.new ():
#python wrapper for 'ges_marker_list_new'
Creates a new GES.MarkerList.
A new GES.MarkerList
Since : 1.18
Methods
ges_marker_list_add
GESMarker * ges_marker_list_add (GESMarkerList * list, GstClockTime position)
Parameters:
list
–
position
–
The position of the new marker
The newly-added marker, the list keeps ownership of the marker
Since : 1.18
GES.MarkerList.prototype.add
function GES.MarkerList.prototype.add(position: Number): {
// javascript wrapper for 'ges_marker_list_add'
}
Parameters:
The position of the new marker
The newly-added marker, the list keeps ownership of the marker
Since : 1.18
GES.MarkerList.add
def GES.MarkerList.add (self, position):
#python wrapper for 'ges_marker_list_add'
Parameters:
The position of the new marker
The newly-added marker, the list keeps ownership of the marker
Since : 1.18
ges_marker_list_get_markers
GList * ges_marker_list_get_markers (GESMarkerList * list)
Parameters:
list
–
Since : 1.18
GES.MarkerList.prototype.get_markers
function GES.MarkerList.prototype.get_markers(): {
// javascript wrapper for 'ges_marker_list_get_markers'
}
Parameters:
a GLib.List of the GES.Marker within the GESMarkerList. The user will have to unref each GES.Marker and free the GLib.List.
Since : 1.18
GES.MarkerList.get_markers
def GES.MarkerList.get_markers (self):
#python wrapper for 'ges_marker_list_get_markers'
Parameters:
a GLib.List of the GES.Marker within the GESMarkerList. The user will have to unref each GES.Marker and free the GLib.List.
Since : 1.18
ges_marker_list_move
gboolean ges_marker_list_move (GESMarkerList * list, GESMarker * marker, GstClockTime position)
Moves a marker in a list to a new position
Parameters:
list
–
marker
–
position
–
Since : 1.18
GES.MarkerList.prototype.move
function GES.MarkerList.prototype.move(marker: GES.Marker, position: Number): {
// javascript wrapper for 'ges_marker_list_move'
}
Moves a marker in a list to a new position
Parameters:
Since : 1.18
GES.MarkerList.move
def GES.MarkerList.move (self, marker, position):
#python wrapper for 'ges_marker_list_move'
Moves a marker in a list to a new position
Parameters:
Since : 1.18
ges_marker_list_remove
gboolean ges_marker_list_remove (GESMarkerList * list, GESMarker * marker)
Removes marker from list, this decreases the refcount of the marker by 1.
Parameters:
list
–
marker
–
Since : 1.18
GES.MarkerList.prototype.remove
function GES.MarkerList.prototype.remove(marker: GES.Marker): {
// javascript wrapper for 'ges_marker_list_remove'
}
Removes marker from list, this decreases the refcount of the marker by 1.
Parameters:
Since : 1.18
GES.MarkerList.remove
def GES.MarkerList.remove (self, marker):
#python wrapper for 'ges_marker_list_remove'
Removes marker from list, this decreases the refcount of the marker by 1.
Parameters:
Since : 1.18
ges_marker_list_size
guint ges_marker_list_size (GESMarkerList * list)
Parameters:
list
–
The number of markers in list
Since : 1.18
GES.MarkerList.prototype.size
function GES.MarkerList.prototype.size(): {
// javascript wrapper for 'ges_marker_list_size'
}
Parameters:
The number of markers in list
Since : 1.18
GES.MarkerList.size
def GES.MarkerList.size (self):
#python wrapper for 'ges_marker_list_size'
Parameters:
The number of markers in list
Since : 1.18
Signals
marker-added
marker_added_callback (GESMarkerList * self, guint64 position, GESMarker * marker, gpointer user_data)
Will be emitted after the marker was added to the marker-list.
Parameters:
self
–
position
–
the position of the added marker
marker
–
the GESMarker that was added.
user_data
–
Flags: Run First
Since : 1.18
marker-added
function marker_added_callback(self: GES.MarkerList, position: Number, marker: GES.Marker, user_data: Object): {
// javascript callback for the 'marker-added' signal
}
Will be emitted after the marker was added to the marker-list.
Parameters:
the position of the added marker
the GES.Marker that was added.
Flags: Run First
Since : 1.18
marker-added
def marker_added_callback (self, position, marker, *user_data):
#python callback for the 'marker-added' signal
Will be emitted after the marker was added to the marker-list.
Parameters:
the position of the added marker
the GES.Marker that was added.
Flags: Run First
Since : 1.18
marker-moved
marker_moved_callback (GESMarkerList * self, guint64 previous_position, guint64 new_position, GESMarker * marker, gpointer user_data)
Will be emitted after the marker was moved to.
Parameters:
self
–
previous_position
–
the previous position of the marker
new_position
–
the new position of the marker
marker
–
the GESMarker that was moved.
user_data
–
Flags: Run First
Since : 1.18
marker-moved
function marker_moved_callback(self: GES.MarkerList, previous_position: Number, new_position: Number, marker: GES.Marker, user_data: Object): {
// javascript callback for the 'marker-moved' signal
}
Will be emitted after the marker was moved to.
Parameters:
the previous position of the marker
the new position of the marker
the GES.Marker that was moved.
Flags: Run First
Since : 1.18
marker-moved
def marker_moved_callback (self, previous_position, new_position, marker, *user_data):
#python callback for the 'marker-moved' signal
Will be emitted after the marker was moved to.
Parameters:
the previous position of the marker
the new position of the marker
the GES.Marker that was moved.
Flags: Run First
Since : 1.18
marker-removed
marker_removed_callback (GESMarkerList * self, GESMarker * marker, gpointer user_data)
Will be emitted after the marker was removed the marker-list.
Parameters:
self
–
marker
–
the GESMarker that was removed.
user_data
–
Flags: Run First
Since : 1.18
marker-removed
function marker_removed_callback(self: GES.MarkerList, marker: GES.Marker, user_data: Object): {
// javascript callback for the 'marker-removed' signal
}
Will be emitted after the marker was removed the marker-list.
Flags: Run First
Since : 1.18
marker-removed
def marker_removed_callback (self, marker, *user_data):
#python callback for the 'marker-removed' signal
Will be emitted after the marker was removed the marker-list.
Flags: Run First
Since : 1.18
Properties
flags
“flags” GESMarkerFlags *
Flags indicating how markers on the list should be treated.
Flags : Read / Write / Construct
Since : 1.20
flags
“flags” GES.MarkerFlags
Flags indicating how markers on the list should be treated.
Flags : Read / Write / Construct
Since : 1.20
flags
“self.props.flags” GES.MarkerFlags
Flags indicating how markers on the list should be treated.
Flags : Read / Write / Construct
Since : 1.20
Constants
GES_TYPE_MARKER
#define GES_TYPE_MARKER ges_marker_get_type ()
GES_TYPE_MARKER_LIST
#define GES_TYPE_MARKER_LIST ges_marker_list_get_type ()
The results of the search are