| Description: |
Sometimes, it's very handy, to be able to suppress a
drag in the -draginitcmd (say, for example, a tree
widget has nodes, which are dragable and others, which
are not, in the logic of the application). It seems,
the current implemention allows this (see proc
DragSite::_init_drag) --- if the -draginitcmd returns
{} instead of the expected 3 elements lists, there is
no error raised, but some explicte cleanup. The
documentation doesn't mention this. I propose, to add
something like
"If the command returns an empty string, the drag will
be suppressed."
at the end of the DragSite:register -draginitcmd
documentation.
|