From: Domenico Testa
Subject: [pyobjc] Custom sheet and didEndSelector
To: Cocoa development mailing list
Message-ID:
Content-Type: text/plain; charset=UTF-8
> I want to show a custom sheet asking user for a choice depending on the
> button clicked.
>
> That's my code:
>
snip
>
> @IBA
- Original Message
From: Mahaboob
Subject: Re: Saving the project
To: Mike Abdullah
Cc: "cocoa-dev@lists.apple.com"
Message-ID:
Content-Type: text/plain;charset="US-ASCII"
Thanks for the help,
Now it is working well with the menu item's action. I also need to perform
the sam
> Greetings,
>
> I am having trouble with something that should be pretty
> basic..
>
> What I would like to do is set the action for NSButton
> programmatically where the selector is a variable.
>
> I can't seem to find an example.
>
> [aButton addTarget:self action:variable ]
>
> If I
> --
>
> Message: 3
> Date: Fri, 23 May 2008 07:43:31 -0400
> From: "John Love" <[EMAIL PROTECTED]>
> Subject: NSProgressIndicator -- delete the first message
> with same
> title
> To: "Cocoa Development"
>
> Message-ID:
> <[EMAIL PROTECTED]>
> Content-Typ
Hi Leslie,
NSView does not store any drawing. If the code bellow
is
executed in the loop as you are indicating and
possibly several thousand times, each time through the
loop you are creating a new autoreleased NSBezierPath.
If this is the case, you should include
NSAutoreleasePool and drain or fr
"If all the code you're using is present, it looks to
me like you're not releasing the object pointed at by
image; the object returned by imageWithData is not an
auto-released object."
I just checked documentation
(http://developer.apple.com/documentation/GraphicsImaging/Reference/QuartzCoreFrame
>> But there is no initialization method for a
>> NSTextField. How can I
>> create a NSTextField? Just alloc?
> NSTextField is a subclass of NSControl. Use
> [[NSTextView >alloc] - initWithFrame:]. Then use
> -addSubview: on your window's -contentView. And
since
> your NSTextView is not instantiat