Tk Library Source Code

View Ticket
Login
Ticket UUID: 851495
Title: Enable drag and drop by default for ListBox
Type: RFE Version: None
Submitter: sgamon Created on: 2003-11-30 10:04:39
Subsystem: bwidget Assigned To: hobbs
Priority: 5 Medium Severity:
Status: Closed Last Modified: 2004-09-15 03:09:34
Resolution: Closed By: hobbs
    Closed on: 2004-09-14 20:09:34
Description:
I suggest adding two new defaults to ListBox widgets:

    Widget::declare ListBox {
        ...
{-dragenabled      Boolean  1  1}
{-dropenabled      Boolean  1  1}
    }


The latest ListBox has a default for -dropcmd, which
allows you to move list items within the widget. 
However, you have to explicity set -dragenabled and
-dropenabled to true before this starts working.  By
defaulting these options to true, all ListBoxes get the
feature without extra code clutter.
User Comments: hobbs added on 2004-09-15 03:09:34:
Logged In: YES 
user_id=72656

I'm closing this because we would prefer to see tkdnd slated
for the head, which will make all of bwidget's dnd stuff
redundant.