FROM : Stephan Burlot
DATE : Wed Jan 29 23:12:14 2003
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_removed>
http://www.coriolis.ch/
_______________________________________________
cocoa-dev mailing list | <email_removed>
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.
DATE : Wed Jan 29 23:12:14 2003
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_removed>
http://www.coriolis.ch/
_______________________________________________
cocoa-dev mailing list | <email_removed>
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.
| Related mails | Author | Date |
|---|---|---|
| Steve | Jan 29, 16:05 | |
| Stephan Burlot | Jan 29, 23:12 | |
| Andy Lee | Jan 30, 04:47 |






Cocoa mail archive

