ClrSelect(3)

ClrSelect3

Deselect a selection

Usage

#include <tk.h>

Tk_ClearSelection(tkwin, selection)

Arguments

The selection will be cleared from the display containing this window. The name of selection to be cleared.

Overview

Tk_ClearSelection cancels the selection specified by the atom selection for the display containing tkwin. The selection need not be in tkwin itself or even in tkwin's application. If there is a window anywhere on tkwin's display that owns selection, the window will be notified and the selection will be cleared. If there is no owner for selection on the display, then the procedure has no effect.

Keywords

clear, selection

Releases

109 releases since Mac OS X 10.4; the text changed 1 time.

  1. 10.4–10.4.2
  2. 10.6–26.5

From tcl 152 in macOS 26.5. Parsed by carta from the page's man source.