Gtk.ToolItem.prototype.set_use_drag_window

function set_use_drag_window(use_drag_window:Boolean):void {
    // Gjs wrapper for gtk_tool_item_set_use_drag_window()
}

Sets whether tool_item has a drag window. When true the toolitem can be used as a drag source through Gtk.drag_source_set. When tool_item has a drag window it will intercept all events, even those that would otherwise be sent to a child of tool_item.

Since 2.4

use_drag_window

Whether tool_item has a drag window.