## Tcl8.6.17/Tk8.6.17 Documentation > Tk C API > ClrSelect

### Tcl/Tk Applications | Tcl Commands | Tk Commands | [incr Tcl] Package Commands | SQLite3 Package Commands | TDBC Package Commands | tdbc::mysql Package Commands | tdbc::odbc Package Commands | tdbc::postgres Package Commands | tdbc::sqlite3 Package Commands | Thread Package Commands | Tcl C API | Tk C API | [incr Tcl] Package C API | TDBC Package C API

### NAME

Tk_ClearSelection — 選択の解消 Deselect a selection

### SYNOPSIS

#include <tk.h>
Tk_ClearSelection(tkwin, selection)

### 引数 ARGUMENTS

Tk_Window tkwin (入力in)
  この窓を含む表示から選択が解消される｡ The selection will be cleared from the display containing this window.

Atom selection (入力in)
  解消される選択の名前｡　 The name of selection to be cleared.

### 説明 DESCRIPTION

Tk_ClearSelection は tkwin を含む表示器の為の基本子 selection によって指定された選択を解消する｡選択は tkwin 自身内にある必要はなく､また､ tkwin の応用譜内の必要もない｡もし tkwin 上の selection を有する表示器上の何処かに窓がある場合､その窓が通知され選択は解消される｡もし selection についての所有者がその表示器上にない場合､この手続函数は効果を持たない｡ 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
Copyright © 1992-1994 The Regents of the University of California.
Copyright © 1994-1996 Sun Microsystems, Inc.