libadwaita 0.9.1

Rust bindings for libadwaita
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
// Take a look at the license at the top of the repository in the LICENSE file.

use crate::TabOverview;
use glib::translate::*;

impl TabOverview {
    #[doc(alias = "adw_tab_overview_setup_extra_drop_target")]
    pub fn setup_extra_drop_target(&self, actions: gdk::DragAction, types: &[glib::Type]) {
        unsafe {
            ffi::adw_tab_overview_setup_extra_drop_target(
                self.to_glib_none().0,
                actions.into_glib(),
                types.to_glib_none().0,
                types.len(),
            )
        }
    }
}