Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Listbox which allows to move entries

28 views
Skip to first unread message

Josef Moellers

unread,
Apr 6, 2013, 7:31:23 AM4/6/13
to
Hi,

I'm looking for a listbox which allows me to move entries, e.g. by
holding the shift key and dragging an entry up or down.

Background is that I'd like to build a ToDo manager which does not rely
on pre-defined priorities and/or due dates but one where I can just
select an item and move it to the top of the list.

TIA,

Josef

Horst-W. Radners

unread,
Apr 6, 2013, 10:48:38 AM4/6/13
to
Josef Moellers schrieb am 06.04.2013 13:31:

> I'm looking for a listbox which allows me to move entries, e.g. by
> holding the shift key and dragging an entry up or down.

I've succesfully used Tk::ListboxDnD

http://search.cpan.org/~gslondon/Tk-ListboxDnD-1.3/Tk/ListboxDnD.pm

for this.

Regards, Horst
--
<remove S P A M 2x from my email address to get the real one>

Josef Moellers

unread,
Apr 6, 2013, 11:02:00 AM4/6/13
to
On 04/06/2013 04:48 PM, Horst-W. Radners wrote:
> Josef Moellers schrieb am 06.04.2013 13:31:
>
>> I'm looking for a listbox which allows me to move entries, e.g. by
>> holding the shift key and dragging an entry up or down.
>
> I've succesfully used Tk::ListboxDnD
>
> http://search.cpan.org/~gslondon/Tk-ListboxDnD-1.3/Tk/ListboxDnD.pm
>
> for this.

Thanks, that's what I was looking for.

The example has a small typo, though: the "selectmode" is missing an
initial '-' ;-)

Josef

0 new messages