• 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: Inactive notification
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Inactive notification


  • Subject: Re: Inactive notification
  • From: Guillaume Rager <email@hidden>
  • Date: Thu, 20 Mar 2003 09:20:28 +0100
  • Organization: GumiTech

On Thu, 20 Mar 2003 01:03:22 +0300, Oleg Svirgstin wrote:
> Bonjour Guillaume!
> Hi list!
>
> I may be wrong, but it seems there is NO such notification.
> However, there are apples, Apple and Big Apple.
>
> What widgets do you mean? (subclasses of NSControl? of NSView?)
> What do you mean by "becoming inactive"?

Well, you're right, i mean subclasses of NSControl/NSView, especially
subclasses of NSButton. Subclasses must have an aqua look. I already
catch the NSControlTintNotification to switch from blue to graphite and
so on. But when this button is not on a main/key window, button must
become "inactivated" (better than inactive isn't it ?) which is a mix
of neutral look and disabled state. Unfortunately, it seems there is NO
notifications, i think we must play with window notifications...

>
> If it is enabled/disabled state, generally it is either our code's
> responsibilityto set it up, or it is the job to be done with a help of
> action messages sent from the "widget". It is one of purposes action
> connections serve for.
>
> Scarcely you mean drawing focus, but there is a notification defined in
> NSView sent when a view loses focus for any reason but unlockFocus.
>
> If you mean first responder status, it is another story again.
>
> What do you mean by "widgets"?
> What do you mean by their "inactive state"?
>
> IMHO: Programming (though a kind of modern art :^) ) is a very exact craft
> in its basics, where getting useful answers strongly depends on proper use
> of proper terminology.
>
> Well, I must be completely wrong, as usual :(

Thank you for answer !!!

Guillaume

-----
GUMITECH - R&D Unit - La Rochelle (France)
http://www.gumitech.com

"Chaud cocoa, chaud chocolat !!!"
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

References: 
 >Re: Inactive notification (From: Oleg Svirgstin <email@hidden>)

  • Prev by Date: Re: NSString array to -> char**
  • Next by Date: Re: NSTextField
  • Previous by thread: Re: Inactive notification
  • Next by thread: [OT] PB to Editor
  • Index(es):
    • Date
    • Thread