mod imp; use glib::Object; use gtk::glib; glib::wrapper! { pub struct DriveMountRow(ObjectSubclass) @extends adw::ActionRow, gtk::Widget, gtk::ListBoxRow, adw::PreferencesRow, @implements gtk::Accessible, gtk::Actionable, gtk::Buildable, gtk::ConstraintTarget; } impl DriveMountRow { pub fn new() -> Self { Object::builder().build() } pub fn new_with_scroll(partitions_scroll: >k::ScrolledWindow) -> Self { Object::builder() .property("partitionscroll", partitions_scroll) .build() } } // ANCHOR_END: mod impl Default for DriveMountRow { fn default() -> Self { Self::new() } }