cocoa :: NSAlert :: defaultinit
cocoa :: NSAlert :: message_text=
Set the content of this message boxcore :: Pointer :: address_is_null
Is the address behind this Object at NULL?core :: Object :: class_factory
Implementation used byget_class
to create the specific class.
cocoa :: NSObject :: defaultinit
core :: Object :: defaultinit
core :: Pointer :: defaultinit
cocoa :: NSAlert :: defaultinit
core :: Object :: is_same_instance
Return true ifself
and other
are the same instance (i.e. same identity).
core :: Object :: is_same_serialized
Isself
the same as other
in a serialization context?
core :: Object :: is_same_type
Return true ifself
and other
have the same dynamic type.
cocoa :: NSAlert :: message_text=
Set the content of this message boxcore :: Object :: output_class_name
Display class name on stdout (debug only).
# A simple message box
extern class NSAlert in "ObjC" `{ NSAlert * `}
super NSObject
# Allocate and instanciate a new `NSAlert`
new in "ObjC" `{ return [[NSAlert alloc] init]; `}
# Set the content of this message box
fun message_text=(text: NSString) in "ObjC" `{ [self setMessageText:text]; `}
# Show this message box
fun run_modal in "ObjC" `{ [self runModal]; `}
end
lib/cocoa/app_kit.nit:26,1--38,3