OSDN Git Service

2010-01-06 Quentin Neill <quentin.neill@amd.com>
[pf3gnuchains/pf3gnuchains3x.git] / tk / ToDo
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 sccsid = SCCS: @(#) ToDo 1.8 96/02/16 10:55:14
7
8 106. Add feature to buttons for automatic defaulting, where button
9 allocates extra space for default ring.
10
11 136. Implement mechanism for using existing window as main window for
12 application, support with command-line argument in wish.
13
14 139. Change canvas Postscript generation to be smarter about font names
15 that have been abbreviated:  use X to look up the full name.
16
17 147. Add "window" entry to menus.
18
19 148. Add an "initProc" and a "freeProc" to TK_CONFIG_CUSTOM config types.
20
21 150. In SYNONYM options, specify a command-line switch for the other
22 option, not a database name.
23
24 153. Some fonts (e.g. Times) have underline characters that extend
25 *below* the official descent of the font.  Right now the underline
26 is invisible for these fonts in text widgets.  Find a way to make
27 this work in text?
28
29 150. Change the bindings for menubuttons to watch mouse motion events
30 and map them to menu or menubutton windows "by hand", so as to eliminate
31 the need for a menu to be a descendant of the menubutton.
32
33 151. Create an I/O event handler so that Tk can continue after a server
34 connection is lost.
35
36 153. Allow Tk applications to be embedded inside other Tk applications:
37     - Allow the window for a widget to be specified explicitly, rather
38       than being created automatically by Tk.  This would allow the
39       main window for one application to use an internal window that
40       already exists in another application.
41     - Modify wish's main.c to allow a window id for the main window to
42       be specified as a command-line argument.
43     - Build a special widget for embedding other applications, which will
44       implement the window-manager side of the ICCCM protocols, e.g.,
45       feeding requested size information up from the embedded application
46       into the enclosing widget hierarchy.
47
48 154. Improvements to canvases:
49     - Allow items to be rotated?
50     - Allow polygons to be outlined.
51     - Make "raise" of window items work correctly.
52     - In the "find" widget option, make it possible to restrict search
53       to a particular tag.
54     - Allow items to become visible/invisible.
55
56 156. Add a "wm anchor" option to make it easier to center windows.
57
58 157. Various improvements to option database:
59     - Allow patterns to be read from database or deleted from database.
60     - Allow database to be cleared without automatically reloading from
61       .Xdefaults files.
62     - Allow additional info to be read from various window properties.
63     - Support new wildcards from X11R5.
64     - Allow mechanism to extend to cover cases where there isn't even
65       a window, or even an application by the name used in the option
66       get command.
67     - Allow options in database to override those specified on Tcl
68       command lines?
69     - Revert to X conflict-resolution scheme?
70
71 158. Make it possible for wish to run without a display.
72
73 159. Change option tables to be arrays of pointers, rather than arrays of
74 entries?  Makes it easier to keep separate named structures for particular
75 options, e.g. so that you can tell when an option has changed.
76
77 160. Change text scrolling so that the top of the window can fall in
78 the middle of a text line.
79
80 161. Allow text tabs to be specified in units of characters, rather
81 than just inches.
82
83 162. Fix tk_strictMotif to make it easier to turn on and off (e.g.
84 conditionalize the binding scripts, rather than the creation of
85 the bindings).
86
87 163. Change text bindings so that Enter and Leave events occur when
88 the mouse moves between disjoint ranges with the same tag.
89
90 164. Provide block insertion cursor in text widgets.