This repository has been archived on 2025-03-27. You can view files and clone it, but cannot push or open issues or pull requests.
AIT/src/model/mod.rs

21 lines
357 B
Rust

pub mod builder_traits;
pub mod models;
use crate::gtk::glib;
use glib::Object;
glib::wrapper! {
pub struct Frequency(ObjectSubclass<models::Frequency>);
}
impl Frequency {
pub fn new(frequency: f64) -> Self {
Object::builder().property("frequency", frequency).build()
}
pub fn default() -> Self {
Object::new()
}
}