home *** CD-ROM | disk | FTP | other *** search
/ InfoMagic Source Code 1993 July / THE_SOURCE_CODE_CD_ROM.iso / languages / tcl / tk3.3b1 / ToDo < prev    next >
Encoding:
Text File  |  1993-07-07  |  5.8 KB  |  155 lines

  1. This file contains a list of bugs to fix and minor feature changes
  2. needed in the Tk toolkit.  The list is ordered by the time when the
  3. idea for the change first arose;  no priority should be inferred from
  4. the order.
  5.  
  6. 6. Fill in default argument table in tkArgv.c, and document it.
  7.  
  8. 8. Change Tk_Uid stuff so that there's a fast way to tell if a
  9. string is really a Tk_Uid.
  10.  
  11. 10. Write procedure to translate from a string to a Pixmap.
  12.  
  13. 26. Extend "configure" widget command to output the type of the
  14. option (string, color, etc.)?  Or should this be done with the class
  15. field?
  16.  
  17. 28. Need mechanism to change the name of a top-level window.
  18.  
  19. 30. Make "." a frame widget in wish?
  20.  
  21. 47. Add new "option" subcommands to (a) query whole database or
  22. (b) query all the option patterns that match for a particular option
  23. (i.e. don't just return the one that will actually be used).
  24.  
  25. 50. In error-handling code, ignore BadWindow errors if they occur
  26. for a seemingly-legitimate Tk window.
  27.  
  28. 63. Provide way to determine "type" of window (i.e. command under which
  29. it was created) rather than current class?
  30.  
  31. 68. Write manual entries for new exported binding procedures.
  32.  
  33. 75. Change Tk_Uid typedef to prevent confusion with (char *)?
  34.  
  35. 76. Change listbox selection handling to return multiple items separated
  36. by newlines rather than as a Tcl list?
  37.  
  38. 81. For check and radio buttons, change "command" config to separate
  39. commands invoked when button becomes selected/deselected?
  40.  
  41. 86. Change "tkVersion" variable to "tk_version" for consistency.
  42.  
  43. 89. Eliminate hard-wired behavior for scales and scrollbars:  use class
  44. bindings instead.
  45.  
  46. 92. Add mechanism for interposing constraints in geometry management,
  47. e.g. to allow a collection of buttons to all request same width (for
  48. tables) or to provide a generic mechanism for padding widgets internally.
  49.  
  50. 93. Add way to find out which geometry manager "owns" a particular
  51. window.  Also, Tk_SetInternalBorder isn't notify geometry managers
  52. correctly (it assumes that slaves are children).  Also, it would be
  53. nice to have a callback to notify a geometry manager if one of its
  54. slaves is taken away from it by another geometry manager.
  55.  
  56. 98. Add Tk command to compute the bbox of a given text string in a given
  57. font?
  58.  
  59. 100. Extend scrollbar "set" command so that arrow increment can be set
  60. explicitly.  Or, change scrollbar interface completely so that the
  61. scrollbar only gets two numbers giving slider position, and sends
  62. commands of the form "foo scroll up1" or "foo scroll upScreen".
  63.  
  64. 101. Eliminate TK_DONT_WAIT option to Tk_DoOneEvent.
  65.  
  66. 103. Get image displaying widget from Paul Mackerras (paulus@cs.anu.edu.au)
  67. and incorporate into Tk.
  68.  
  69. 105. Eliminate the "activate" and "deactivate" commands for buttons
  70. and menu buttons.
  71.  
  72. 106. Add feature to buttons for automatic defaulting, where button
  73. allocates extra space for default ring.
  74.  
  75. 107. Eliminate the "disable" and "enable" commands for menus.
  76.  
  77. 108. Change Tk_GetAtomName to return NULL instead of "?bad atom?".
  78.  
  79. 110. Extend bitmaps to allow direct specification (#0xffff ...)
  80.  
  81. 114. Change default so that windows are normally resizable?
  82.  
  83. 115. Change Tk_GetSelection to look in the cut buffer if no selection
  84. can be found.
  85.  
  86. 117. Implement a mechanism for retrieving just the value of a configuration
  87. option, without all the other stuff (name, default, etc.).  Perhaps
  88. a "cvalue" widget command?
  89.  
  90. 124. Remove "-geometry" option from all widgets, and use "-width" and
  91. "-height" instead.
  92.  
  93. 128. Scroll windows when selecting off edge of window (do for listboxes,
  94. entries, and text)?
  95.  
  96. 129. Add keyboard traversal to text and listboxes.
  97.  
  98. 131. Should new characters in text widget get tags of character they
  99. precede or character they follow (currently it's "follow")?  Or neither?
  100.  
  101. 132. Extend "option" command to make it possible to retrieve the original
  102. resource pattern specs.
  103.  
  104. 134. Allow upper-left character in text not to be the first character
  105. of a line: otherwise, with very long line and small window, won't be
  106. able to view the end of a line.
  107.  
  108. 136. Implement mechanism for using existing window as main window for
  109. application, support with command-line argument in wish.
  110.  
  111. 137. Modify default bindings so that they can handle multiple mice working
  112. simultaneously on different displays (right now there is a single variable
  113. that keeps track of the active window, for example).
  114.  
  115. 138. Add packer option not to set requested geometry for parent window?
  116.  
  117. 139. Change canvas Postscript generation to be smarter about font names
  118. that have been abbreviated:  use X to look up the full name.
  119.  
  120. 140. Canvas Postscript isn't stippling text like it should:  the code
  121. seems not to have been written at all.
  122.  
  123. 141. Change "send" code to be cleverer about reclaiming names of dead
  124. interpreters.  E.g. check for duplicate window names in the registry
  125. or check for a unique-id property on the commWindow.
  126.  
  127. 142. Need to add "-displayfor" option to the following commands:
  128. focus, selection, send.
  129.  
  130. 143. There are tricky issues about send and multiple displays.  Does
  131. some name get registered for a top-level window on a new display?  If
  132. so, how to deal with multiple different names for application?  If not,
  133. can this window be sent to by other applications on its display?
  134.  
  135. 144. In text widgets, if you backspace over a newline, the caret sometimes
  136. leaves garbage at the left edge of its previous (lower) line.
  137.  
  138. 145. Incorporate Mark Diekhans' "addinput" or something like it.
  139.  
  140. 146. Change main.c to use "name" to set the class, instead of Tk.
  141.  
  142. 147. Add "window" entry to menus.
  143.  
  144. 148. Add an "initProc" and a "freeProc" to TK_CONFIG_CUSTOM config types.
  145.  
  146. 149. Remove Tcl_PrintDouble override macro in tkInt.h.
  147.  
  148. 150. In SYNONYM options, specify a command-line switch for the other
  149. option, not a database name.
  150.  
  151. 151. Rename "pack newinfo" to "pack info".
  152.  
  153. 152. Make canvas window items restack in response to canvase "raise"
  154. and "lower" commands.
  155.