Trait gtk::prelude::ColorButtonExtManual
source · [−]pub trait ColorButtonExtManual: 'static {
fn with_color(color: &Color) -> ColorButton;
fn color(&self) -> Color;
fn set_color(&self, color: &Color);
}
Required Methods
fn with_color(color: &Color) -> ColorButton
Sets the current color to be color
.
Deprecated
Use ColorChooserExt::set_rgba()
instead.
color
A GdkColor
to set the current color with