Skip to content

Commit 6aca73c

Browse files
committed
Add Webview#getNativeWindowPointer
1 parent 16f710f commit 6aca73c

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/main/java/dev/webview/Webview.java

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -118,6 +118,10 @@ public Webview(@Nullable PointerByReference windowPointer) {
118118
this.setSize(800, 600);
119119
}
120120

121+
public long getNativeWindowPointer() {
122+
return N.webview_get_window($pointer);
123+
}
124+
121125
public void loadURL(@Nullable String url) {
122126
if (url == null) {
123127
url = "about:blank";

0 commit comments

Comments
 (0)