pub trait TitleClipExt: 'static {
Show 26 methods
fn background_color(&self) -> u32;
fn font_desc(&self) -> Option<GString>;
fn halignment(&self) -> TextHAlign;
fn text(&self) -> Option<GString>;
fn text_color(&self) -> u32;
fn valignment(&self) -> TextVAlign;
fn xpos(&self) -> f64;
fn ypos(&self) -> f64;
fn set_background(&self, background: u32);
fn set_color(&self, color: u32);
fn set_font_desc(&self, font_desc: &str);
fn set_halignment(&self, halign: TextHAlign);
fn set_text(&self, text: &str);
fn set_valignment(&self, valign: TextVAlign);
fn set_xpos(&self, position: f64);
fn set_ypos(&self, position: f64);
fn background(&self) -> u32;
fn color(&self) -> u32;
fn connect_background_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId;
fn connect_color_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId;
fn connect_font_desc_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId;
fn connect_halignment_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId;
fn connect_text_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId;
fn connect_valignment_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId;
fn connect_xpos_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId;
fn connect_ypos_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId;
}
Expand description
Required methods
fn background_color(&self) -> u32
fn background_color(&self) -> u32
Since 1.6
Get the background used by self
.
Deprecated since 1.6
use ges_timeline_element_get_children_properties
instead.
See TitleSource
for more information about exposed properties
Returns
The color used by self
.
Since 1.6
Get the pango font description used by self
.
Deprecated since 1.6
use ges_timeline_element_get_children_properties
instead.
See TitleSource
for more information about exposed properties
Returns
The pango font description used by self
.
fn halignment(&self) -> TextHAlign
fn halignment(&self) -> TextHAlign
Since 1.6
Get the horizontal aligment used by self
.
Deprecated since 1.6
use ges_timeline_element_get_children_properties
instead.
See TitleSource
for more information about exposed properties
Returns
The horizontal aligment used by self
.
Since 1.6
Get the text currently set on self
.
Deprecated since 1.6
use ges_timeline_element_get_children_properties
instead.
See TitleSource
for more information about exposed properties
Returns
The text currently set on self
.
fn text_color(&self) -> u32
fn text_color(&self) -> u32
Since 1.6
Get the color used by self
.
Deprecated since 1.6
use ges_timeline_element_get_children_properties
instead.
See TitleSource
for more information about exposed properties
Returns
The color used by self
.
fn valignment(&self) -> TextVAlign
fn valignment(&self) -> TextVAlign
Since 1.6
Get the vertical aligment used by self
.
Deprecated since 1.6
use ges_timeline_element_get_children_properties
instead.
See TitleSource
for more information about exposed properties
Returns
The vertical aligment used by self
.
Since 1.6
Get the horizontal position used by self
.
Deprecated since 1.6
use ges_timeline_element_get_children_properties
instead.
See TitleSource
for more information about exposed properties
Returns
The horizontal position used by self
.
Since 1.6
Get the vertical position used by self
.
Deprecated since 1.6
use ges_timeline_element_get_children_property
instead
Returns
The vertical position used by self
.
fn set_background(&self, background: u32)
fn set_background(&self, background: u32)
Since 1.6
Sets the background of the text.
Deprecated since 1.6
use ges_timeline_element_set_children_properties
instead.
See TitleSource
for more information about exposed properties
background
The color self
is being set to
Since 1.6
Sets the color of the text.
Deprecated since 1.6
use ges_timeline_element_set_children_properties
instead.
See TitleSource
for more information about exposed properties
color
The color self
is being set to
fn set_font_desc(&self, font_desc: &str)
fn set_font_desc(&self, font_desc: &str)
Since 1.6
Sets the pango font description of the text.
Deprecated since 1.6
use ges_timeline_element_set_children_properties
instead.
See TitleSource
for more information about exposed properties
font_desc
the pango font description
fn set_halignment(&self, halign: TextHAlign)
fn set_halignment(&self, halign: TextHAlign)
Since 1.6
Sets the horizontal aligment of the text.
Deprecated since 1.6
use ges_timeline_element_set_children_properties
instead.
See TitleSource
for more information about exposed properties
halign
Since 1.6
Sets the text this clip will render.
Deprecated since 1.6
use ges_timeline_element_set_children_properties
instead.
See TitleSource
for more information about exposed properties
text
the text to render. an internal copy of this text will be made.
fn set_valignment(&self, valign: TextVAlign)
fn set_valignment(&self, valign: TextVAlign)
Since 1.6
Sets the vertical aligment of the text.
Deprecated since 1.6
use ges_timeline_element_set_children_properties
instead.
See TitleSource
for more information about exposed properties
valign
Since 1.6
Sets the horizontal position of the text.
Deprecated since 1.6
use ges_timeline_element_set_children_properties
instead.
See TitleSource
for more information about exposed properties
position
The horizontal position self
is being set to
Since 1.6
Sets the vertical position of the text.
Deprecated since 1.6
use ges_timeline_element_set_children_properties
instead.
See TitleSource
for more information about exposed properties
position
The vertical position self
is being set to
fn background(&self) -> u32
fn background(&self) -> u32
The background of the text
Deprecated since 1.6
use ges_timeline_element_set_children_properties
or
ges_timeline_element_get_children_properties
instead.
See TitleSource
for more information about exposed properties
The color of the text
Deprecated since 1.6
use ges_timeline_element_set_children_properties
or
ges_timeline_element_get_children_properties
instead.
See TitleSource
for more information about exposed properties
fn connect_background_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId
fn connect_background_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId
Since 1.6
fn connect_color_notify<F: Fn(&Self) + 'static>(&self, f: F) -> SignalHandlerId
fn connect_color_notify<F: Fn(&Self) + 'static>(&self, f: F) -> SignalHandlerId
Since 1.6
fn connect_font_desc_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId
fn connect_font_desc_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId
Since 1.6
fn connect_halignment_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId
fn connect_halignment_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId
Since 1.6
fn connect_text_notify<F: Fn(&Self) + 'static>(&self, f: F) -> SignalHandlerId
fn connect_text_notify<F: Fn(&Self) + 'static>(&self, f: F) -> SignalHandlerId
Since 1.6
fn connect_valignment_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId
fn connect_valignment_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId
Since 1.6
fn connect_xpos_notify<F: Fn(&Self) + 'static>(&self, f: F) -> SignalHandlerId
fn connect_xpos_notify<F: Fn(&Self) + 'static>(&self, f: F) -> SignalHandlerId
Since 1.6
fn connect_ypos_notify<F: Fn(&Self) + 'static>(&self, f: F) -> SignalHandlerId
fn connect_ypos_notify<F: Fn(&Self) + 'static>(&self, f: F) -> SignalHandlerId
Since 1.6