1use glib::object::IsA;
6use glib::translate::*;
7use gtk_sys;
8use std::ptr;
9use FlowBox;
10
11pub trait FlowBoxExtManual: 'static {
12 #[cfg(any(feature = "v3_18", feature = "dox"))]
13 fn unbind_model(&self);
14}
15
16impl<O: IsA<FlowBox>> FlowBoxExtManual for O {
17 #[cfg(any(feature = "v3_18", feature = "dox"))]
18 fn unbind_model(&self) {
19 unsafe {
20 gtk_sys::gtk_flow_box_bind_model(
21 self.as_ref().to_glib_none().0,
22 ptr::null_mut(),
23 None,
24 ptr::null_mut(),
25 None,
26 )
27 }
28 }
29}