Trait gtk4::subclass::color_chooser::ColorChooserImpl

source ยท
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) { ... }
}
๐Ÿ‘ŽDeprecated: Since 4.10

Required Methodsยง

source

fn rgba(&self) -> RGBA

๐Ÿ‘ŽDeprecated: Since 4.10
source

fn set_rgba(&self, rgba: RGBA)

๐Ÿ‘ŽDeprecated: Since 4.10

Provided Methodsยง

source

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

๐Ÿ‘ŽDeprecated: Since 4.10
source

fn color_activated(&self, rgba: RGBA)

๐Ÿ‘ŽDeprecated: Since 4.10

Object Safetyยง

This trait is not object safe.

Implementorsยง