gtk4/auto/
custom_sorter.rs

1// This file was generated by gir (https://github.com/gtk-rs/gir)
2// from gir-files (https://github.com/gtk-rs/gir-files)
3// DO NOT EDIT
4
5use crate::{ffi, Sorter};
6
7glib::wrapper! {
8    /// [`CustomSorter`][crate::CustomSorter] is a [`Sorter`][crate::Sorter] implementation that sorts via a callback
9    /// function.
10    ///
11    /// # Implements
12    ///
13    /// [`SorterExt`][trait@crate::prelude::SorterExt], [`trait@glib::ObjectExt`]
14    #[doc(alias = "GtkCustomSorter")]
15    pub struct CustomSorter(Object<ffi::GtkCustomSorter, ffi::GtkCustomSorterClass>) @extends Sorter;
16
17    match fn {
18        type_ => || ffi::gtk_custom_sorter_get_type(),
19    }
20}
21
22impl CustomSorter {}