mirror of
https://github.com/electron/electron.git
synced 2026-05-02 03:00:22 -04:00
Merge pull request #4023 from omrilitov/master
Added getNativeWindowHandle method
This commit is contained in:
@@ -571,6 +571,12 @@ Enters or leaves the kiosk mode.
|
||||
|
||||
Returns whether the window is in kiosk mode.
|
||||
|
||||
### `win.getNativeWindowHandle()`
|
||||
|
||||
Returns the platform-specific handle of the window in a buffer.
|
||||
Cast it to the appropriate type, such as HWND for Windows, NSView* for OS X or unsigned long for Linux.
|
||||
Used for OS's Native API's for windows.
|
||||
|
||||
### `win.hookWindowMessage(message, callback)` _Windows_
|
||||
|
||||
* `message` Integer
|
||||
|
||||
Reference in New Issue
Block a user