Previous: Size and Position, Up: Frame Properties


39.2.5 The Name of a Frame (As Opposed to Its Title)

Under X, every frame has a name, which is not the same as the title of the frame. A frame's name is used to look up its resources and does not normally change over the lifetime of a frame. It is perfectly allowable, and quite common, for multiple frames to have the same name.

— Function: frame-name &optional frame

This function returns the name of frame, which defaults to the selected frame if not specified. The name of a frame can also be obtained from the frame's properties. See Frame Properties.

— Variable: default-frame-name

This variable holds the default name to assign to newly-created frames. This can be overridden by arguments to make-frame. This must be a string.