Node: Removing Frame Parts, Previous: Themes, Up: Window Frames



Removing Frame Parts

It is often useful to be able to disable certain parts of a window's frame. For example, a window may hint to the window manager that it doesn't want a maximize button. Sawfish allows all parts of a particular class to be disabled or enabled on a window by window basis. However, not all frame styles will support this (it depends on the frame part's removable property, Frame Part Definition).

add-frame-class window class Function
Enable all frame parts that are a member of class in window.

frame-class-removed-p window class Function
Returns t if the frame part class has been removed from window, nil otherwise.

remove-frame-class window class Function
Disable all frame parts that are a member of class in window where possible.