2024-10-03 12:04:58 +01:00
2024-10-03 12:04:58 +01:00
2024-10-03 08:09:39 +01:00
2024-10-03 12:02:23 +01:00
2024-10-03 08:04:52 +01:00
2024-10-03 08:09:39 +01:00
2024-10-03 11:59:59 +01:00

WebView

WebView adds support for embedding a (you guessed it)webview into GNOME apps built using Adwaita For Swift

Table of Contents

Installation

Dependencies

Install webkitgtk6.0-dev or similar (based on the package manager) as well as gtk4-devel and libadwaita-dev (or similar).

Examples

  • Debian and derivatives
    sudo apt install libadwaita-1-dev libwebkitgtk-6.0-dev libgtk-4-dev
    
  • Fedora and derivatives
    sudo dnf install libadwaita-devel webkitgtk6.0-devel gtk4-devel
    

Swift Package

  1. Open your Swift package in GNOME Builder, or any other IDE.
  2. Open the Package.swift file.
  3. Into the Package initializer, under dependencies, paste:
.package(url: "https://github.com/Zaphik/AdwaitaWebViewSwift", branch: "main")   

Usage

Take a look at the simple sample app. Check out the Adwaita packages.

Thanks

Dependencies

Other Thanks

Description
No description provided
Readme 61 KiB
Languages
Swift 99.4%
C 0.6%