Skip to content

tklistbox...

1 message · Jonne Zutt

#
Hi Rita,

This is the option you are looking for:

Command-Line Name: -exportselection
Database Name: exportSelection
Database Class: ExportSelection
    Specifies whether or not a selection in the widget should also be
the
    X selection. The value may have any of the forms accepted by
    Tcl_GetBoolean, such as true, false, 0, 1, yes, or no. If the
    selection is exported, then selecting in the widget deselects the
    current X selection, selecting outside the widget deselects any
widget
    selection, and the widget will respond to selection retrieval
requests
    when it has a selection. The default is usually for widgets to
export
    selections.

Use it by giving tklistbox the argument exportselection=0.

JeeBee.