Re: Programmatic Toolbar Blinking
Re: Programmatic Toolbar Blinking
- Subject: Re: Programmatic Toolbar Blinking
- From: Richard Somers <email@hidden>
- Date: Fri, 5 Nov 2010 17:05:21 -0600
Hello John,
I show the window like this.
// App controller
- (void)showMyWindow:(id)sender
{
if (!_myWindowController) {
_myWindowController = [[MyWindowController alloc] init];
}
[_myWindowController showWindow:self];
}
I tried installing the toolbar in the window controller's
'awakeFromNib' and got the same results.
The only thing hooked up to the toolbar are the toolbar delegate
methods in the window controller.
The window (actually a panel) in the nib is set to be visible at launch.
It is a very simple window and process. Not much of any thing is
currently going on with the window, just a panel, a toolbar with two
toolbar items, and a NSBox in the window. It has me stumped.
--Richard Somers
On Nov 5, 2010, at 4:31 PM, John Pannell wrote:
No answers, just a datapoint... I looked at a couple of my apps
(which have never had the blinking issue, to my eye): one did the
toolbar assignment in the window controller's awakeFromNib, the
other did it in windowDidLoad.
Not knowing the mechanics of how your window gets on the screen: are
you getting everything toolbar related hooked up before issuing a
showWindow message? Is the window in a nib and set to appear at
launch? Perhaps there is some way you can make sure the toolbar
config is happening before the window gets onscreen.
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden