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