[][src]Trait msgbox::NSAlert

pub trait NSAlert: Sized {
    unsafe fn init(self) -> id;
unsafe fn autorelease(self) -> id;
unsafe fn setAlertStyle(self, style: NSAlertStyle);
unsafe fn setMessageText(self, messageText: id);
unsafe fn setInformativeText(self, informativeText: id);
unsafe fn addButton(self, withTitle: id);
unsafe fn runModal(self) -> id; unsafe fn alloc(_: Self) -> id { ... } }

NSAlert https://developer.apple.com/documentation/appkit/nsalert

Required methods

unsafe fn init(self) -> id

unsafe fn autorelease(self) -> id

unsafe fn setAlertStyle(self, style: NSAlertStyle)

unsafe fn setMessageText(self, messageText: id)

unsafe fn setInformativeText(self, informativeText: id)

unsafe fn addButton(self, withTitle: id)

unsafe fn runModal(self) -> id

Loading content...

Provided methods

unsafe fn alloc(_: Self) -> id

Loading content...

Implementations on Foreign Types

impl NSAlert for id[src]

Loading content...

Implementors

Loading content...