• 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: Delaying button redraws?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Delaying button redraws?


  • Subject: Re: Delaying button redraws?
  • From: Stephan Burlot <email@hidden>
  • Date: Wed, 29 Jan 2003 23:12:14 +0100

Le Mercredi, 29 jan 2003, ` 16:05 Europe/Zurich, Steve a icrit :

Hi,

[theButton setTitle:theString] seems to force an immediate redisplay of an NSutton.
Is there a way to set a title so it only refreshes next time around the update loop?


Does this work? It should!

[[NSRunLoop currentRunLoop] performSelector:@selector(setTitle:) target: theButton argument: theString order:0 modes:[NSArray arrayWithObject: NSDefaultRunLoopMode]] ;

Stephan Burlot, Coriolis Technologies
Custom Application Development
Email: email@hidden
http://www.coriolis.ch/
_______________________________________________
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.

  • Follow-Ups:
    • Re: Delaying button redraws?
      • From: Andy Lee <email@hidden>
References: 
 >Delaying button redraws? (From: Steve <email@hidden>)

  • Prev by Date: Re: drawing text on a path?
  • Next by Date: [OT] SplitForks and ResMerger?
  • Previous by thread: Delaying button redraws?
  • Next by thread: Re: Delaying button redraws?
  • Index(es):
    • Date
    • Thread