vgtk 0.3.0

A declarative UI framework for GTK
Documentation
use glib::{signal::SignalHandlerId, Object};

use crate::{scope::Scope, Component};

pub struct VHandler<Model: Component> {
    pub name: &'static str,
    pub id: &'static str,
    pub set: Box<dyn Fn(&Object, &Scope<Model>) -> SignalHandlerId>,
}