Discuz! Board

 找回密码
 立即注册
搜索
热搜: 活动 交友 discuz
查看: 808|回复: 0
打印 上一主题 下一主题

WebView

[复制链接]

1272

主题

2067

帖子

7960

积分

认证用户组

Rank: 5Rank: 5

积分
7960
跳转到指定楼层
楼主
发表于 2023-3-15 13:30:20 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
https://webview.dev/

A tiny cross-platform webview library to create a common HTML5 UI abstraction layer frontend with your favorite programming language as the backend!

This library is written in C/C++ and has bindings for many others. See the sidebar for an API reference in each specific language.

It supports two-way JavaScript bindings (to call JavaScript from the backend-language and to call the backend-language from JavaScript).

It uses Cocoa/WebKit on macOS, gtk-webkit2 on Linux and Edge on Windows 10.

Dependencies

Windows

  • Windows 10 SDK via Visual Studio Installer
  • C++ support via Visual Studio Installer
  • See Microsoft Docs for more info

Ubuntu

  • sudo apt install webkit2gtk-4.0
  • Try webkit2gtk-4.0-dev if webkit2gtk-4.0 is not found

OpenBSD

FreeBSD

  • pkg install webkit2-gtk3

MacOS

  • Just build it!

回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

QQ|Archiver|手机版|小黑屋|firemail ( 粤ICP备15085507号-1 )

GMT+8, 2024-11-23 15:48 , Processed in 0.059304 second(s), 20 queries .

Powered by Discuz! X3

© 2001-2013 Comsenz Inc.

快速回复 返回顶部 返回列表