Trait cocoa::appkit::NSPanel

source ·
pub trait NSPanel: Sized {
    // Required methods
    unsafe fn setBecomesKeyOnlyIfNeeded(self, becomesKeyOnlyIfNeeded: BOOL);
    unsafe fn becomesKeyOnlyIfNeeded(self) -> BOOL;
    unsafe fn setFloatingPanel(self, floatingPanel: BOOL);
    unsafe fn floatingPanel(self) -> BOOL;
    unsafe fn setWorksWhenModal(self, worksWithPanel: BOOL);

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

Required Methods§

source

unsafe fn setBecomesKeyOnlyIfNeeded(self, becomesKeyOnlyIfNeeded: BOOL)

source

unsafe fn becomesKeyOnlyIfNeeded(self) -> BOOL

source

unsafe fn setFloatingPanel(self, floatingPanel: BOOL)

source

unsafe fn floatingPanel(self) -> BOOL

source

unsafe fn setWorksWhenModal(self, worksWithPanel: BOOL)

Provided Methods§

source

unsafe fn alloc(_: Self) -> id

Implementors§