• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Change titlecolor from NSWindow
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Change titlecolor from NSWindow


  • Subject: Re: Change titlecolor from NSWindow
  • From: Marcus Karlsson <email@hidden>
  • Date: Tue, 3 Oct 2006 16:26:36 +0200

But just in case that a black background on the toolbar would be a good idea, how would one do to change the title color?

On 2 okt 2006, at 23.09, John Stiles wrote:

Err, maybe you shouldn't use a black background on the toolbar :)

On Oct 2, 2006, at 1:57 PM, Philippe Heinrich Regenass wrote:

hi

i have a toolbar with black background. black on black i'ts not verry good readable ;-)


Am 02.10.2006 um 22:45 schrieb Ricky Sharp:


On Oct 2, 2006, at 3:33 PM, Philippe Heinrich Regenass wrote:

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?

Why do you need to do this?

___________________________________________________________
Ricky A. Sharp         mailto:email@hidden
Instant Interactive(tm)   http://www.instantinteractive.com


_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
40blizzard.com


This email sent to 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

_______________________________________________ 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
References: 
 >Change titlecolor from NSWindow (From: Philippe Heinrich Regenass <email@hidden>)
 >Re: Change titlecolor from NSWindow (From: Ricky Sharp <email@hidden>)
 >Re: Change titlecolor from NSWindow (From: Philippe Heinrich Regenass <email@hidden>)
 >Re: Change titlecolor from NSWindow (From: John Stiles <email@hidden>)

  • Prev by Date: Re: Two lines in a single table column
  • Next by Date: Re: Change titlecolor from NSWindow
  • Previous by thread: Change Color from NSToolbar Icon
  • Next by thread: Re: Change titlecolor from NSWindow
  • Index(es):
    • Date
    • Thread