Tk_ClearSelection(3)
๐ฆ Tk_ClearSelection(3) โ Tk Library Procedures ๐ฆ
okay so bestie, welcome to the manual page for Tk_ClearSelection, coming at you from the Tk Library Procedures. Itโs giving โcancel that selectionโ energy, and honestly? iconic. Letโs get into it โจ
๐ธ 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. Like, find the display thattkwinlives on; thatโs the one getting the clear.Atom selection(in) โ the name of the selection to be cleared. yes, youโre telling it which selection to cancel.
๐ DESCRIPTION ๐
Tk_ClearSelection cancels the selection specified by the atom selection for the display containing tkwin. The selection does not need to be in tkwin itself, or even in tkwinโs application โ no cap. If thereโs a window anywhere on tkwinโs display that owns selection, that window gets notified and the selection gets cleared. And if there is no owner for selection on the display? The procedure just has no effect. itโs giving โnothing to clear, nothing happensโ ๐
๐ KEYWORDS ๐
clear, selection
mwah ๐ โ this page is from Tk version 4.0, and itโs literally Tk_ClearSelection(3), bestie. bye ๐ซถ
๐ฆ where this page comes from
- alpine 3.23: tk9-doc 9.0.3-r0 ยท TCL
- alpine 3.24: tk9-doc 9.0.3-r2 ยท TCL
- fedora 43: tk-devel 1:9.0.2-1.fc43 ยท TCL AND HPND-Pbmplus AND CC-BY-SA-3.0 AND MIT-open-group AND MIT
- fedora 43: tk-devel 1:9.0.2-1.fc43 ยท TCL AND HPND-Pbmplus AND CC-BY-SA-3.0 AND MIT-open-group AND MIT
- fedora 44: tk-devel 1:9.0.2-1.fc44 ยท TCL AND HPND-Pbmplus AND CC-BY-SA-3.0 AND MIT-open-group AND MIT
- fedora 44: tk-devel 1:9.0.2-1.fc44 ยท TCL AND HPND-Pbmplus AND CC-BY-SA-3.0 AND MIT-open-group AND MIT
- nixos 26.05: tk 9.0.3
- nixpkgs unstable: tk 9.1.0
- Copyright (c) 1992-1994 The Regents of the University of California
- Copyright (c) 1994-1996 Sun Microsystems, Inc
- ๐ girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms