https://github.com/miyako/4d-plugin-window-button
Control the state of standard window buttons: close, zoom, miniaturise
https://github.com/miyako/4d-plugin-window-button
4d-plugin
Last synced: 7 days ago
JSON representation
Control the state of standard window buttons: close, zoom, miniaturise
- Host: GitHub
- URL: https://github.com/miyako/4d-plugin-window-button
- Owner: miyako
- License: mit
- Created: 2017-06-08T01:38:00.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2021-03-25T02:31:29.000Z (over 5 years ago)
- Last Synced: 2025-02-26T04:17:33.971Z (over 1 year ago)
- Topics: 4d-plugin
- Language: C
- Homepage:
- Size: 1.32 MB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README


[](LICENSE)

**Note**: for v17 and earlier, move `manifest.json` to `Contents`
# 4d-plugin-window-button
Control the state of standard window buttons: close, zoom, miniaturise
**deprecated**
See [4d-plugin-window-control-v2](https://miyako.github.io/2019/10/01/4d-plugin-window-control-v2.html)
### Related projects
* https://github.com/miyako/4d-plugin-window-icon
* https://github.com/miyako/4d-plugin-carbon-window-manager
## Syntax
```
WINDOW SET ENABLED (window;kind;enabled)
enabled:=WINDOW Get enabled (window;kind)
```
Parameter|Type|Description
------------|------|----
window|LONGINT|The window reference
kind|LONGINT|``Window Button Types``
### Window Button Types
```c
Window close button 0
Window minimize button 1
Window zoom button 2
Window document modified 3
```