15 Group
The result of this method must be used as the parent frame for each frame in the group.
method
(send a-group: get-frames)
→ (list-of (is-a?/c frame:basic<%>)) Returns the frames in the group.
method
(send a-group: frame-label-changed frame) → void?
frame : (is-a?/c frame:basic<%>) This method is called by frames constructed with frame:basic-mixin when their titles change.Updates the windows menu of each frame in the group.
method
(send a-group: frame-shown/hidden) → void?
This method is called by instances of frame:basic% to notify the frame group that a frame’s visibility is changed.Updates the Windows menus of all of the frames in the frame group.
method
(send a-group: for-each-frame f) → void?
f : ((is-a?/c frame:basic<%>) -> void?) This method applies a function to each frame in the group. It also remembers the function and applies it to any new frames that are added to the group when they are added.See also get-frames.
Applies f to each frame in the group
method
(send a-group: get-active-frame) → (is-a?/c frame:basic<%>)
Returns the frame with the keyboard focus or the first frame in the group.
method
(send a-group: set-active-frame frame) → void?
frame : (is-a?/c frame:basic<%>) Sets the active frame in the group. This method is called by on-activate.
method
(send a-group: insert-frame frame) → void?
frame : (is-a?/c frame:basic<%>) Inserts a frame into the group.
method
(send a-group: remove-frame frame) → void?
frame : (is-a?/c frame:basic<%>) Removes a frame from the group.This removes all of the frames in the group. It does not close the frames. See also on-close-alland can-close-all?.
method
(send a-group: on-close-all) → void?
Call this method to close all of the frames in the group. The function can-close-all? must have been called just before this function and it must have returned #t.Calls the on-close method and the show method (with #f as argument) on each frame in the group.
method
(send a-group: can-close-all?) → boolean?
Call this method to make sure that closing all of the frames in the frame groups is permitted by the user. The function on-close-all is expected to be called just after this method is called.Calls the can-close? method of each frame in the group.
method
(send a-group: locate-file name)
→ (or/c false/c (is-a?/c frame:basic<%>)) name : path? Returns the frame that is editing or viewing the file name.
procedure
procedure
procedure