Previous: , Up: Window Frames   [Contents][Index]


10.8 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).

Function: add-frame-class window class

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

Function: frame-class-removed-p window class

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

Function: remove-frame-class window class

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