libadwaita/tab_bar.rs
1// Take a look at the license at the top of the repository in the LICENSE file.
2
3use crate::TabBar;
4use glib::translate::*;
5
6impl TabBar {
7 #[doc(alias = "adw_tab_bar_setup_extra_drop_target")]
8 pub fn setup_extra_drop_target(&self, actions: gdk::DragAction, types: &[glib::Type]) {
9 unsafe {
10 ffi::adw_tab_bar_setup_extra_drop_target(
11 self.to_glib_none().0,
12 actions.into_glib(),
13 types.to_glib_none().0,
14 types.len(),
15 )
16 }
17 }
18}