1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
use crate::widget::NWidget;
use crate::window::Attributes;
pub struct NButton {
attributes: Attributes
}
impl NWidget for NButton {
fn classname(self) -> String {
"BUTTON".to_string()
}
fn attributes(self) -> Attributes {
self.attributes
}
}