Trait ColorChooserRequestExt

Source
pub trait ColorChooserRequestExt:
    IsA<ColorChooserRequest>
    + Sealed
    + 'static {
    // Provided methods
    fn cancel(&self) { ... }
    fn finish(&self) { ... }
    fn element_rectangle(&self) -> Rectangle { ... }
    fn rgba(&self) -> RGBA { ... }
    fn set_rgba(&self, rgba: &RGBA) { ... }
    fn connect_finished<F: Fn(&Self) + 'static>(&self, f: F) -> SignalHandlerId { ... }
    fn connect_rgba_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F,
    ) -> SignalHandlerId { ... }
}

Provided Methods§

Source

fn cancel(&self)

Available on crate feature v2_8 only.
Source

fn finish(&self)

Available on crate feature v2_8 only.
Source

fn element_rectangle(&self) -> Rectangle

Available on crate feature v2_8 only.
Source

fn rgba(&self) -> RGBA

Available on crate feature v2_8 only.
Source

fn set_rgba(&self, rgba: &RGBA)

Available on crate feature v2_8 only.
Source

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

Available on crate feature v2_8 only.
Source

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

Available on crate feature v2_8 only.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§