Next: Frame Styles, Previous: Frame Functions, Up: Window Frames
In order to visually differentiate between different types of windows, several predefined types of window frame exist.
Returns a symbol naming the frame type currently associated with window.
These frame types currently include the following:
defaulttransientshapedshaped-transientshaped and transient types, normally
just a very small title border with no text.
shadedshaded-transientunframednil-frame variable contains a null frame that may be used for
this frame type.
Function fun maps from {window, frame-type} to frame-type.
Each time we want to determine a window's frame-type (
shaded,transient, etc.), we calculate an initial frame type withwindow-typeand run the results through each frame type mapper in sequence (most recent to oldest). The frame type returned from the final mapper function is “the” frame type.This sequence of mappers allows us to override window frame types based on window properties. For example, any shaded window has to have
shadedorshaded-transienttype, regardless of what its normal type is.
Given a window type of type, return the closest matching window type with the given property change. For example:
(window-type-add-title 'unframed) => 'shapedThis is because shaped windows normally have title bars but not borders, while unframed windows normally have neither.
Returns a list of frame types, suitable for use by the graphical customizer. The frame type of window is automatically checked.
We provide a function to simplify monitoring of window changes to certain
window states. This monitoring runs on top of the
window-state-change-hook.