set-window-button!

Name

set-window-button! -- Set the visibility of button number N on window WIN.

Synopsis

(set-window-button! n flag #&optional win)

Description

Set the visibility of button number n on window win. If flag is #t, the button will be visible, otherwise it won't be drawn. win defaults to the window context in the usual way if not specified. (note: the titlebar will not expand if you disable a button via this procedure -- the decoration code is still far from perfect.)

Implementation Notes

Module: Built-in Primitive

Defined in src/window.c at line 3802 (CVS log)