I’m creating labels in Tcl Tk, but their text is not selectable (for copy-paste). How do I make is selectable?
I crate the labels using:
set n 0
foreach t $list_of_labels {
incrr n
set lbl2 [label .prop_menu.main_frame.val_$n -text $t]
grid $lbl2 ...
}
I solved it by using read only entries, I replaced the creation of the label with:
And was able to create entries that act like labels but are selectable.