home *** CD-ROM | disk | FTP | other *** search
/ InfoMagic Source Code 1993 July / THE_SOURCE_CODE_CD_ROM.iso / languages / tcl / tk3.3b1 / doc / ClrSelect.3 < prev    next >
Encoding:
Text File  |  1993-04-01  |  1.9 KB  |  54 lines

  1. '\"
  2. '\" Copyright (c) 1992 The Regents of the University of California.
  3. '\" All rights reserved.
  4. '\"
  5. '\" Permission is hereby granted, without written agreement and without
  6. '\" license or royalty fees, to use, copy, modify, and distribute this
  7. '\" documentation for any purpose, provided that the above copyright
  8. '\" notice and the following two paragraphs appear in all copies.
  9. '\"
  10. '\" IN NO EVENT SHALL THE UNIVERSITY OF CALIFORNIA BE LIABLE TO ANY PARTY
  11. '\" FOR DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES
  12. '\" ARISING OUT OF THE USE OF THIS DOCUMENTATION, EVEN IF THE UNIVERSITY OF
  13. '\" CALIFORNIA HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  14. '\"
  15. '\" THE UNIVERSITY OF CALIFORNIA SPECIFICALLY DISCLAIMS ANY WARRANTIES,
  16. '\" INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY
  17. '\" AND FITNESS FOR A PARTICULAR PURPOSE.  THE SOFTWARE PROVIDED HEREUNDER IS
  18. '\" ON AN "AS IS" BASIS, AND THE UNIVERSITY OF CALIFORNIA HAS NO OBLIGATION TO
  19. '\" PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS.
  20. '\" 
  21. '\" $Header: /user6/ouster/wish/man/RCS/ClrSelect.3,v 1.3 93/04/01 09:41:08 ouster Exp $ SPRITE (Berkeley)
  22. '\" 
  23. .so man.macros
  24. .HS Tk_ClearSelection tkc
  25. .BS
  26. .SH NAME
  27. Tk_ClearSelection \- Deselect the selection
  28. .SH SYNOPSIS
  29. .nf
  30. \fB#include <tk.h>\fR
  31. .sp
  32. \fBTk_ClearSelection\fR(\fItkwin\fR)
  33. .SH ARGUMENTS
  34. .AS Tk_Window tkwin
  35. .AP Tk_Window tkwin in
  36. The selection will be cleared from the display containing this
  37. window.
  38. .BE
  39.  
  40. .SH DESCRIPTION
  41. .PP
  42. \fBTk_ClearSelection\fR cancels the selection for the display
  43. containing \fItkwin\fR.
  44. The selection need not be in \fItkwin\fR itself or even in
  45. \fItkwin\fR's application.
  46. If there is a window anywhere on \fItkwin\fR's display that
  47. owns the primary selection, the window will be notified and the
  48. selection will be cleared.
  49. If there is no primary selection on the display, then the
  50. procedure has no effect.
  51.  
  52. .SH KEYWORDS
  53. clear, selection
  54.