set_drag_motion_activate


Description:

public void set_drag_motion_activate (bool drag_motion_activate)

Sets whether to activate this on pointer motion during Drag-and-Drop.

This is needed to be able to drag content into the page the item represents, when the sidebar is used as a page switcher. However, it may be unwanted when dropping content onto the item itself, so it can be disabled.

Parameters:

this

a sidebar item

drag_motion_activate

whether to enable the item on drag motion