• 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: Tool Tips for Inactive window...
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Tool Tips for Inactive window...


  • Subject: Re: Tool Tips for Inactive window...
  • From: rajesh <email@hidden>
  • Date: Fri, 20 Feb 2009 15:22:25 +0100

Tooltips are kind of static

Just found out "Always Diplay Tooltips" flag in the IB. I think that refers to the "setAllowsToolTipsWhenApplicationIsInactive:YES" , turning that ON makes things work .. I don't know why it didn't work in the first case..

Thanks Chunk.

~Rajesh


On Feb 20, 2009, at 3:02 PM, Chunk 1978 wrote:

were you setting your tooltips in IB?  were they removed after you
subclassed your panel?

maybe try setting your tooltips programatically?  like:  [myButton
setToolTip:@"button tooltip"];

On Fri, Feb 20, 2009 at 8:19 AM, rajesh <email@hidden> wrote:
Forgot to mention this,
Panel has set of buttons , these buttons toolTip's values are bound to a
controller.


Tool tips showed up until I sub-classed the panel...

~Rajesh

On Feb 20, 2009, at 2:05 PM, rajesh wrote:

Hi all,

As the subject indicates
as a part of application's info panel doesn't become key window....

I tried with setAllowsToolTipsWhenApplicationIsInactive,
but it has no effect on the panel , tool tips doesn't appear ( where as If
I make the window "Key" window it does show up the tool tips)


Any help ?
am I missing any other flag to be set ?

NSPanel is in NIB file (sub-classed)

subclass part
-(void)awakeFromNib{
[self setAllowsToolTipsWhenApplicationIsInactive:YES];
}

-(BOOL)canBecomeKeyWindow
{
      return NO;
}

~Rajesh
_______________________________________________

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

_______________________________________________

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:
email@hidden


This email sent to email@hidden

_______________________________________________

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

_______________________________________________

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


References: 
 >Tool Tips for Inactive window... (From: rajesh <email@hidden>)
 >Re: Tool Tips for Inactive window... (From: rajesh <email@hidden>)
 >Re: Tool Tips for Inactive window... (From: Chunk 1978 <email@hidden>)

  • Prev by Date: Getting the view for a contextual menu
  • Next by Date: Re: Running a timer on a separate thread
  • Previous by thread: Re: Tool Tips for Inactive window...
  • Next by thread: Getting the view for a contextual menu
  • Index(es):
    • Date
    • Thread