Change titlecolor from NSWindow
Change titlecolor from NSWindow
- Subject: Change titlecolor from NSWindow
- From: Philippe Heinrich Regenass <email@hidden>
- Date: Mon, 2 Oct 2006 22:33:58 +0200
hello
i try to change the the title color from NSWindow.
i have following code, but i don't know how can i change the color
attribute from this objects...
NSEnumerator *windowViewsEnum = [[[[self contentView] superview]
subviews] objectEnumerator];
id viewObject;
while (viewObject = [windowViewsEnum nextObject])
{
NSLog(@"viewObject: %@", [viewObject className]);
if ([[viewObject className] isEqualToString: @"_NSThemeWidget"])
{
[[viewObject cell] setColor: [NSColor redColor]];
}
}
what can i try?
best regards and thank you
philippe regenass
_______________________________________________
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