Trait carbide_core::Labelable [−][src]
Widgets that may display some label.
Required methods
fn label(self, text: &'a str) -> Self
[src]
Set the label for the widget.
fn label_color(self, color: Color) -> Self
[src]
Set the color of the widget's label.
fn label_font_size(self, size: FontSize) -> Self
[src]
Set the font size for the widget's label.
Provided methods
fn label_rgba(self, r: f32, g: f32, b: f32, a: f32) -> Self
[src]
Set the color of the widget's label from rgba values.
fn label_rgb(self, r: f32, g: f32, b: f32) -> Self
[src]
Set the color of the widget's label from rgb values.
fn label_hsla(self, h: f32, s: f32, l: f32, a: f32) -> Self
[src]
Set the color of the widget's label from hsla values.
fn label_hsl(self, h: f32, s: f32, l: f32) -> Self
[src]
Set the color of the widget's label from hsl values.