feat(model): add model for ColumnView
Added model that are GObject for generating values in tables.
This commit is contained in:
@@ -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()
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user