Tk_ClearSelection(3tk)
π NAME π
okay so bestie, welcome to the Tk Library Procedures page for Tk_ClearSelection(3tk) β¨ This one is all about deselecting a selection. Periodt.
β¨ 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 the selection to be cleared. Slay, that's the target π―
πΈ DESCRIPTION πΈ
Tk_ClearSelection cancels the selection specified by the atom selection for the display containing tkwin. The selection doesn't have to live in tkwin itself, or even in tkwin's application β it's giving "not my window, not my problem" but make it selection drama π
.
If there is a window anywhere on tkwin's display that owns selection, that 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 β literally nothing happens, no cap π.
π KEYWORDS π
clearselection
mwah π that's the whole vibe. This was Tk 4.0, manual page Tk_ClearSelection(3tk) β bye bestie, go clear those selections responsibly π«Άβ¨
π¦ where this page comes from
- debian trixie: tk9.0-doc 9.0.1-3
- ubuntu questing: tk9.0-doc 9.0.2-1
- ubuntu resolute: tk9.0-doc 9.0.3-1
- ubuntu stonking: tk9.0-doc 9.0.4-1
- 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 on : a language model's rewrite of the original, under its terms