In order to visually differentiate between different types of windows, several predefined types of window frame exist.
| window-type window | Function |
| Returns a symbol naming the frame type currently associated with window. |
These frame types currently include the following:
default
transient
shaped
shaped-transient
shaped and transient types, normally
just a very small title border with no text.
shaded
shaded-transient
unframed
nil-frame variable contains a null frame that may be used for
this frame type.
| define-frame-type-mapper fun | Function |
|
Function fun maps from {window, frame-type} to
frame-type.
Each time we want to determine a window's 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 |
| window-type-add-border type | Function |
| window-type-add-title type | Function |
| window-type-remove-border type | Function |
| window-type-remove-title type | Function |
Given a window type of type, return the closest matching window
type with the given property change. For example:
(window-type-add-title 'unframed)
=> 'shaped
This is because shaped windows normally have title bars but not borders, while unframed windows normally have neither. |
| frame-type-menu window | Function |
| 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.
| call-after-state-changed states fun | Function |
Arrange for function fun to be called with arguments
(window changed-states) when one of the states defined by the
list of symbols states has been changed. States may also
be a single symbol.
|