1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
use crate::ListBox;
use glib::translate::*;
use std::ptr;
impl ListBox {
#[doc(alias = "gtk_list_box_bind_model")]
#[doc(alias = "bind_model")]
pub fn unbind_model(&self) {
unsafe {
ffi::gtk_list_box_bind_model(
self.to_glib_none().0,
ptr::null_mut(),
None,
ptr::null_mut(),
None,
)
}
}
#[doc(alias = "gtk_list_box_set_filter_func")]
#[doc(alias = "set_filter_func")]
pub fn unset_filter_func(&self) {
unsafe {
ffi::gtk_list_box_set_filter_func(self.to_glib_none().0, None, ptr::null_mut(), None)
}
}
#[doc(alias = "gtk_list_box_set_header_func")]
#[doc(alias = "set_header_func")]
pub fn unset_header_func(&self) {
unsafe {
ffi::gtk_list_box_set_header_func(self.to_glib_none().0, None, ptr::null_mut(), None)
}
}
#[doc(alias = "gtk_list_box_set_sort_func")]
#[doc(alias = "set_sort_func")]
pub fn unset_sort_func(&self) {
unsafe {
ffi::gtk_list_box_set_sort_func(self.to_glib_none().0, None, ptr::null_mut(), None)
}
}
}