pub trait ColorChooserImpl: ObjectImpl {
    // Required methods
    fn rgba(&self, color_chooser: &Self::Type) -> RGBA;
    fn set_rgba(&self, color_chooser: &Self::Type, rgba: RGBA);

    // Provided methods
    fn add_palette(
        &self,
        color_chooser: &Self::Type,
        orientation: Orientation,
        colors_per_line: i32,
        colors: &[RGBA]
    ) { ... }
    fn color_activated(&self, color_chooser: &Self::Type, rgba: RGBA) { ... }
}

Required Methods§

source

fn rgba(&self, color_chooser: &Self::Type) -> RGBA

source

fn set_rgba(&self, color_chooser: &Self::Type, rgba: RGBA)

Provided Methods§

source

fn add_palette( &self, color_chooser: &Self::Type, orientation: Orientation, colors_per_line: i32, colors: &[RGBA] )

source

fn color_activated(&self, color_chooser: &Self::Type, rgba: RGBA)

Implementors§