<vizinfo>.drag

Set whether the info box can be dragged using the title bar

 

<vizinfo>.drag(
    mode    

)

 

mode

This can be either viz.ON or viz.OFF


Remarks

When dragging is enabled, the user can click and drag on the info box title bar to move it around the screen. Dragging is turned OFF by default.

Return Value

None

Example

import vizinfo
info = vizinfo.add('Info')
info.title('Title')
info.drag(viz.ON)