Function
Returns a frame of the specified type, creating one if necessary.
find-frame frame-class #rest initargs #key create? activate? own-thread? port frame-manager test #all-keys => frame
<object>.
<object>.
<boolean>. Default value: #t.
<boolean>. Default value: #t.
<boolean>. Default value: #t.
<port>.
<frame-manager>.
<function>. Default value: identity.
<frame>.
duim-frames
duim-frames
This function creates a frame of the specified type if one does not already exist, and then runs it, possibly in its own thread. If one already exists, then it is selected.
The frame-class argument specifies the class of frame that is being searched for. By default, if a match is not found, then an instance of this class will be created.
The init-args supplied are the slot values that should be passed to the instance of frame-class. Either an existing frame must be found that has the specified slot values, or a new one will be created.
If create? is #f, then a new frame will not be created if it does not already exist.
If own-thread? is true, the frame will run in its own thread if one is created.
The port and frame-manager arguments specify a port and frame manager which control the frame being searched for, or under the control of which a new frame should be created.
If desired, you can supply a test which must evaluate to true for a frame to match successfully.