pub trait TextOverlayClipExt: IsA<TextOverlayClip> + Sealed + 'static {
Show 23 methods
// Provided methods
fn color(&self) -> u32 { ... }
fn font_desc(&self) -> Option<GString> { ... }
fn halignment(&self) -> TextHAlign { ... }
fn text(&self) -> Option<GString> { ... }
fn valignment(&self) -> TextVAlign { ... }
fn xpos(&self) -> f64 { ... }
fn ypos(&self) -> f64 { ... }
fn set_color(&self, color: u32) { ... }
fn set_font_desc(&self, font_desc: Option<&str>) { ... }
fn set_halign(&self, halign: TextHAlign) { ... }
fn set_text(&self, text: Option<&str>) { ... }
fn set_valign(&self, valign: TextVAlign) { ... }
fn set_xpos(&self, position: f64) { ... }
fn set_ypos(&self, position: f64) { ... }
fn set_halignment(&self, halignment: TextHAlign) { ... }
fn set_valignment(&self, valignment: TextVAlign) { ... }
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
Provided Methods§
sourcefn halignment(&self) -> TextHAlign
fn halignment(&self) -> TextHAlign
sourcefn valignment(&self) -> TextVAlign
fn valignment(&self) -> TextVAlign
sourcefn set_font_desc(&self, font_desc: Option<&str>)
fn set_font_desc(&self, font_desc: Option<&str>)
sourcefn set_halign(&self, halign: TextHAlign)
fn set_halign(&self, halign: TextHAlign)
sourcefn set_text(&self, text: Option<&str>)
fn set_text(&self, text: Option<&str>)
Sets the text this clip will render.
§text
the text to render. an internal copy of this text will be made.
sourcefn set_valign(&self, valign: TextVAlign)
fn set_valign(&self, valign: TextVAlign)
sourcefn set_halignment(&self, halignment: TextHAlign)
fn set_halignment(&self, halignment: TextHAlign)
Horizontal alignment of the text
sourcefn set_valignment(&self, valignment: TextVAlign)
fn set_valignment(&self, valignment: TextVAlign)
Vertical alignent of the text
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
Object Safety§
This trait is not object safe.