Skip to main content

ColorButtonExtManual

Trait ColorButtonExtManual 

Source
pub trait ColorButtonExtManual:
    IsA<ColorButton>
    + Sealed
    + 'static {
    // Provided methods
    fn with_color(color: &Color) -> ColorButton { ... }
    fn color(&self) -> Color { ... }
    fn set_color(&self, color: &Color) { ... }
}

Provided Methods§

Source

fn with_color(color: &Color) -> ColorButton

Source

fn color(&self) -> Color

Source

fn set_color(&self, color: &Color)

Sets the current color to be color.

§Deprecated

Use ColorChooserExt::set_rgba() instead.

§color

A GdkColor to set the current color with

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§