pika-installer-gtk4/src/drive_mount_row/mod.rs

22 lines
484 B
Rust
Raw Normal View History

2024-02-11 15:39:32 +01:00
mod imp;
use glib::Object;
use gtk::glib;
glib::wrapper! {
2024-02-11 19:02:16 +01:00
pub struct DriveMountRow(ObjectSubclass<imp::DriveMountRow>)
2024-02-11 15:39:32 +01:00
@extends adw::ActionRow, gtk::Widget, gtk::ListBoxRow, adw::PreferencesRow,
@implements gtk::Accessible, gtk::Actionable, gtk::Buildable, gtk::ConstraintTarget;
}
2024-02-11 19:02:16 +01:00
impl DriveMountRow {
2024-02-11 15:39:32 +01:00
pub fn new() -> Self {
Object::builder().build()
}
2024-02-11 19:02:16 +01:00
}
impl Default for DriveMountRow {
fn default() -> Self {
Self::new()
}
2024-02-11 15:39:32 +01:00
}