KekLib.ListingFrame#

ListingFrame.py

adapted from DDList
at

Recipe11.4.Adding Drag and Drop Reordering to a Tkinter Listbox https://flylib.com/books/en/2.9.1.230/1/

Copyright (c) 2021-2022, Masatsuyo Takahashi, KEK-PF

class ListingFrame(parent, **kw)#

Bases: Frame

A frame with drag’n’drop reordering of entries.

Construct a frame widget with the parent MASTER.

Valid resource names: background, bd, bg, borderwidth, class, colormap, container, cursor, height, highlightbackground, highlightcolor, highlightthickness, relief, takefocus, visual, width.

get_variables()#
get_widget_index(event)#
insert(variable, widget)#
move_to_target(event)#
move_widget_image(event)#
set_source(event)#
swap(i, j)#
update_bind_geometry()#