pub unsafe trait NSColorPickingCustom: NSColorPickingDefault + MainThreadOnly {
// Provided methods
fn supportsMode(&self, mode: NSColorPanelMode) -> bool
where Self: Sized + Message { ... }
fn currentMode(&self) -> NSColorPanelMode
where Self: Sized + Message { ... }
fn provideNewView(&self, initial_request: bool) -> Retained<NSView>
where Self: Sized + Message { ... }
fn setColor(&self, new_color: &NSColor)
where Self: Sized + Message { ... }
}
Available on crate feature
NSColorPicking
only.Expand description
Provided Methods§
fn supportsMode(&self, mode: NSColorPanelMode) -> bool
Available on crate feature
NSColorPanel
only.fn currentMode(&self) -> NSColorPanelMode
Available on crate feature
NSColorPanel
only.fn provideNewView(&self, initial_request: bool) -> Retained<NSView>
Available on crate features
NSResponder
and NSView
only.fn setColor(&self, new_color: &NSColor)
Available on crate feature
NSColor
only.