home *** CD-ROM | disk | FTP | other *** search
/ InfoMagic Source Code 1993 July / THE_SOURCE_CODE_CD_ROM.iso / languages / tcl / tk3.3b1 / doc / lbSingSel.n < prev    next >
Encoding:
Text File  |  1993-04-01  |  2.0 KB  |  48 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/lbSingSel.n,v 1.3 93/04/01 09:52:43 ouster Exp $ SPRITE (Berkeley)
  22. '/" 
  23. .so man.macros
  24. .HS tk_listboxSingleSelect tk
  25. .BS
  26. '\" Note:  do not modify the .SH NAME line immediately below!
  27. .SH NAME
  28. tk_listboxSingleSelect \- Allow only one selected element in listbox(es)
  29. .SH SYNOPSIS
  30. \fBtk_listboxSingleSelect \fIarg \fR?\fIarg arg ...\fR?
  31. .BE
  32.  
  33. .SH DESCRIPTION
  34. .PP
  35. This command is a Tcl procedure provided as part of the Tk script library.
  36. It takes as arguments the path names of one or more listbox widgets,
  37. or the value \fBListbox\fR.
  38. For each named widget, \fBtk_listboxSingleSelect\fR modifies the
  39. bindings of the widget so that only a single element may be selected
  40. at a time (the normal configuration allows multiple elements to be
  41. selected).
  42. If the keyword \fBListbox\fR is among the \fIwindow\fR arguments,
  43. then the class bindings for listboxes are changed so that all
  44. listboxes have the one-selection-at-a-time behavior.
  45.  
  46. .SH KEYWORDS
  47. listbox, selection
  48.