Trait gtk4::prelude::ColorChooserExt

source ·
pub trait ColorChooserExt: IsA<ColorChooser> + Sealed + 'static {
    // Provided methods
    fn rgba(&self) -> RGBA { ... }
    fn uses_alpha(&self) -> bool { ... }
    fn set_rgba(&self, color: &RGBA) { ... }
    fn set_use_alpha(&self, use_alpha: bool) { ... }
    fn connect_color_activated<F: Fn(&Self, &RGBA) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId { ... }
    fn connect_rgba_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId { ... }
    fn connect_use_alpha_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId { ... }
}
👎Deprecated: Since 4.10

Provided Methods§

source

fn rgba(&self) -> RGBA

👎Deprecated: Since 4.10
source

fn uses_alpha(&self) -> bool

👎Deprecated: Since 4.10
source

fn set_rgba(&self, color: &RGBA)

👎Deprecated: Since 4.10
source

fn set_use_alpha(&self, use_alpha: bool)

👎Deprecated: Since 4.10
source

fn connect_color_activated<F: Fn(&Self, &RGBA) + 'static>( &self, f: F ) -> SignalHandlerId

👎Deprecated: Since 4.10
source

fn connect_rgba_notify<F: Fn(&Self) + 'static>(&self, f: F) -> SignalHandlerId

👎Deprecated: Since 4.10
source

fn connect_use_alpha_notify<F: Fn(&Self) + 'static>( &self, f: F ) -> SignalHandlerId

👎Deprecated: Since 4.10

Object Safety§

This trait is not object safe.

Implementors§