Skip to main content

tweak

Function tweak 

Source
pub fn tweak<W: Tweakable>(apply: impl Fn(&W::Native) + 'static) -> Tweak<W>
Expand description

Raw settings for a built-in widget’s AppKit control: appkit::tweak(|b: &NSButton| b.setControlSize(NSControlSize::Large)). See Tweak.