Re: [NSDrawer] Why isn't my default button blue+pulsing?
Re: [NSDrawer] Why isn't my default button blue+pulsing?
- Subject: Re: [NSDrawer] Why isn't my default button blue+pulsing?
- From: Julian <email@hidden>
- Date: Sun, 5 Jun 2005 06:15:07 -0400
I'm not sure there is a "proper" way to allow this, here are too images:
Both images are of 2 windows, the one that is "glowing" is "key" the
other is not. This is just like the Window<->Drawer scenario, You
would have to make the window "think" that it is "key" in order for
the event-loop to draw properly. Sounds pretty hackish. :D
~Julian
On Jun 5, 2005, at 6:01 AM, Frédéric BLANC wrote:
Well, because the NSDrawer's owner retains key, which is the problem.
1st of all, thanks Julian for the quickest-than-light answer :) !
However I'm not sure to understand what the next step I've got to take
to end w/ the expected result is… Could you please tell me a little
bit more? Indeed, is it possible for a drawer to become key (didn't
find a method to do so); or is its parent window going to always have
the good part :) ? Thx.
Note: In the meantime, I've been able to get the blue flavour back ;)
! I've added an outlet for my "Submit" button; and then called
window.setDefaultButtonCell((NSButtonCell)submitButton.cell()) in
awakeFromNib(). But it's not pulsing… yet :) ! I don't know if I'm
taking the best approach (sigh), but I am getting closer…
--
— Frederic BLANC (email@hidden)
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden