Re: Getting the value of GUI elements from non-main threads

2009-02-04 Thread Cem Karan
On Feb 4, 2009, at 4:10 PM, Ken Thomases wrote: On Feb 4, 2009, at 2:47 PM, Cem Karan wrote: I know that we can only modify GUI elements from the main thread, but can we get the values for objects from other than the main thread? E.g., assume I have an editable NSTextField, and I have a

Re: Getting the value of GUI elements from non-main threads

2009-02-04 Thread Quincey Morris
On Feb 4, 2009, at 13:10, Ken Thomases wrote: On Feb 4, 2009, at 2:47 PM, Cem Karan wrote: I know that we can only modify GUI elements from the main thread, but can we get the values for objects from other than the main thread? E.g., assume I have an editable NSTextField, and I have a wo

Re: Getting the value of GUI elements from non-main threads

2009-02-04 Thread Ken Thomases
On Feb 4, 2009, at 2:47 PM, Cem Karan wrote: I know that we can only modify GUI elements from the main thread, but can we get the values for objects from other than the main thread? E.g., assume I have an editable NSTextField, and I have a worker thread. The user edits the field, clicks a

Getting the value of GUI elements from non-main threads

2009-02-04 Thread Cem Karan
I know that we can only modify GUI elements from the main thread, but can we get the values for objects from other than the main thread? E.g., assume I have an editable NSTextField, and I have a worker thread. The user edits the field, clicks a button, and the main thread hands off the an