Trait libhelium::subclass::prelude::ColorChooserImpl

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

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

Required Methods§

fn rgba(&self) -> RGBA

fn set_rgba(&self, rgba: RGBA)

Provided Methods§

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

fn color_activated(&self, rgba: RGBA)

Object Safety§

This trait is not object safe.

Implementors§