logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

Tk_ClearSelection - Deselect a 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 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

Tk                                                     4.0                                Tk_ClearSelection(3tk)

Name

       Tk_ClearSelection - Deselect a selection

Synopsis

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

See Also