pub trait TitleSourceExt: IsA<TitleSource> + 'static {
Show 16 methods
// Provided 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_color(&self, color: u32) { ... }
fn set_font_desc(&self, font_desc: Option<&str>) { ... }
fn set_halignment(&self, halign: TextHAlign) { ... }
fn set_text(&self, text: Option<&str>) { ... }
fn set_text_color(&self, color: u32) { ... }
fn set_valignment(&self, valign: TextVAlign) { ... }
fn set_xpos(&self, position: f64) { ... }
fn set_ypos(&self, position: f64) { ... }
}
Expand description
Provided Methods§
Sourcefn background_color(&self) -> u32
fn background_color(&self) -> u32
Sourcefn halignment(&self) -> TextHAlign
fn halignment(&self) -> TextHAlign
Sourcefn text_color(&self) -> u32
fn text_color(&self) -> u32
Sourcefn valignment(&self) -> TextVAlign
fn valignment(&self) -> TextVAlign
Sourcefn set_background_color(&self, color: u32)
fn set_background_color(&self, color: u32)
Sourcefn set_font_desc(&self, font_desc: Option<&str>)
fn set_font_desc(&self, font_desc: Option<&str>)
Set the pango font description this source will use to render the text.
§font_desc
the pango font description
Sourcefn set_halignment(&self, halign: TextHAlign)
fn set_halignment(&self, halign: TextHAlign)
Sourcefn set_text_color(&self, color: u32)
fn set_text_color(&self, color: u32)
Sourcefn set_valignment(&self, valign: TextVAlign)
fn set_valignment(&self, valign: TextVAlign)
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.