Crates.io | gemview |
lib.rs | gemview |
version | 0.5.2 |
source | src |
created_at | 2022-02-24 12:48:43.33268 |
updated_at | 2022-06-07 04:31:48.790475 |
description | A Gemini protocol browser in a Gtk+ (v4) widget |
homepage | |
repository | https://codeberg.org/jeang3nie/gemview |
max_upload_size | |
id | 538499 |
size | 126,503 |
GemView is a gemini protocol browser widget for gtk+ (version 4) implemented in Rust.
data://
url's[dependencies]
gemview = 0.2.0
[dependencies.gtk]
version = "~0.4"
package = "gtk4"
use gemview::GemView;
use gtk::prelude::*;
let browser = GemView::default();
let scroller = gtk::builders::ScrolledWindowBuilder::new()
.child(&browser)
.hexpand(true)
.vexpand(true)
.build();
let window = gtk::builders::WindowBuilder::new()
.child(&scroller)
.title("GemView")
.build()
window.show();
browser.visit("gemini://gemini.circumlunar.space");