Trait objc2_app_kit::NSColorPickingDefault
source · pub unsafe trait NSColorPickingDefault: IsMainThreadOnly {
// Provided methods
unsafe fn initWithPickerMask_colorPanel(
this: Allocated<Self>,
mask: NSUInteger,
owning_color_panel: &NSColorPanel
) -> Option<Retained<Self>>
where Self: Sized + Message { ... }
unsafe fn provideNewButtonImage(&self) -> Retained<NSImage>
where Self: Sized + Message { ... }
unsafe fn insertNewButtonImage_in(
&self,
new_button_image: &NSImage,
button_cell: &NSButtonCell
)
where Self: Sized + Message { ... }
unsafe fn viewSizeChanged(&self, sender: Option<&AnyObject>)
where Self: Sized + Message { ... }
unsafe fn alphaControlAddedOrRemoved(&self, sender: Option<&AnyObject>)
where Self: Sized + Message { ... }
unsafe fn attachColorList(&self, color_list: &NSColorList)
where Self: Sized + Message { ... }
unsafe fn detachColorList(&self, color_list: &NSColorList)
where Self: Sized + Message { ... }
unsafe fn setMode(&self, mode: NSColorPanelMode)
where Self: Sized + Message { ... }
unsafe fn buttonToolTip(&self) -> Retained<NSString>
where Self: Sized + Message { ... }
unsafe fn minContentSize(&self) -> NSSize
where Self: Sized + Message { ... }
}
Available on crate feature
NSColorPicking
only.Provided Methods§
unsafe fn initWithPickerMask_colorPanel( this: Allocated<Self>, mask: NSUInteger, owning_color_panel: &NSColorPanel ) -> Option<Retained<Self>>
Available on crate features
NSColorPanel
and NSPanel
and NSResponder
and NSWindow
only.unsafe fn provideNewButtonImage(&self) -> Retained<NSImage>
Available on crate feature
NSImage
only.unsafe fn insertNewButtonImage_in( &self, new_button_image: &NSImage, button_cell: &NSButtonCell )
Available on crate features
NSActionCell
and NSButtonCell
and NSCell
and NSImage
only.unsafe fn viewSizeChanged(&self, sender: Option<&AnyObject>)
unsafe fn alphaControlAddedOrRemoved(&self, sender: Option<&AnyObject>)
unsafe fn attachColorList(&self, color_list: &NSColorList)
Available on crate feature
NSColorList
only.unsafe fn detachColorList(&self, color_list: &NSColorList)
Available on crate feature
NSColorList
only.unsafe fn setMode(&self, mode: NSColorPanelMode)
Available on crate feature
NSColorPanel
only.unsafe fn minContentSize(&self) -> NSSize
Trait Implementations§
source§impl ProtocolType for dyn NSColorPickingDefault
impl ProtocolType for dyn NSColorPickingDefault
impl<T> ImplementedBy<T> for dyn NSColorPickingDefault
Implementations on Foreign Types§
impl<T> NSColorPickingDefault for ProtocolObject<T>where
T: ?Sized + NSColorPickingDefault,
Implementors§
impl NSColorPickingDefault for NSColorPicker
Available on crate feature
NSColorPicker
only.