Trait cocoa::appkit::NSControl

source ·
pub trait NSControl: Sized {
    // Required methods
    unsafe fn initWithFrame_(self, frameRect: NSRect) -> id;
    unsafe fn isEnabled_(self) -> BOOL;
    unsafe fn setEnabled_(self, enabled: BOOL) -> BOOL;

    // Provided method
    unsafe fn alloc(_: Self) -> id { ... }
}

Required Methods§

source

unsafe fn initWithFrame_(self, frameRect: NSRect) -> id

source

unsafe fn isEnabled_(self) -> BOOL

source

unsafe fn setEnabled_(self, enabled: BOOL) -> BOOL

Provided Methods§

source

unsafe fn alloc(_: Self) -> id

Implementors§