https://github.com/miyako/4d-plugin-custom-window
Set window transparent on Mac
https://github.com/miyako/4d-plugin-custom-window
4d-plugin
Last synced: 11 months ago
JSON representation
Set window transparent on Mac
- Host: GitHub
- URL: https://github.com/miyako/4d-plugin-custom-window
- Owner: miyako
- License: mit
- Created: 2017-01-27T12:33:57.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2021-03-22T11:26:46.000Z (over 5 years ago)
- Last Synced: 2025-02-26T04:19:19.780Z (over 1 year ago)
- Topics: 4d-plugin
- Language: C
- Homepage:
- Size: 3.66 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 2
-
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-custom-window
Set window transparent on Mac
### Syntax
```
SET WINDOW TRANSPARENT (window)
```
Parameter|Type|Description
------------|------|----
window|LONGINT|The window reference
**Note**: You need to place an invisible button with ``DRAG WINDOW`` to move the window around.
### Examples
```
$window:=Open form window("Form1";Modal form dialog box)
SET WINDOW TRANSPARENT ($window)
DIALOG("Form1")
```

```
SET WINDOW ALPHA (window;alpha;duration)
```
Parameter|Type|Description
------------|------|----
window|LONGINT|The window reference
alpha|REAL|
duration|REAL|
``SET WINDOW ALPHA`` is not thread safe
```
alpha:=Get window alpha (window)
```
Parameter|Type|Description
------------|------|----
window|LONGINT|The window reference
alpha|REAL|