pub struct TimelineElement { /* private fields */ }
Expand description
A TimelineElement
will have some temporal extent in its
corresponding timeline
, controlled by its
start
and duration
. This
determines when its content will be displayed, or its effect applied,
in the timeline. Several objects may overlap within a given
Timeline
, in which case their priority
is used
to determine their ordering in the timeline. Priority is mostly handled
internally by Layer
-s and Clip
-s.
A timeline element can have a parent
,
such as a Clip
, which is responsible for controlling its timing.
§Editing
Elements can be moved around in their timeline
by
setting their start
and
duration
using TimelineElementExt::set_start()
and TimelineElementExt::set_duration()
. Additionally, which parts of
the underlying content are played in the timeline can be adjusted by
setting the in-point
using
TimelineElementExt::set_inpoint()
. The library also provides
TimelineElementExt::edit()
, with various EditMode
-s, which can
adjust these properties in a convenient way, as well as introduce
similar changes in neighbouring or later elements in the timeline.
However, a timeline may refuse a change in these properties if they
would place the timeline in an unsupported configuration. See
Timeline
for its overlap rules.
Additionally, an edit may be refused if it would place one of the
timing properties out of bounds (such as a negative time value for
start
, or having insufficient internal
content to last for the desired duration
).
§Time Coordinates
There are three main sets of time coordinates to consider when using timeline elements:
- Timeline coordinates: these are the time coordinates used in the
output of the timeline in its
Track
-s. Each track share the same coordinates, so there is only one set of coordinates for the timeline. These extend indefinitely from 0. The times used for editing (including settingstart
andduration
) use these coordinates, since these define when an element is present and for how long the element lasts for in the timeline. - Internal source coordinates: these are the time coordinates used
internally at the element’s output. This is only really defined for
TrackElement
-s, where it refers to time coordinates used at the final source pad of the wrappedgst::Element
-s. However, these coordinates may also be used in aClip
in reference to its children. In particular, these are the coordinates used forin-point
andmax-duration
. - Internal sink coordinates: these are the time coordinates used
internally at the element’s input. A
Source
has no input, so these would be undefined. Otherwise, for mostTrackElement
-s these will be the same set of coordinates as the internal source coordinates because the element does not change the timing internally. OnlyBaseEffect
can support elements where these are different. SeeBaseEffect
for more information.
You can determine the timeline time for a given internal source time
in a Track
in a Clip
using
ClipExt::timeline_time_from_internal_time()
, and vice versa using
ClipExt::internal_time_from_timeline_time()
, for the purposes of
editing and setting timings properties.
§Children Properties
If a timeline element owns another gst::Object
and wishes to expose
some of its properties, it can do so by registering the property as one
of the timeline element’s children properties using
TimelineElementExt::add_child_property()
. The registered property of
the child can then be read and set using the
TimelineElementExt::child_property()
and
TimelineElementExt::set_child_property()
methods, respectively. Some
sub-classed objects will be created with pre-registered children
properties; for example, to expose part of an underlying gst::Element
that is used internally. The registered properties can be listed with
TimelineElementExt::list_children_properties()
.
This is an Abstract Base Class, you cannot instantiate it.
§Properties
§duration
The duration that the element is in effect for in the timeline (a time difference in nanoseconds using the time coordinates of the timeline). For example, for a source element, this would determine for how long it should output its internal content for. For an operation element, this would determine for how long its effect should be applied to any source content.
Readable | Writeable
§in-point
The initial offset to use internally when outputting content (in nanoseconds, but in the time coordinates of the internal content).
For example, for a VideoUriSource
that references some media
file, the “internal content” is the media file data, and the
in-point would correspond to some timestamp in the media file.
When playing the timeline, and when the element is first reached at
timeline-time start
, it will begin outputting the
data from the timestamp in-point onwards, until it reaches the
end of its duration
in the timeline.
For elements that have no internal content, this should be kept as 0.
Readable | Writeable
§max-duration
The full duration of internal content that is available (a time difference in nanoseconds using the time coordinates of the internal content).
This will act as a cap on the in-point
of the
element (which is in the same time coordinates), and will sometimes
be used to limit the duration
of the element in
the timeline.
For example, for a VideoUriSource
that references some media
file, this would be the length of the media file.
For elements that have no internal content, or whose content is
indefinite, this should be kept as GST_CLOCK_TIME_NONE
.
Readable | Writeable | Construct
§name
The name of the element. This should be unique within its timeline.
Readable | Writeable | Construct
§parent
The parent container of the element.
Readable | Writeable
§priority
The priority of the element.
Readable | Writeable
§serialize
Whether the element should be serialized.
Readable | Writeable
§start
The starting position of the element in the timeline (in nanoseconds and in the time coordinates of the timeline). For example, for a source element, this would determine the time at which it should start outputting its internal content. For an operation element, this would determine the time at which it should start applying its effect to any source content.
Readable | Writeable
§timeline
The timeline that the element lies within.
Readable | Writeable
§Signals
§child-property-added
Emitted when the element has a new child property registered. See
TimelineElementExt::add_child_property()
.
Note that some GES elements will be automatically created with
pre-registered children properties. You can use
TimelineElementExt::list_children_properties()
to list these.
§child-property-removed
Emitted when the element has a child property unregistered. See
TimelineElementExt::remove_child_property()
.
§deep-notify
Emitted when a child of the element has one of its registered
properties set. See TimelineElementExt::add_child_property()
.
Note that unlike notify
, a child property name can not be
used as a signal detail.
Detailed
MetaContainer
§notify-meta
This is emitted for a meta container whenever the metadata under one
of its fields changes, is set for the first time, or is removed. In
the latter case, value
will be None
.
Detailed
§Implements
TimelineElementExt
, [trait@glib::ObjectExt
], ExtractableExt
, MetaContainerExt
, [TimelineElementExtManual
][trait@crate::prelude::TimelineElementExtManual]
GLib type: GObject with reference counted clone semantics.
Implementations§
source§impl TimelineElement
impl TimelineElement
pub const NONE: Option<&'static TimelineElement> = None
Trait Implementations§
source§impl Clone for TimelineElement
impl Clone for TimelineElement
source§impl Debug for TimelineElement
impl Debug for TimelineElement
source§impl HasParamSpec for TimelineElement
impl HasParamSpec for TimelineElement
type ParamSpec = ParamSpecObject
§type SetValue = TimelineElement
type SetValue = TimelineElement
type BuilderFn = fn(_: &str) -> ParamSpecObjectBuilder<'_, TimelineElement>
fn param_spec_builder() -> Self::BuilderFn
source§impl Hash for TimelineElement
impl Hash for TimelineElement
source§impl Ord for TimelineElement
impl Ord for TimelineElement
source§fn cmp(&self, other: &Self) -> Ordering
fn cmp(&self, other: &Self) -> Ordering
Comparison for two GObjects.
Compares the memory addresses of the provided objects.
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
source§impl ParentClassIs for TimelineElement
impl ParentClassIs for TimelineElement
source§impl<OT: ObjectType> PartialEq<OT> for TimelineElement
impl<OT: ObjectType> PartialEq<OT> for TimelineElement
source§impl<OT: ObjectType> PartialOrd<OT> for TimelineElement
impl<OT: ObjectType> PartialOrd<OT> for TimelineElement
source§impl StaticType for TimelineElement
impl StaticType for TimelineElement
source§fn static_type() -> Type
fn static_type() -> Type
Self
.impl Eq for TimelineElement
impl IsA<Extractable> for TimelineElement
impl IsA<MetaContainer> for TimelineElement
impl IsA<TimelineElement> for AudioSource
impl IsA<TimelineElement> for AudioTestSource
impl IsA<TimelineElement> for AudioTransition
impl IsA<TimelineElement> for AudioUriSource
impl IsA<TimelineElement> for BaseEffect
impl IsA<TimelineElement> for BaseEffectClip
impl IsA<TimelineElement> for BaseTransitionClip
impl IsA<TimelineElement> for Clip
impl IsA<TimelineElement> for Container
impl IsA<TimelineElement> for Effect
impl IsA<TimelineElement> for EffectClip
impl IsA<TimelineElement> for Group
impl IsA<TimelineElement> for ImageSource
impl IsA<TimelineElement> for MultiFileSource
impl IsA<TimelineElement> for Operation
impl IsA<TimelineElement> for OperationClip
impl IsA<TimelineElement> for OverlayClip
impl IsA<TimelineElement> for Source
impl IsA<TimelineElement> for SourceClip
impl IsA<TimelineElement> for TestClip
impl IsA<TimelineElement> for TextOverlay
impl IsA<TimelineElement> for TextOverlayClip
impl IsA<TimelineElement> for TitleClip
impl IsA<TimelineElement> for TitleSource
impl IsA<TimelineElement> for TrackElement
impl IsA<TimelineElement> for Transition
impl IsA<TimelineElement> for TransitionClip
impl IsA<TimelineElement> for UriClip
impl IsA<TimelineElement> for VideoSource
impl IsA<TimelineElement> for VideoTestSource
impl IsA<TimelineElement> for VideoTransition
impl IsA<TimelineElement> for VideoUriSource
Auto Trait Implementations§
impl Freeze for TimelineElement
impl RefUnwindSafe for TimelineElement
impl !Send for TimelineElement
impl !Sync for TimelineElement
impl Unpin for TimelineElement
impl UnwindSafe for TimelineElement
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> Cast for Twhere
T: ObjectType,
impl<T> Cast for Twhere
T: ObjectType,
source§fn upcast<T>(self) -> Twhere
T: ObjectType,
Self: IsA<T>,
fn upcast<T>(self) -> Twhere
T: ObjectType,
Self: IsA<T>,
T
. Read moresource§fn upcast_ref<T>(&self) -> &Twhere
T: ObjectType,
Self: IsA<T>,
fn upcast_ref<T>(&self) -> &Twhere
T: ObjectType,
Self: IsA<T>,
T
. Read moresource§fn downcast<T>(self) -> Result<T, Self>where
T: ObjectType,
Self: MayDowncastTo<T>,
fn downcast<T>(self) -> Result<T, Self>where
T: ObjectType,
Self: MayDowncastTo<T>,
T
. Read moresource§fn downcast_ref<T>(&self) -> Option<&T>where
T: ObjectType,
Self: MayDowncastTo<T>,
fn downcast_ref<T>(&self) -> Option<&T>where
T: ObjectType,
Self: MayDowncastTo<T>,
T
. Read moresource§fn dynamic_cast<T>(self) -> Result<T, Self>where
T: ObjectType,
fn dynamic_cast<T>(self) -> Result<T, Self>where
T: ObjectType,
T
. This handles upcasting, downcasting
and casting between interface and interface implementors. All checks are performed at
runtime, while upcast
will do many checks at compile-time already. downcast
will
perform the same checks at runtime as dynamic_cast
, but will also ensure some amount of
compile-time safety. Read moresource§fn dynamic_cast_ref<T>(&self) -> Option<&T>where
T: ObjectType,
fn dynamic_cast_ref<T>(&self) -> Option<&T>where
T: ObjectType,
T
. This handles upcasting, downcasting
and casting between interface and interface implementors. All checks are performed at
runtime, while downcast
and upcast
will do many checks at compile-time already. Read moresource§unsafe fn unsafe_cast<T>(self) -> Twhere
T: ObjectType,
unsafe fn unsafe_cast<T>(self) -> Twhere
T: ObjectType,
T
unconditionally. Read moresource§unsafe fn unsafe_cast_ref<T>(&self) -> &Twhere
T: ObjectType,
unsafe fn unsafe_cast_ref<T>(&self) -> &Twhere
T: ObjectType,
&T
unconditionally. Read moresource§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)source§impl<O> ExtractableExt for Owhere
O: IsA<Extractable>,
impl<O> ExtractableExt for Owhere
O: IsA<Extractable>,
source§fn asset(&self) -> Option<Asset>
fn asset(&self) -> Option<Asset>
source§fn id(&self) -> GString
fn id(&self) -> GString
id
of some associated asset. It may be the case
that the object has no set asset, or even that such an asset does not
yet exist in the GES cache. Instead, this will return the asset
id
that is compatible with the current state of the object,
as determined by the Extractable
implementer. If it was indeed
extracted from an asset, this should return the same as its
corresponding asset id
. Read moresource§impl<T> FromGlibContainerAsVec<<T as GlibPtrDefault>::GlibType, *const GList> for Twhere
T: GlibPtrDefault + FromGlibPtrNone<<T as GlibPtrDefault>::GlibType> + FromGlibPtrFull<<T as GlibPtrDefault>::GlibType>,
impl<T> FromGlibContainerAsVec<<T as GlibPtrDefault>::GlibType, *const GList> for Twhere
T: GlibPtrDefault + FromGlibPtrNone<<T as GlibPtrDefault>::GlibType> + FromGlibPtrFull<<T as GlibPtrDefault>::GlibType>,
source§impl<T> FromGlibContainerAsVec<<T as GlibPtrDefault>::GlibType, *const GPtrArray> for Twhere
T: GlibPtrDefault + FromGlibPtrNone<<T as GlibPtrDefault>::GlibType> + FromGlibPtrFull<<T as GlibPtrDefault>::GlibType>,
impl<T> FromGlibContainerAsVec<<T as GlibPtrDefault>::GlibType, *const GPtrArray> for Twhere
T: GlibPtrDefault + FromGlibPtrNone<<T as GlibPtrDefault>::GlibType> + FromGlibPtrFull<<T as GlibPtrDefault>::GlibType>,
source§impl<T> FromGlibContainerAsVec<<T as GlibPtrDefault>::GlibType, *const GSList> for Twhere
T: GlibPtrDefault + FromGlibPtrNone<<T as GlibPtrDefault>::GlibType> + FromGlibPtrFull<<T as GlibPtrDefault>::GlibType>,
impl<T> FromGlibContainerAsVec<<T as GlibPtrDefault>::GlibType, *const GSList> for Twhere
T: GlibPtrDefault + FromGlibPtrNone<<T as GlibPtrDefault>::GlibType> + FromGlibPtrFull<<T as GlibPtrDefault>::GlibType>,
source§impl<T> FromGlibContainerAsVec<<T as GlibPtrDefault>::GlibType, *mut GList> for Twhere
T: GlibPtrDefault + FromGlibPtrNone<<T as GlibPtrDefault>::GlibType> + FromGlibPtrFull<<T as GlibPtrDefault>::GlibType>,
impl<T> FromGlibContainerAsVec<<T as GlibPtrDefault>::GlibType, *mut GList> for Twhere
T: GlibPtrDefault + FromGlibPtrNone<<T as GlibPtrDefault>::GlibType> + FromGlibPtrFull<<T as GlibPtrDefault>::GlibType>,
source§impl<T> FromGlibContainerAsVec<<T as GlibPtrDefault>::GlibType, *mut GPtrArray> for Twhere
T: GlibPtrDefault + FromGlibPtrNone<<T as GlibPtrDefault>::GlibType> + FromGlibPtrFull<<T as GlibPtrDefault>::GlibType>,
impl<T> FromGlibContainerAsVec<<T as GlibPtrDefault>::GlibType, *mut GPtrArray> for Twhere
T: GlibPtrDefault + FromGlibPtrNone<<T as GlibPtrDefault>::GlibType> + FromGlibPtrFull<<T as GlibPtrDefault>::GlibType>,
source§impl<T> FromGlibContainerAsVec<<T as GlibPtrDefault>::GlibType, *mut GSList> for Twhere
T: GlibPtrDefault + FromGlibPtrNone<<T as GlibPtrDefault>::GlibType> + FromGlibPtrFull<<T as GlibPtrDefault>::GlibType>,
impl<T> FromGlibContainerAsVec<<T as GlibPtrDefault>::GlibType, *mut GSList> for Twhere
T: GlibPtrDefault + FromGlibPtrNone<<T as GlibPtrDefault>::GlibType> + FromGlibPtrFull<<T as GlibPtrDefault>::GlibType>,
source§impl<T> FromGlibPtrArrayContainerAsVec<<T as GlibPtrDefault>::GlibType, *const GList> for Twhere
T: GlibPtrDefault + FromGlibPtrNone<<T as GlibPtrDefault>::GlibType> + FromGlibPtrFull<<T as GlibPtrDefault>::GlibType>,
impl<T> FromGlibPtrArrayContainerAsVec<<T as GlibPtrDefault>::GlibType, *const GList> for Twhere
T: GlibPtrDefault + FromGlibPtrNone<<T as GlibPtrDefault>::GlibType> + FromGlibPtrFull<<T as GlibPtrDefault>::GlibType>,
unsafe fn from_glib_none_as_vec(ptr: *const GList) -> Vec<T>
unsafe fn from_glib_container_as_vec(_: *const GList) -> Vec<T>
unsafe fn from_glib_full_as_vec(_: *const GList) -> Vec<T>
source§impl<T> FromGlibPtrArrayContainerAsVec<<T as GlibPtrDefault>::GlibType, *const GPtrArray> for Twhere
T: GlibPtrDefault + FromGlibPtrNone<<T as GlibPtrDefault>::GlibType> + FromGlibPtrFull<<T as GlibPtrDefault>::GlibType>,
impl<T> FromGlibPtrArrayContainerAsVec<<T as GlibPtrDefault>::GlibType, *const GPtrArray> for Twhere
T: GlibPtrDefault + FromGlibPtrNone<<T as GlibPtrDefault>::GlibType> + FromGlibPtrFull<<T as GlibPtrDefault>::GlibType>,
unsafe fn from_glib_none_as_vec(ptr: *const GPtrArray) -> Vec<T>
unsafe fn from_glib_container_as_vec(_: *const GPtrArray) -> Vec<T>
unsafe fn from_glib_full_as_vec(_: *const GPtrArray) -> Vec<T>
source§impl<T> FromGlibPtrArrayContainerAsVec<<T as GlibPtrDefault>::GlibType, *const GSList> for Twhere
T: GlibPtrDefault + FromGlibPtrNone<<T as GlibPtrDefault>::GlibType> + FromGlibPtrFull<<T as GlibPtrDefault>::GlibType>,
impl<T> FromGlibPtrArrayContainerAsVec<<T as GlibPtrDefault>::GlibType, *const GSList> for Twhere
T: GlibPtrDefault + FromGlibPtrNone<<T as GlibPtrDefault>::GlibType> + FromGlibPtrFull<<T as GlibPtrDefault>::GlibType>,
unsafe fn from_glib_none_as_vec(ptr: *const GSList) -> Vec<T>
unsafe fn from_glib_container_as_vec(_: *const GSList) -> Vec<T>
unsafe fn from_glib_full_as_vec(_: *const GSList) -> Vec<T>
source§impl<T> FromGlibPtrArrayContainerAsVec<<T as GlibPtrDefault>::GlibType, *mut GList> for Twhere
T: GlibPtrDefault + FromGlibPtrNone<<T as GlibPtrDefault>::GlibType> + FromGlibPtrFull<<T as GlibPtrDefault>::GlibType>,
impl<T> FromGlibPtrArrayContainerAsVec<<T as GlibPtrDefault>::GlibType, *mut GList> for Twhere
T: GlibPtrDefault + FromGlibPtrNone<<T as GlibPtrDefault>::GlibType> + FromGlibPtrFull<<T as GlibPtrDefault>::GlibType>,
unsafe fn from_glib_none_as_vec(ptr: *mut GList) -> Vec<T>
unsafe fn from_glib_container_as_vec(ptr: *mut GList) -> Vec<T>
unsafe fn from_glib_full_as_vec(ptr: *mut GList) -> Vec<T>
source§impl<T> FromGlibPtrArrayContainerAsVec<<T as GlibPtrDefault>::GlibType, *mut GPtrArray> for Twhere
T: GlibPtrDefault + FromGlibPtrNone<<T as GlibPtrDefault>::GlibType> + FromGlibPtrFull<<T as GlibPtrDefault>::GlibType>,
impl<T> FromGlibPtrArrayContainerAsVec<<T as GlibPtrDefault>::GlibType, *mut GPtrArray> for Twhere
T: GlibPtrDefault + FromGlibPtrNone<<T as GlibPtrDefault>::GlibType> + FromGlibPtrFull<<T as GlibPtrDefault>::GlibType>,
unsafe fn from_glib_none_as_vec(ptr: *mut GPtrArray) -> Vec<T>
unsafe fn from_glib_container_as_vec(ptr: *mut GPtrArray) -> Vec<T>
unsafe fn from_glib_full_as_vec(ptr: *mut GPtrArray) -> Vec<T>
source§impl<T> FromGlibPtrArrayContainerAsVec<<T as GlibPtrDefault>::GlibType, *mut GSList> for Twhere
T: GlibPtrDefault + FromGlibPtrNone<<T as GlibPtrDefault>::GlibType> + FromGlibPtrFull<<T as GlibPtrDefault>::GlibType>,
impl<T> FromGlibPtrArrayContainerAsVec<<T as GlibPtrDefault>::GlibType, *mut GSList> for Twhere
T: GlibPtrDefault + FromGlibPtrNone<<T as GlibPtrDefault>::GlibType> + FromGlibPtrFull<<T as GlibPtrDefault>::GlibType>,
unsafe fn from_glib_none_as_vec(ptr: *mut GSList) -> Vec<T>
unsafe fn from_glib_container_as_vec(ptr: *mut GSList) -> Vec<T>
unsafe fn from_glib_full_as_vec(ptr: *mut GSList) -> Vec<T>
source§impl<O> GObjectExtManualGst for O
impl<O> GObjectExtManualGst for O
fn set_property_from_str(&self, name: &str, value: &str)
source§impl<T> IntoClosureReturnValue for T
impl<T> IntoClosureReturnValue for T
fn into_closure_return_value(self) -> Option<Value>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§impl<U> IsSubclassableExt for Uwhere
U: IsClass + ParentClassIs,
impl<U> IsSubclassableExt for Uwhere
U: IsClass + ParentClassIs,
fn parent_class_init<T>(class: &mut Class<U>)
fn parent_instance_init<T>(instance: &mut InitializingObject<T>)
source§impl<O> MetaContainerExt for Owhere
O: IsA<MetaContainer>,
impl<O> MetaContainerExt for Owhere
O: IsA<MetaContainer>,
source§fn add_metas_from_string(&self, str: &str) -> bool
fn add_metas_from_string(&self, str: &str) -> bool
metas_to_string()
. Read moresource§fn check_meta_registered(&self, meta_item: &str) -> Option<(MetaFlag, Type)>
fn check_meta_registered(&self, meta_item: &str) -> Option<(MetaFlag, Type)>
register_meta()
and
register_static_meta()
. Read moresource§fn foreach<P: FnMut(&MetaContainer, &str, &Value)>(&self, func: P)
fn foreach<P: FnMut(&MetaContainer, &str, &Value)>(&self, func: P)
source§fn boolean(&self, meta_item: &str) -> Option<bool>
fn boolean(&self, meta_item: &str) -> Option<bool>
source§fn date(&self, meta_item: &str) -> Option<Date>
fn date(&self, meta_item: &str) -> Option<Date>
source§fn date_time(&self, meta_item: &str) -> Option<DateTime>
fn date_time(&self, meta_item: &str) -> Option<DateTime>
source§fn double(&self, meta_item: &str) -> Option<f64>
fn double(&self, meta_item: &str) -> Option<f64>
source§fn float(&self, meta_item: &str) -> Option<f32>
fn float(&self, meta_item: &str) -> Option<f32>
source§fn int(&self, meta_item: &str) -> Option<i32>
fn int(&self, meta_item: &str) -> Option<i32>
source§fn int64(&self, meta_item: &str) -> Option<i64>
fn int64(&self, meta_item: &str) -> Option<i64>
source§fn marker_list(&self, key: &str) -> Option<MarkerList>
fn marker_list(&self, key: &str) -> Option<MarkerList>
source§fn meta(&self, key: &str) -> Option<Value>
fn meta(&self, key: &str) -> Option<Value>
source§fn string(&self, meta_item: &str) -> Option<GString>
fn string(&self, meta_item: &str) -> Option<GString>
source§fn uint(&self, meta_item: &str) -> Option<u32>
fn uint(&self, meta_item: &str) -> Option<u32>
source§fn uint64(&self, meta_item: &str) -> Option<u64>
fn uint64(&self, meta_item: &str) -> Option<u64>
source§fn metas_to_string(&self) -> GString
fn metas_to_string(&self) -> GString
source§fn register_meta(&self, flags: MetaFlag, meta_item: &str, value: &Value) -> bool
fn register_meta(&self, flags: MetaFlag, meta_item: &str, value: &Value) -> bool
value
can be set for this field. The given flags can be set to make this
field only readable after calling this method. Read moresource§fn register_meta_boolean(
&self,
flags: MetaFlag,
meta_item: &str,
value: bool,
) -> bool
fn register_meta_boolean( &self, flags: MetaFlag, meta_item: &str, value: bool, ) -> bool
source§fn register_meta_date(
&self,
flags: MetaFlag,
meta_item: &str,
value: &Date,
) -> bool
fn register_meta_date( &self, flags: MetaFlag, meta_item: &str, value: &Date, ) -> bool
source§fn register_meta_date_time(
&self,
flags: MetaFlag,
meta_item: &str,
value: &DateTime,
) -> bool
fn register_meta_date_time( &self, flags: MetaFlag, meta_item: &str, value: &DateTime, ) -> bool
source§fn register_meta_double(
&self,
flags: MetaFlag,
meta_item: &str,
value: f64,
) -> bool
fn register_meta_double( &self, flags: MetaFlag, meta_item: &str, value: f64, ) -> bool
source§fn register_meta_float(
&self,
flags: MetaFlag,
meta_item: &str,
value: f32,
) -> bool
fn register_meta_float( &self, flags: MetaFlag, meta_item: &str, value: f32, ) -> bool
source§fn register_meta_int(
&self,
flags: MetaFlag,
meta_item: &str,
value: i32,
) -> bool
fn register_meta_int( &self, flags: MetaFlag, meta_item: &str, value: i32, ) -> bool
source§fn register_meta_int64(
&self,
flags: MetaFlag,
meta_item: &str,
value: i64,
) -> bool
fn register_meta_int64( &self, flags: MetaFlag, meta_item: &str, value: i64, ) -> bool
source§fn register_meta_string(
&self,
flags: MetaFlag,
meta_item: &str,
value: &str,
) -> bool
fn register_meta_string( &self, flags: MetaFlag, meta_item: &str, value: &str, ) -> bool
source§fn register_meta_uint(
&self,
flags: MetaFlag,
meta_item: &str,
value: u32,
) -> bool
fn register_meta_uint( &self, flags: MetaFlag, meta_item: &str, value: u32, ) -> bool
source§fn register_meta_uint64(
&self,
flags: MetaFlag,
meta_item: &str,
value: u64,
) -> bool
fn register_meta_uint64( &self, flags: MetaFlag, meta_item: &str, value: u64, ) -> bool
source§fn register_static_meta(
&self,
flags: MetaFlag,
meta_item: &str,
type_: Type,
) -> bool
fn register_static_meta( &self, flags: MetaFlag, meta_item: &str, type_: Type, ) -> bool
source§fn set_boolean(&self, meta_item: &str, value: bool) -> bool
fn set_boolean(&self, meta_item: &str, value: bool) -> bool
source§fn set_date(&self, meta_item: &str, value: &Date) -> bool
fn set_date(&self, meta_item: &str, value: &Date) -> bool
source§fn set_date_time(&self, meta_item: &str, value: &DateTime) -> bool
fn set_date_time(&self, meta_item: &str, value: &DateTime) -> bool
source§fn set_double(&self, meta_item: &str, value: f64) -> bool
fn set_double(&self, meta_item: &str, value: f64) -> bool
source§fn set_float(&self, meta_item: &str, value: f32) -> bool
fn set_float(&self, meta_item: &str, value: f32) -> bool
source§fn set_int(&self, meta_item: &str, value: i32) -> bool
fn set_int(&self, meta_item: &str, value: i32) -> bool
source§fn set_int64(&self, meta_item: &str, value: i64) -> bool
fn set_int64(&self, meta_item: &str, value: i64) -> bool
source§fn set_marker_list(&self, meta_item: &str, list: &MarkerList) -> bool
fn set_marker_list(&self, meta_item: &str, list: &MarkerList) -> bool
source§fn set_string(&self, meta_item: &str, value: &str) -> bool
fn set_string(&self, meta_item: &str, value: &str) -> bool
source§fn set_uint(&self, meta_item: &str, value: u32) -> bool
fn set_uint(&self, meta_item: &str, value: u32) -> bool
source§fn set_uint64(&self, meta_item: &str, value: u64) -> bool
fn set_uint64(&self, meta_item: &str, value: u64) -> bool
source§fn connect_notify_meta<F: Fn(&Self, &str, Option<&Value>) + 'static>(
&self,
detail: Option<&str>,
f: F,
) -> SignalHandlerId
fn connect_notify_meta<F: Fn(&Self, &str, Option<&Value>) + 'static>( &self, detail: Option<&str>, f: F, ) -> SignalHandlerId
source§impl<T> ObjectExt for Twhere
T: ObjectType,
impl<T> ObjectExt for Twhere
T: ObjectType,
source§fn is<U>(&self) -> boolwhere
U: StaticType,
fn is<U>(&self) -> boolwhere
U: StaticType,
true
if the object is an instance of (can be cast to) T
.source§fn object_class(&self) -> &Class<Object>
fn object_class(&self) -> &Class<Object>
ObjectClass
of the object. Read moresource§fn class_of<U>(&self) -> Option<&Class<U>>where
U: IsClass,
fn class_of<U>(&self) -> Option<&Class<U>>where
U: IsClass,
T
. Read moresource§fn interface<U>(&self) -> Option<InterfaceRef<'_, U>>where
U: IsInterface,
fn interface<U>(&self) -> Option<InterfaceRef<'_, U>>where
U: IsInterface,
T
of the object. Read moresource§fn set_property_from_value(&self, property_name: &str, value: &Value)
fn set_property_from_value(&self, property_name: &str, value: &Value)
source§fn set_properties(&self, property_values: &[(&str, &dyn ToValue)])
fn set_properties(&self, property_values: &[(&str, &dyn ToValue)])
source§fn set_properties_from_value(&self, property_values: &[(&str, Value)])
fn set_properties_from_value(&self, property_values: &[(&str, Value)])
source§fn property<V>(&self, property_name: &str) -> Vwhere
V: for<'b> FromValue<'b> + 'static,
fn property<V>(&self, property_name: &str) -> Vwhere
V: for<'b> FromValue<'b> + 'static,
property_name
of the object and cast it to the type V. Read moresource§fn property_value(&self, property_name: &str) -> Value
fn property_value(&self, property_name: &str) -> Value
property_name
of the object. Read moresource§fn property_type(&self, property_name: &str) -> Option<Type>
fn property_type(&self, property_name: &str) -> Option<Type>
property_name
of this object. Read moresource§fn find_property(&self, property_name: &str) -> Option<ParamSpec>
fn find_property(&self, property_name: &str) -> Option<ParamSpec>
ParamSpec
of the property property_name
of this object.source§fn list_properties(&self) -> PtrSlice<ParamSpec>
fn list_properties(&self) -> PtrSlice<ParamSpec>
ParamSpec
of the properties of this object.source§fn freeze_notify(&self) -> PropertyNotificationFreezeGuard
fn freeze_notify(&self) -> PropertyNotificationFreezeGuard
source§unsafe fn set_qdata<QD>(&self, key: Quark, value: QD)where
QD: 'static,
unsafe fn set_qdata<QD>(&self, key: Quark, value: QD)where
QD: 'static,
key
. Read moresource§unsafe fn qdata<QD>(&self, key: Quark) -> Option<NonNull<QD>>where
QD: 'static,
unsafe fn qdata<QD>(&self, key: Quark) -> Option<NonNull<QD>>where
QD: 'static,
key
. Read moresource§unsafe fn steal_qdata<QD>(&self, key: Quark) -> Option<QD>where
QD: 'static,
unsafe fn steal_qdata<QD>(&self, key: Quark) -> Option<QD>where
QD: 'static,
key
. Read moresource§unsafe fn set_data<QD>(&self, key: &str, value: QD)where
QD: 'static,
unsafe fn set_data<QD>(&self, key: &str, value: QD)where
QD: 'static,
key
. Read moresource§unsafe fn data<QD>(&self, key: &str) -> Option<NonNull<QD>>where
QD: 'static,
unsafe fn data<QD>(&self, key: &str) -> Option<NonNull<QD>>where
QD: 'static,
key
. Read moresource§unsafe fn steal_data<QD>(&self, key: &str) -> Option<QD>where
QD: 'static,
unsafe fn steal_data<QD>(&self, key: &str) -> Option<QD>where
QD: 'static,
key
. Read moresource§fn block_signal(&self, handler_id: &SignalHandlerId)
fn block_signal(&self, handler_id: &SignalHandlerId)
source§fn unblock_signal(&self, handler_id: &SignalHandlerId)
fn unblock_signal(&self, handler_id: &SignalHandlerId)
source§fn stop_signal_emission(&self, signal_id: SignalId, detail: Option<Quark>)
fn stop_signal_emission(&self, signal_id: SignalId, detail: Option<Quark>)
source§fn stop_signal_emission_by_name(&self, signal_name: &str)
fn stop_signal_emission_by_name(&self, signal_name: &str)
source§fn connect<F>(
&self,
signal_name: &str,
after: bool,
callback: F,
) -> SignalHandlerId
fn connect<F>( &self, signal_name: &str, after: bool, callback: F, ) -> SignalHandlerId
signal_name
on this object. Read moresource§fn connect_id<F>(
&self,
signal_id: SignalId,
details: Option<Quark>,
after: bool,
callback: F,
) -> SignalHandlerId
fn connect_id<F>( &self, signal_id: SignalId, details: Option<Quark>, after: bool, callback: F, ) -> SignalHandlerId
signal_id
on this object. Read moresource§fn connect_local<F>(
&self,
signal_name: &str,
after: bool,
callback: F,
) -> SignalHandlerId
fn connect_local<F>( &self, signal_name: &str, after: bool, callback: F, ) -> SignalHandlerId
signal_name
on this object. Read moresource§fn connect_local_id<F>(
&self,
signal_id: SignalId,
details: Option<Quark>,
after: bool,
callback: F,
) -> SignalHandlerId
fn connect_local_id<F>( &self, signal_id: SignalId, details: Option<Quark>, after: bool, callback: F, ) -> SignalHandlerId
signal_id
on this object. Read moresource§unsafe fn connect_unsafe<F>(
&self,
signal_name: &str,
after: bool,
callback: F,
) -> SignalHandlerId
unsafe fn connect_unsafe<F>( &self, signal_name: &str, after: bool, callback: F, ) -> SignalHandlerId
signal_name
on this object. Read moresource§unsafe fn connect_unsafe_id<F>(
&self,
signal_id: SignalId,
details: Option<Quark>,
after: bool,
callback: F,
) -> SignalHandlerId
unsafe fn connect_unsafe_id<F>( &self, signal_id: SignalId, details: Option<Quark>, after: bool, callback: F, ) -> SignalHandlerId
signal_id
on this object. Read moresource§fn connect_closure(
&self,
signal_name: &str,
after: bool,
closure: RustClosure,
) -> SignalHandlerId
fn connect_closure( &self, signal_name: &str, after: bool, closure: RustClosure, ) -> SignalHandlerId
signal_name
on this object. Read moresource§fn connect_closure_id(
&self,
signal_id: SignalId,
details: Option<Quark>,
after: bool,
closure: RustClosure,
) -> SignalHandlerId
fn connect_closure_id( &self, signal_id: SignalId, details: Option<Quark>, after: bool, closure: RustClosure, ) -> SignalHandlerId
signal_id
on this object. Read moresource§fn watch_closure(&self, closure: &impl AsRef<Closure>)
fn watch_closure(&self, closure: &impl AsRef<Closure>)
closure
to the lifetime of the object. When
the object’s reference count drops to zero, the closure will be
invalidated. An invalidated closure will ignore any calls to
invoke_with_values
, or
invoke
when using Rust closures.source§fn emit<R>(&self, signal_id: SignalId, args: &[&dyn ToValue]) -> Rwhere
R: TryFromClosureReturnValue,
fn emit<R>(&self, signal_id: SignalId, args: &[&dyn ToValue]) -> Rwhere
R: TryFromClosureReturnValue,
source§fn emit_with_values(&self, signal_id: SignalId, args: &[Value]) -> Option<Value>
fn emit_with_values(&self, signal_id: SignalId, args: &[Value]) -> Option<Value>
Self::emit
but takes Value
for the arguments.source§fn emit_by_name<R>(&self, signal_name: &str, args: &[&dyn ToValue]) -> Rwhere
R: TryFromClosureReturnValue,
fn emit_by_name<R>(&self, signal_name: &str, args: &[&dyn ToValue]) -> Rwhere
R: TryFromClosureReturnValue,
source§fn emit_by_name_with_values(
&self,
signal_name: &str,
args: &[Value],
) -> Option<Value>
fn emit_by_name_with_values( &self, signal_name: &str, args: &[Value], ) -> Option<Value>
source§fn emit_by_name_with_details<R>(
&self,
signal_name: &str,
details: Quark,
args: &[&dyn ToValue],
) -> Rwhere
R: TryFromClosureReturnValue,
fn emit_by_name_with_details<R>(
&self,
signal_name: &str,
details: Quark,
args: &[&dyn ToValue],
) -> Rwhere
R: TryFromClosureReturnValue,
source§fn emit_by_name_with_details_and_values(
&self,
signal_name: &str,
details: Quark,
args: &[Value],
) -> Option<Value>
fn emit_by_name_with_details_and_values( &self, signal_name: &str, details: Quark, args: &[Value], ) -> Option<Value>
source§fn emit_with_details<R>(
&self,
signal_id: SignalId,
details: Quark,
args: &[&dyn ToValue],
) -> Rwhere
R: TryFromClosureReturnValue,
fn emit_with_details<R>(
&self,
signal_id: SignalId,
details: Quark,
args: &[&dyn ToValue],
) -> Rwhere
R: TryFromClosureReturnValue,
source§fn emit_with_details_and_values(
&self,
signal_id: SignalId,
details: Quark,
args: &[Value],
) -> Option<Value>
fn emit_with_details_and_values( &self, signal_id: SignalId, details: Quark, args: &[Value], ) -> Option<Value>
source§fn disconnect(&self, handler_id: SignalHandlerId)
fn disconnect(&self, handler_id: SignalHandlerId)
source§fn connect_notify<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
fn connect_notify<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
notify
signal of the object. Read moresource§fn connect_notify_local<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
fn connect_notify_local<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
notify
signal of the object. Read moresource§unsafe fn connect_notify_unsafe<F>(
&self,
name: Option<&str>,
f: F,
) -> SignalHandlerId
unsafe fn connect_notify_unsafe<F>( &self, name: Option<&str>, f: F, ) -> SignalHandlerId
notify
signal of the object. Read moresource§fn notify(&self, property_name: &str)
fn notify(&self, property_name: &str)
source§fn notify_by_pspec(&self, pspec: &ParamSpec)
fn notify_by_pspec(&self, pspec: &ParamSpec)
source§fn add_weak_ref_notify<F>(&self, f: F) -> WeakRefNotify<T>
fn add_weak_ref_notify<F>(&self, f: F) -> WeakRefNotify<T>
source§fn add_weak_ref_notify_local<F>(&self, f: F) -> WeakRefNotify<T>where
F: FnOnce() + 'static,
fn add_weak_ref_notify_local<F>(&self, f: F) -> WeakRefNotify<T>where
F: FnOnce() + 'static,
source§fn bind_property<'a, 'f, 't, O>(
&'a self,
source_property: &'a str,
target: &'a O,
target_property: &'a str,
) -> BindingBuilder<'a, 'f, 't>where
O: ObjectType,
fn bind_property<'a, 'f, 't, O>(
&'a self,
source_property: &'a str,
target: &'a O,
target_property: &'a str,
) -> BindingBuilder<'a, 'f, 't>where
O: ObjectType,
source§unsafe fn run_dispose(&self)
unsafe fn run_dispose(&self)
source§impl<T> PropertyGet for Twhere
T: HasParamSpec,
impl<T> PropertyGet for Twhere
T: HasParamSpec,
source§impl<T> StaticTypeExt for Twhere
T: StaticType,
impl<T> StaticTypeExt for Twhere
T: StaticType,
source§fn ensure_type()
fn ensure_type()
source§impl<O> TimelineElementExt for Owhere
O: IsA<TimelineElement>,
impl<O> TimelineElementExt for Owhere
O: IsA<TimelineElement>,
source§fn add_child_property(
&self,
pspec: impl AsRef<ParamSpec>,
child: &impl IsA<Object>,
) -> Result<(), BoolError>
fn add_child_property( &self, pspec: impl AsRef<ParamSpec>, child: &impl IsA<Object>, ) -> Result<(), BoolError>
set_child_property()
and read with
child_property()
. A change in the property
will also appear in the deep-notify
signal. Read morefn copy(&self, deep: bool) -> TimelineElement
source§fn edit(
&self,
layers: &[Layer],
new_layer_priority: i64,
mode: EditMode,
edge: Edge,
position: u64,
) -> bool
fn edit( &self, layers: &[Layer], new_layer_priority: i64, mode: EditMode, edge: Edge, position: u64, ) -> bool
edit_full()
, which also gives an error. Read moresource§fn edit_full(
&self,
new_layer_priority: i64,
mode: EditMode,
edge: Edge,
position: u64,
) -> Result<(), Error>
fn edit_full( &self, new_layer_priority: i64, mode: EditMode, edge: Edge, position: u64, ) -> Result<(), Error>
start
, duration
or
in-point
, and potentially doing the same for
other elements in the timeline. See EditMode
for details about each
edit mode. An edit may fail if it would place one of these properties
out of bounds, or if it would place the timeline in an unsupported
configuration. Read moresource§fn child_property(&self, property_name: &str) -> Option<Value>
fn child_property(&self, property_name: &str) -> Option<Value>
source§fn child_property_by_pspec(&self, pspec: impl AsRef<ParamSpec>) -> Value
fn child_property_by_pspec(&self, pspec: impl AsRef<ParamSpec>) -> Value
pspec
used in
add_child_property()
is copied into value
. Read moresource§fn layer_priority(&self) -> u32
fn layer_priority(&self) -> u32
source§fn max_duration(&self) -> Option<ClockTime>
fn max_duration(&self) -> Option<ClockTime>
max-duration
for the element. Read moresource§fn natural_framerate(&self) -> Option<(i32, i32)>
fn natural_framerate(&self) -> Option<(i32, i32)>
self
. This is to say, for example
for a VideoUriSource
the framerate of the source. Read moresource§fn toplevel_parent(&self) -> TimelineElement
fn toplevel_parent(&self) -> TimelineElement
source§fn track_types(&self) -> TrackType
fn track_types(&self) -> TrackType
Track
it can exist in, or will create TrackElement
-s for. Read moresource§fn list_children_properties(&self) -> Vec<ParamSpec>
fn list_children_properties(&self) -> Vec<ParamSpec>
add_child_property()
. Read moresource§fn lookup_child(&self, prop_name: &str) -> Option<(Object, ParamSpec)>
fn lookup_child(&self, prop_name: &str) -> Option<(Object, ParamSpec)>
source§fn paste(&self, paste_position: ClockTime) -> Result<TimelineElement, BoolError>
fn paste(&self, paste_position: ClockTime) -> Result<TimelineElement, BoolError>
self
. self
must be the return of ges_timeline_element_copy()
with deep=TRUE
,
and it should not be changed before pasting.
self
is not placed in the timeline, instead a new element is created,
alike to the originally copied element. Note that the originally
copied element must stay within the same timeline and layer, at both
the point of copying and pasting. Read moresource§fn remove_child_property(
&self,
pspec: impl AsRef<ParamSpec>,
) -> Result<(), BoolError>
fn remove_child_property( &self, pspec: impl AsRef<ParamSpec>, ) -> Result<(), BoolError>
pspec
should be a
specification that was passed to
add_child_property()
. The corresponding property
will no longer be registered as a child property for the element. Read moresource§fn ripple(&self, start: ClockTime) -> Result<(), BoolError>
fn ripple(&self, start: ClockTime) -> Result<(), BoolError>
edit()
with EditMode::Ripple
and
Edge::None
. Read moresource§fn ripple_end(&self, end: ClockTime) -> Result<(), BoolError>
fn ripple_end(&self, end: ClockTime) -> Result<(), BoolError>
edit()
with EditMode::Ripple
and
Edge::End
. Read moresource§fn roll_end(&self, end: ClockTime) -> Result<(), BoolError>
fn roll_end(&self, end: ClockTime) -> Result<(), BoolError>
edit()
with EditMode::Roll
and
Edge::End
. Read moresource§fn roll_start(&self, start: ClockTime) -> Result<(), BoolError>
fn roll_start(&self, start: ClockTime) -> Result<(), BoolError>
edit()
with EditMode::Roll
and
Edge::Start
. Read moresource§fn set_child_property(
&self,
property_name: &str,
value: &Value,
) -> Result<(), BoolError>
fn set_child_property( &self, property_name: &str, value: &Value, ) -> Result<(), BoolError>
set_child_property_full()
, which also gives an
error. Read moresource§fn set_child_property_by_pspec(
&self,
pspec: impl AsRef<ParamSpec>,
value: &Value,
)
fn set_child_property_by_pspec( &self, pspec: impl AsRef<ParamSpec>, value: &Value, )
pspec
used in
add_child_property()
is set to value
. Read moresource§fn set_child_property_full(
&self,
property_name: &str,
value: &Value,
) -> Result<(), Error>
fn set_child_property_full( &self, property_name: &str, value: &Value, ) -> Result<(), Error>
source§fn set_inpoint(&self, inpoint: ClockTime) -> bool
fn set_inpoint(&self, inpoint: ClockTime) -> bool
in-point
for the element. If the new in-point
is above the current max-duration
of the element,
this method will fail. Read moresource§fn set_max_duration(&self, maxduration: impl Into<Option<ClockTime>>) -> bool
fn set_max_duration(&self, maxduration: impl Into<Option<ClockTime>>) -> bool
max-duration
for the element. If the new
maximum duration is below the current in-point
of
the element, this method will fail. Read moresource§fn set_parent(
&self,
parent: &impl IsA<TimelineElement>,
) -> Result<(), BoolError>
fn set_parent( &self, parent: &impl IsA<TimelineElement>, ) -> Result<(), BoolError>
source§fn set_priority(&self, priority: u32) -> bool
fn set_priority(&self, priority: u32) -> bool
source§fn trim(&self, start: ClockTime) -> Result<(), BoolError>
fn trim(&self, start: ClockTime) -> Result<(), BoolError>
edit()
with EditMode::Trim
and
Edge::Start
. Read moresource§fn in_point(&self) -> u64
fn in_point(&self) -> u64
source§fn set_in_point(&self, in_point: u64)
fn set_in_point(&self, in_point: u64)
source§fn is_serialize(&self) -> bool
fn is_serialize(&self) -> bool
source§fn set_serialize(&self, serialize: bool)
fn set_serialize(&self, serialize: bool)
source§fn connect_child_property_added<F: Fn(&Self, &Object, &ParamSpec) + 'static>(
&self,
f: F,
) -> SignalHandlerId
fn connect_child_property_added<F: Fn(&Self, &Object, &ParamSpec) + 'static>( &self, f: F, ) -> SignalHandlerId
add_child_property()
. Read moresource§fn connect_child_property_removed<F: Fn(&Self, &Object, &ParamSpec) + 'static>(
&self,
f: F,
) -> SignalHandlerId
fn connect_child_property_removed<F: Fn(&Self, &Object, &ParamSpec) + 'static>( &self, f: F, ) -> SignalHandlerId
remove_child_property()
. Read moresource§fn connect_deep_notify<F: Fn(&Self, &Object, &ParamSpec) + 'static>(
&self,
detail: Option<&str>,
f: F,
) -> SignalHandlerId
fn connect_deep_notify<F: Fn(&Self, &Object, &ParamSpec) + 'static>( &self, detail: Option<&str>, f: F, ) -> SignalHandlerId
add_child_property()
.
Note that unlike notify
, a child property name can not be
used as a signal detail. Read more