feat(model): add model for ColumnView

Added model that are GObject for generating values in tables.
This commit is contained in:
2024-08-02 01:09:26 +04:00
parent ade98179f7
commit d3787b2283
2 changed files with 39 additions and 0 deletions

View File

@@ -1,2 +1,15 @@
pub mod builder_traits;
pub mod models;
use crate::gtk::glib;
use glib::Object;
glib::wrapper! {
pub struct ResultValue(ObjectSubclass<models::ResultValue>);
}
impl ResultValue {
pub fn new(val: f64) -> Self {
Object::builder().property("value", val).build()
}
}