Pratt 1.5.6
Sign up to get free protection for your applications and to get access to all the features.
- data/.exrc +61 -0
- data/.gitignore +4 -0
- data/History.txt +6 -0
- data/Manifest.txt +46 -0
- data/Pratt.gemspec +351 -0
- data/README.txt +66 -0
- data/Rakefile +85 -0
- data/TODO +54 -0
- data/VERSION +1 -0
- data/bin/pratt.rb +13 -0
- data/config.rb +34 -0
- data/lib/pratt.rb +527 -0
- data/lib/pratt/array.rb +11 -0
- data/lib/pratt/string.rb +18 -0
- data/models/app.rb +40 -0
- data/models/customer.rb +24 -0
- data/models/payment.rb +22 -0
- data/models/pratt.rb +19 -0
- data/models/project.rb +82 -0
- data/models/whence.rb +70 -0
- data/pkgs/tile-0.8.2.tar.gz +0 -0
- data/pkgs/tile-0.8.2/ANNOUNCE.txt +95 -0
- data/pkgs/tile-0.8.2/ChangeLog +4651 -0
- data/pkgs/tile-0.8.2/Makefile +250 -0
- data/pkgs/tile-0.8.2/Makefile.in +250 -0
- data/pkgs/tile-0.8.2/README.txt +86 -0
- data/pkgs/tile-0.8.2/aclocal.m4 +2 -0
- data/pkgs/tile-0.8.2/altTheme.o +0 -0
- data/pkgs/tile-0.8.2/blink.o +0 -0
- data/pkgs/tile-0.8.2/button.o +0 -0
- data/pkgs/tile-0.8.2/cache.o +0 -0
- data/pkgs/tile-0.8.2/clamTheme.o +0 -0
- data/pkgs/tile-0.8.2/classicTheme.o +0 -0
- data/pkgs/tile-0.8.2/config.log +1330 -0
- data/pkgs/tile-0.8.2/config.status +795 -0
- data/pkgs/tile-0.8.2/configure +15248 -0
- data/pkgs/tile-0.8.2/configure.in +89 -0
- data/pkgs/tile-0.8.2/demos/autocomplete.tcl +59 -0
- data/pkgs/tile-0.8.2/demos/demo.tcl +870 -0
- data/pkgs/tile-0.8.2/demos/dirbrowser.tcl +167 -0
- data/pkgs/tile-0.8.2/demos/dlgtest.tcl +97 -0
- data/pkgs/tile-0.8.2/demos/iconlib.tcl +110 -0
- data/pkgs/tile-0.8.2/demos/repeater.tcl +117 -0
- data/pkgs/tile-0.8.2/demos/toolbutton.tcl +101 -0
- data/pkgs/tile-0.8.2/doc/Geometry.3 +230 -0
- data/pkgs/tile-0.8.2/doc/INDEX.MAP +153 -0
- data/pkgs/tile-0.8.2/doc/Makefile +36 -0
- data/pkgs/tile-0.8.2/doc/TILE.XML +45 -0
- data/pkgs/tile-0.8.2/doc/Theme.3 +34 -0
- data/pkgs/tile-0.8.2/doc/button.n +75 -0
- data/pkgs/tile-0.8.2/doc/checkbutton.n +61 -0
- data/pkgs/tile-0.8.2/doc/combobox.n +98 -0
- data/pkgs/tile-0.8.2/doc/converting.txt +97 -0
- data/pkgs/tile-0.8.2/doc/dialog.n +122 -0
- data/pkgs/tile-0.8.2/doc/entry.n +438 -0
- data/pkgs/tile-0.8.2/doc/frame.n +43 -0
- data/pkgs/tile-0.8.2/doc/html/Geometry.html +304 -0
- data/pkgs/tile-0.8.2/doc/html/Theme.html +48 -0
- data/pkgs/tile-0.8.2/doc/html/button.html +120 -0
- data/pkgs/tile-0.8.2/doc/html/category-index.html +18 -0
- data/pkgs/tile-0.8.2/doc/html/checkbutton.html +94 -0
- data/pkgs/tile-0.8.2/doc/html/combobox.html +164 -0
- data/pkgs/tile-0.8.2/doc/html/converting.txt +97 -0
- data/pkgs/tile-0.8.2/doc/html/dialog.html +159 -0
- data/pkgs/tile-0.8.2/doc/html/entry.html +613 -0
- data/pkgs/tile-0.8.2/doc/html/frame.html +76 -0
- data/pkgs/tile-0.8.2/doc/html/image.html +100 -0
- data/pkgs/tile-0.8.2/doc/html/index.html +25 -0
- data/pkgs/tile-0.8.2/doc/html/keyword-index.html +228 -0
- data/pkgs/tile-0.8.2/doc/html/label.html +133 -0
- data/pkgs/tile-0.8.2/doc/html/labelframe.html +91 -0
- data/pkgs/tile-0.8.2/doc/html/manpage.css +212 -0
- data/pkgs/tile-0.8.2/doc/html/menubutton.html +63 -0
- data/pkgs/tile-0.8.2/doc/html/notebook.html +280 -0
- data/pkgs/tile-0.8.2/doc/html/paned.html +149 -0
- data/pkgs/tile-0.8.2/doc/html/progressbar.html +138 -0
- data/pkgs/tile-0.8.2/doc/html/radiobutton.html +89 -0
- data/pkgs/tile-0.8.2/doc/html/scrollbar.html +221 -0
- data/pkgs/tile-0.8.2/doc/html/separator.html +48 -0
- data/pkgs/tile-0.8.2/doc/html/sizegrip.html +62 -0
- data/pkgs/tile-0.8.2/doc/html/style.html +172 -0
- data/pkgs/tile-0.8.2/doc/html/tile-intro.html +164 -0
- data/pkgs/tile-0.8.2/doc/html/treeview.html +634 -0
- data/pkgs/tile-0.8.2/doc/html/widget.html +342 -0
- data/pkgs/tile-0.8.2/doc/image.n +81 -0
- data/pkgs/tile-0.8.2/doc/internals.txt +409 -0
- data/pkgs/tile-0.8.2/doc/label.n +75 -0
- data/pkgs/tile-0.8.2/doc/labelframe.n +64 -0
- data/pkgs/tile-0.8.2/doc/man.macros +239 -0
- data/pkgs/tile-0.8.2/doc/menubutton.n +41 -0
- data/pkgs/tile-0.8.2/doc/notebook.n +188 -0
- data/pkgs/tile-0.8.2/doc/paned.n +95 -0
- data/pkgs/tile-0.8.2/doc/progressbar.n +79 -0
- data/pkgs/tile-0.8.2/doc/radiobutton.n +57 -0
- data/pkgs/tile-0.8.2/doc/scrollbar.n +160 -0
- data/pkgs/tile-0.8.2/doc/separator.n +30 -0
- data/pkgs/tile-0.8.2/doc/sizegrip.n +53 -0
- data/pkgs/tile-0.8.2/doc/style.n +119 -0
- data/pkgs/tile-0.8.2/doc/tile-intro.n +165 -0
- data/pkgs/tile-0.8.2/doc/tmml.options +4 -0
- data/pkgs/tile-0.8.2/doc/treeview.n +415 -0
- data/pkgs/tile-0.8.2/doc/widget.n +227 -0
- data/pkgs/tile-0.8.2/doc/xml/Geometry.tmml +379 -0
- data/pkgs/tile-0.8.2/doc/xml/INDEX.MAP +153 -0
- data/pkgs/tile-0.8.2/doc/xml/Theme.tmml +63 -0
- data/pkgs/tile-0.8.2/doc/xml/button.tmml +134 -0
- data/pkgs/tile-0.8.2/doc/xml/checkbutton.tmml +119 -0
- data/pkgs/tile-0.8.2/doc/xml/combobox.tmml +184 -0
- data/pkgs/tile-0.8.2/doc/xml/dialog.tmml +195 -0
- data/pkgs/tile-0.8.2/doc/xml/entry.tmml +630 -0
- data/pkgs/tile-0.8.2/doc/xml/frame.tmml +98 -0
- data/pkgs/tile-0.8.2/doc/xml/image.tmml +101 -0
- data/pkgs/tile-0.8.2/doc/xml/label.tmml +154 -0
- data/pkgs/tile-0.8.2/doc/xml/labelframe.tmml +116 -0
- data/pkgs/tile-0.8.2/doc/xml/menubutton.tmml +80 -0
- data/pkgs/tile-0.8.2/doc/xml/notebook.tmml +306 -0
- data/pkgs/tile-0.8.2/doc/xml/paned.tmml +154 -0
- data/pkgs/tile-0.8.2/doc/xml/progressbar.tmml +151 -0
- data/pkgs/tile-0.8.2/doc/xml/radiobutton.tmml +109 -0
- data/pkgs/tile-0.8.2/doc/xml/scrollbar.tmml +233 -0
- data/pkgs/tile-0.8.2/doc/xml/separator.tmml +59 -0
- data/pkgs/tile-0.8.2/doc/xml/sizegrip.tmml +82 -0
- data/pkgs/tile-0.8.2/doc/xml/style.tmml +171 -0
- data/pkgs/tile-0.8.2/doc/xml/tile-intro.tmml +192 -0
- data/pkgs/tile-0.8.2/doc/xml/treeview.tmml +604 -0
- data/pkgs/tile-0.8.2/doc/xml/widget.tmml +372 -0
- data/pkgs/tile-0.8.2/entry.o +0 -0
- data/pkgs/tile-0.8.2/frame.o +0 -0
- data/pkgs/tile-0.8.2/generic/Makefile.in +221 -0
- data/pkgs/tile-0.8.2/generic/TODO +493 -0
- data/pkgs/tile-0.8.2/generic/altTheme.c +1172 -0
- data/pkgs/tile-0.8.2/generic/blink.c +168 -0
- data/pkgs/tile-0.8.2/generic/button.c +858 -0
- data/pkgs/tile-0.8.2/generic/cache.c +354 -0
- data/pkgs/tile-0.8.2/generic/clamTheme.c +974 -0
- data/pkgs/tile-0.8.2/generic/classicTheme.c +518 -0
- data/pkgs/tile-0.8.2/generic/configure +10334 -0
- data/pkgs/tile-0.8.2/generic/configure.in +100 -0
- data/pkgs/tile-0.8.2/generic/entry.c +1922 -0
- data/pkgs/tile-0.8.2/generic/frame.c +648 -0
- data/pkgs/tile-0.8.2/generic/gunk.h +44 -0
- data/pkgs/tile-0.8.2/generic/image.c +416 -0
- data/pkgs/tile-0.8.2/generic/label.c +663 -0
- data/pkgs/tile-0.8.2/generic/layout.c +1215 -0
- data/pkgs/tile-0.8.2/generic/manager.c +554 -0
- data/pkgs/tile-0.8.2/generic/manager.h +91 -0
- data/pkgs/tile-0.8.2/generic/notebook.c +1380 -0
- data/pkgs/tile-0.8.2/generic/paned.c +958 -0
- data/pkgs/tile-0.8.2/generic/pkgIndex.tcl.in +7 -0
- data/pkgs/tile-0.8.2/generic/progress.c +549 -0
- data/pkgs/tile-0.8.2/generic/scale.c +526 -0
- data/pkgs/tile-0.8.2/generic/scroll.c +253 -0
- data/pkgs/tile-0.8.2/generic/scrollbar.c +346 -0
- data/pkgs/tile-0.8.2/generic/separator.c +132 -0
- data/pkgs/tile-0.8.2/generic/square.c +306 -0
- data/pkgs/tile-0.8.2/generic/tagset.c +147 -0
- data/pkgs/tile-0.8.2/generic/tile.c +296 -0
- data/pkgs/tile-0.8.2/generic/tkElements.c +1280 -0
- data/pkgs/tile-0.8.2/generic/tkTheme.c +1708 -0
- data/pkgs/tile-0.8.2/generic/tkTheme.h +419 -0
- data/pkgs/tile-0.8.2/generic/tkThemeInt.h +45 -0
- data/pkgs/tile-0.8.2/generic/tkstate.c +268 -0
- data/pkgs/tile-0.8.2/generic/trace.c +145 -0
- data/pkgs/tile-0.8.2/generic/track.c +174 -0
- data/pkgs/tile-0.8.2/generic/treeview.c +3211 -0
- data/pkgs/tile-0.8.2/generic/ttk.decls +154 -0
- data/pkgs/tile-0.8.2/generic/ttkDecls.h +340 -0
- data/pkgs/tile-0.8.2/generic/ttkStubInit.c +61 -0
- data/pkgs/tile-0.8.2/generic/ttkStubLib.c +70 -0
- data/pkgs/tile-0.8.2/generic/widget.c +785 -0
- data/pkgs/tile-0.8.2/generic/widget.h +263 -0
- data/pkgs/tile-0.8.2/image.o +0 -0
- data/pkgs/tile-0.8.2/label.o +0 -0
- data/pkgs/tile-0.8.2/layout.o +0 -0
- data/pkgs/tile-0.8.2/library/altTheme.tcl +101 -0
- data/pkgs/tile-0.8.2/library/aquaTheme.tcl +62 -0
- data/pkgs/tile-0.8.2/library/button.tcl +85 -0
- data/pkgs/tile-0.8.2/library/clamTheme.tcl +139 -0
- data/pkgs/tile-0.8.2/library/classicTheme.tcl +108 -0
- data/pkgs/tile-0.8.2/library/combobox.tcl +439 -0
- data/pkgs/tile-0.8.2/library/cursors.tcl +36 -0
- data/pkgs/tile-0.8.2/library/defaults.tcl +118 -0
- data/pkgs/tile-0.8.2/library/dialog.tcl +274 -0
- data/pkgs/tile-0.8.2/library/entry.tcl +580 -0
- data/pkgs/tile-0.8.2/library/fonts.tcl +153 -0
- data/pkgs/tile-0.8.2/library/icons.tcl +105 -0
- data/pkgs/tile-0.8.2/library/keynav.tcl +192 -0
- data/pkgs/tile-0.8.2/library/menubutton.tcl +171 -0
- data/pkgs/tile-0.8.2/library/notebook.tcl +193 -0
- data/pkgs/tile-0.8.2/library/paned.tcl +87 -0
- data/pkgs/tile-0.8.2/library/progress.tcl +51 -0
- data/pkgs/tile-0.8.2/library/scale.tcl +54 -0
- data/pkgs/tile-0.8.2/library/scrollbar.tcl +125 -0
- data/pkgs/tile-0.8.2/library/sizegrip.tcl +77 -0
- data/pkgs/tile-0.8.2/library/tile.tcl +211 -0
- data/pkgs/tile-0.8.2/library/treeview.tcl +382 -0
- data/pkgs/tile-0.8.2/library/utils.tcl +254 -0
- data/pkgs/tile-0.8.2/library/winTheme.tcl +77 -0
- data/pkgs/tile-0.8.2/library/xpTheme.tcl +63 -0
- data/pkgs/tile-0.8.2/libtile0.8.2.so +0 -0
- data/pkgs/tile-0.8.2/libttkstub.a +0 -0
- data/pkgs/tile-0.8.2/license.terms +24 -0
- data/pkgs/tile-0.8.2/macosx/aquaTheme.c +1076 -0
- data/pkgs/tile-0.8.2/manager.o +0 -0
- data/pkgs/tile-0.8.2/notebook.o +0 -0
- data/pkgs/tile-0.8.2/paned.o +0 -0
- data/pkgs/tile-0.8.2/pkgIndex.tcl +3 -0
- data/pkgs/tile-0.8.2/progress.o +0 -0
- data/pkgs/tile-0.8.2/scale.o +0 -0
- data/pkgs/tile-0.8.2/scroll.o +0 -0
- data/pkgs/tile-0.8.2/scrollbar.o +0 -0
- data/pkgs/tile-0.8.2/separator.o +0 -0
- data/pkgs/tile-0.8.2/tagset.o +0 -0
- data/pkgs/tile-0.8.2/tclconfig/install-sh +119 -0
- data/pkgs/tile-0.8.2/tclconfig/tcl.m4 +4069 -0
- data/pkgs/tile-0.8.2/tclconfig/teax.m4 +109 -0
- data/pkgs/tile-0.8.2/tests/all.tcl +18 -0
- data/pkgs/tile-0.8.2/tests/bwidget.test +103 -0
- data/pkgs/tile-0.8.2/tests/cbtest.tcl +125 -0
- data/pkgs/tile-0.8.2/tests/combobox.test +51 -0
- data/pkgs/tile-0.8.2/tests/compound.tcl +92 -0
- data/pkgs/tile-0.8.2/tests/entry.test +285 -0
- data/pkgs/tile-0.8.2/tests/entrytest.tcl +78 -0
- data/pkgs/tile-0.8.2/tests/image.test +94 -0
- data/pkgs/tile-0.8.2/tests/labelframe.tcl +41 -0
- data/pkgs/tile-0.8.2/tests/labelframe.test +137 -0
- data/pkgs/tile-0.8.2/tests/layout.test +33 -0
- data/pkgs/tile-0.8.2/tests/misc.test +35 -0
- data/pkgs/tile-0.8.2/tests/nbtest.tcl +66 -0
- data/pkgs/tile-0.8.2/tests/notebook.test +500 -0
- data/pkgs/tile-0.8.2/tests/paned.test +298 -0
- data/pkgs/tile-0.8.2/tests/progress.test +92 -0
- data/pkgs/tile-0.8.2/tests/pwtest.tcl +90 -0
- data/pkgs/tile-0.8.2/tests/sbtest.tcl +79 -0
- data/pkgs/tile-0.8.2/tests/scrollbar.test +77 -0
- data/pkgs/tile-0.8.2/tests/sgtest.tcl +52 -0
- data/pkgs/tile-0.8.2/tests/testutils.tcl +20 -0
- data/pkgs/tile-0.8.2/tests/tile.test +674 -0
- data/pkgs/tile-0.8.2/tests/treetags.test +78 -0
- data/pkgs/tile-0.8.2/tests/treeview.test +563 -0
- data/pkgs/tile-0.8.2/tests/tvtest.tcl +332 -0
- data/pkgs/tile-0.8.2/tests/validate.test +278 -0
- data/pkgs/tile-0.8.2/tile.o +0 -0
- data/pkgs/tile-0.8.2/tkElements.o +0 -0
- data/pkgs/tile-0.8.2/tkTheme.o +0 -0
- data/pkgs/tile-0.8.2/tkstate.o +0 -0
- data/pkgs/tile-0.8.2/tools/genStubs.tcl +861 -0
- data/pkgs/tile-0.8.2/trace.o +0 -0
- data/pkgs/tile-0.8.2/track.o +0 -0
- data/pkgs/tile-0.8.2/treeview.o +0 -0
- data/pkgs/tile-0.8.2/ttkStubInit.o +0 -0
- data/pkgs/tile-0.8.2/ttkStubLib.o +0 -0
- data/pkgs/tile-0.8.2/widget.o +0 -0
- data/pkgs/tile-0.8.2/win/Tile.dsp +261 -0
- data/pkgs/tile-0.8.2/win/makefile.vc +527 -0
- data/pkgs/tile-0.8.2/win/monitor.c +164 -0
- data/pkgs/tile-0.8.2/win/nmakehlp.c +483 -0
- data/pkgs/tile-0.8.2/win/rules.vc +512 -0
- data/pkgs/tile-0.8.2/win/tile.rc +40 -0
- data/pkgs/tile-0.8.2/win/winTheme.c +734 -0
- data/pkgs/tile-0.8.2/win/xpTheme.c +1029 -0
- data/spec/app_spec.rb +48 -0
- data/spec/customer_spec.rb +31 -0
- data/spec/fixtures/graph.expectation +18 -0
- data/spec/payment_spec.rb +19 -0
- data/spec/pratt_spec.rb +148 -0
- data/spec/project_spec.rb +163 -0
- data/spec/rcov.opts +0 -0
- data/spec/spec.opts +1 -0
- data/spec/spec_helper.rb +21 -0
- data/spec/whence_spec.rb +54 -0
- data/tasks/pratt.rb +84 -0
- data/templates/model.eruby +12 -0
- data/templates/spec.eruby +8 -0
- data/views/env.rb +22 -0
- data/views/graph.eruby +20 -0
- data/views/invoice.eruby +148 -0
- data/views/main.rb +92 -0
- data/views/pid.eruby +3 -0
- data/views/pop.rb +94 -0
- data/views/pop2.rb +75 -0
- data/views/raw.eruby +11 -0
- metadata +390 -0
@@ -0,0 +1,493 @@
|
|
1
|
+
[18 Jan 2004] Default/Classic "groove" border is wrong on X11 --
|
2
|
+
use "alt" borders instead.
|
3
|
+
|
4
|
+
[16 Mar 2005] -- request from Damon Courtney -- "split" menubuttons.
|
5
|
+
Extra features needed in ttk::menubutton: "-command" option,
|
6
|
+
"identify" method.
|
7
|
+
|
8
|
+
[8 Mar 2005] -- ttk::progressbar -- use [$pb start] / [$pb stop].
|
9
|
+
[$pb start] should take arguments to control speed of cylon block.
|
10
|
+
|
11
|
+
[9 Mar 2005] -- possible bug: [ttk::frames] with custom styles
|
12
|
+
don't compute reqwidth properly; fails to account for -padding
|
13
|
+
(see nbtest.tcl);
|
14
|
+
[10 minutes later]: Nope, was apparently mistaken; it does work.
|
15
|
+
|
16
|
+
[2 Mar 2005] -- AllocateResource --
|
17
|
+
allow TK_OPTION_COLOR, other options to have NULL defaults.
|
18
|
+
|
19
|
+
|
20
|
+
[20 Dec 2004] - winnative theme -- toolbar buttons --
|
21
|
+
should have "thin" borders, not "thick" ones.
|
22
|
+
Same probably goes for labels too.
|
23
|
+
|
24
|
+
[3 Oct 2004]: Treeview -- drag scrollbar down really fast -- can scroll
|
25
|
+
"past end" of widget. [fixed?]
|
26
|
+
|
27
|
+
[28 Sep 2004]: Swap argument order in TTK_DrawLayout: layout, state, d
|
28
|
+
[done]
|
29
|
+
|
30
|
+
|
31
|
+
[28 Sep 2004]: element "geometryProc" now "sizeProc"; eventually
|
32
|
+
need to get around to updating all the element definitions.
|
33
|
+
|
34
|
+
[21 Sep 2004]: It's now safe to redefine layouts; make this legal.
|
35
|
+
(plus fix memory leak). Still can't redefine elements though.
|
36
|
+
|
37
|
+
[19 Sep 2004]: Dump Tk_Draw3DBorder() and related routines -- it does
|
38
|
+
the Wrong Thing on Windows more often than not. (LIGHT_GC and DARK_GC
|
39
|
+
don't match System3DLight and System3DDarkShadow; "extra" border color
|
40
|
+
(??? what does Windows call this???) not chosen correctly; draws
|
41
|
+
wrong pattern for entry fields, listboxes, etc.) Better to just
|
42
|
+
do this by hand.
|
43
|
+
|
44
|
+
[19 Sep 2004]: DrawEdge() actually uses 4-color borders, not 3-color.
|
45
|
+
This causes a(nother) notebook glitch if winnative theme is used when
|
46
|
+
"Windows XP style" is selected. In "Windows Classic style", the 4th
|
47
|
+
color (inner upper/left) matches the frame color so the glitch isn't
|
48
|
+
visible. Fix later.
|
49
|
+
|
50
|
+
[17 Sep 2004]: To seriously think about: interactive test harness
|
51
|
+
for regression-testing look and feel.
|
52
|
+
|
53
|
+
CONSIDER: Possibly: avoid setting 'pressed', 'active' in disabled state,
|
54
|
+
so themes don't need to check 'active !disabled'. OTOH, there's
|
55
|
+
no reason an element can't be active and disabled at the same time,
|
56
|
+
and some themes might want to treat that specially.
|
57
|
+
|
58
|
+
[16 Sep 2004]: Make sure 'disabled' state properly supported in all
|
59
|
+
themes. (Should override 'active' and 'pressed' feedback, others)
|
60
|
+
Consider: add 'readonly' state support for checkbuttons, others.
|
61
|
+
[4 Mar 2005]: Definitely add 'readonly' support for checkbuttons --
|
62
|
+
useful for output-only checkbuttons (e.g., "checklist" progress windows).
|
63
|
+
|
64
|
+
|
65
|
+
[10 Sep 2004] altTheme BorderElement -- separate into BorderElement
|
66
|
+
and DefaultRing, or separate BorderElement and ButtonBorderElement.
|
67
|
+
|
68
|
+
TTK_StateMapLookup -- don't need interp parameter or error message.
|
69
|
+
Make TTK_StateMap type "more opaque".
|
70
|
+
|
71
|
+
[2 Sep 2004]: Request from JH: Explicit support in notebook widget
|
72
|
+
for "fattening" tabs; expand selected tab's parcel to overlap neighbors.
|
73
|
+
[done, 13 Sep 2004]
|
74
|
+
|
75
|
+
[4 Sep 2004] Layout engine: TODO:
|
76
|
+
Remove TTK_STICK_ALL alias for TTK_FILL_BOTH; redundant and confusing [done]
|
77
|
+
TTK_EXPAND confusing, possibly get rid of it;
|
78
|
+
expand elements with no PACK_* bits set and/or last in group instead
|
79
|
+
|
80
|
+
Theme engine routines: 'recordPtr' parameter ought to be a "void *",
|
81
|
+
not (ClientData).
|
82
|
+
|
83
|
+
[29 Aug 2004]: Consider: use focus ring in notebook tabs in all themes
|
84
|
+
(except OSX, classic).
|
85
|
+
|
86
|
+
[18 Aug 2004]: Requests from Jeff:
|
87
|
+
+ add margins around check/radiobutton indicators (esp. XP theme)
|
88
|
+
[done, JH,PT]
|
89
|
+
+ [style theme use] should return current theme [done]
|
90
|
+
+ Need separator widget. [done]
|
91
|
+
+ Make scrollbars autodisable when full [done, JH]
|
92
|
+
|
93
|
+
[5 Jul 2004]: Looks like XDrawRectangle() emulation on MacOSX does *not*
|
94
|
+
have the off-by-one glitch. Which makes it incompatible with the
|
95
|
+
real XDrawRectangle, which does...
|
96
|
+
|
97
|
+
[5 Jul 2004]: combobox: BUG: MacOSX: "pull-down" interaction doesn't
|
98
|
+
work, only "pop-down" does.
|
99
|
+
|
100
|
+
[1 Jul 2004]: combobox binding quirk (shared w/readonly BWidget combobox):
|
101
|
+
Pulldown listbox; drag outside listbox; release: Listbox stays posted
|
102
|
+
(this may or may not be right). Press inside listbox: selection "blinks"
|
103
|
+
to pressed item, then reverts back (This is definitely wrong).
|
104
|
+
Oakley combobox cancels listbox in step 1.
|
105
|
+
|
106
|
+
[1 Jul 2004]: combobox: BUG: CBListbox <Destroy> binding doesn't clean up
|
107
|
+
the right variable. [fixed]
|
108
|
+
|
109
|
+
[1 Jul 2004]: Combobox (on Windows) BUG:
|
110
|
+
Press; drag over listbox; drag off of listbox; release;
|
111
|
+
click scrollbar thumb & drag up & down -- listbox selection changes.
|
112
|
+
(Check on Unix). Probable cause: at this point, combobox has
|
113
|
+
grab, listbox never got <ButtonPress> event, but did get <B1-Motion>.
|
114
|
+
Listbox probably confused. (Oakley combobox does the same thing).
|
115
|
+
|
116
|
+
BUG: Windows: post listbox (popdown or pulldown and drag away);
|
117
|
+
click on another window; other window activates, listbox stays
|
118
|
+
posted until main app gets keypress. Can even end up below main window.
|
119
|
+
(Probably due to [grab -global] not working the same on Windows)
|
120
|
+
(Oakley and BWidget comboboxes don't have this problem --
|
121
|
+
what do they do differently?)
|
122
|
+
[Maybe fixed: unpost when listbox gets <FocusOut> event]
|
123
|
+
[That seems to be what BWidget and Oakley boxes do, too]
|
124
|
+
|
125
|
+
BUG: Combobox on Windows: Possible to iconify toplevel while listbox
|
126
|
+
is active. [Maybe fixed, see above]
|
127
|
+
|
128
|
+
BUG: Combobox on Windows: main toplevel is inactive (unfocused)
|
129
|
+
when listbox posted (BWidget too, but not Oakley. Oakley combobox
|
130
|
+
leaves focus on entry widget, passes <Key-Up> and <Key-Down>
|
131
|
+
to listbox directly. Other keys handled by entry (and listbox
|
132
|
+
loses curselection, which is probably not right))
|
133
|
+
|
134
|
+
[from JH on clt -- same issue as above]
|
135
|
+
<412ADA9C.60609@removethis.activestate.com>
|
136
|
+
| [...] It still has the issue (on Windows) that when
|
137
|
+
| the toplevel drops down, the host toplevel loses focus. Note
|
138
|
+
| that this doesn't happen with the win32 combobox control. I'm
|
139
|
+
| not 100% sure how they manage this trick (I have a few guesses,
|
140
|
+
| but am not sure).
|
141
|
+
|
142
|
+
BUG: Grabs in general are problematic.
|
143
|
+
|
144
|
+
[30 Jun 2004]: For consideration: Make -xscrollcommand, -yscrollcommand
|
145
|
+
command prefixes instead of script prefixes?
|
146
|
+
|
147
|
+
| jenglish Right now -xscrollcommand is a string, to
|
148
|
+
| which additional arguements are appended "as if" they were
|
149
|
+
| list elements; and the result is intepreted as a script.
|
150
|
+
| jenglish My proposed change: -xscrollcommand is
|
151
|
+
| interpreted as a list, to which additional arguments are
|
152
|
+
| appended; and the result is invoked as a command
|
153
|
+
| tclguy jenglish - I fully support that
|
154
|
+
| tclguy jenglish - I suspect that is a remnant of the
|
155
|
+
| days pre-8.0 when lists weren't real structures
|
156
|
+
| tclguy jenglish - I know similar things need fixing in the core still
|
157
|
+
|
158
|
+
|
159
|
+
|
160
|
+
|
161
|
+
[29 Jun 2004]: Clam theme: Frame widgets: Need to support -borderwidth 0.
|
162
|
+
(Probable solution: treat zero borderwidth as no border, nonzero as 2).
|
163
|
+
(Add note in "Programmer-visible changes", subheading "theme-dependant
|
164
|
+
stuff").
|
165
|
+
|
166
|
+
[26 Jun 2004]: Entry widget binding bug:
|
167
|
+
press, drag back and forth slowly -- behaves one way
|
168
|
+
press, drag back and forth quickly -- behaves another way.
|
169
|
+
Sort this out. (Probably cause: "slowly" behaviour
|
170
|
+
is what it's intended to do, but dragging the mouse
|
171
|
+
too quickly skips past a transition state in entry::ExtendTo)
|
172
|
+
[fixed]
|
173
|
+
|
174
|
+
[17 Jun 2004]:
|
175
|
+
Entry: POSSIBLY: after configuring -exportselection false,
|
176
|
+
do nothing in LostSelection. Maybe.
|
177
|
+
Possibly: Let FetchSelection return data even if -exportselection false
|
178
|
+
(user could have explicitly used [selection own])
|
179
|
+
BUG: If -exportselection false, still display selection. [fixed]
|
180
|
+
|
181
|
+
[17 Jun 2004]:
|
182
|
+
Make sure EntryPlaceTextLayout is called whenever anything that
|
183
|
+
affects it is changed; [$entry xview] isn't the only place that
|
184
|
+
requires up-to-date information.
|
185
|
+
|
186
|
+
bind TEntry <<TraverseIn>> { %W selection range 0 end; %W icursor end }
|
187
|
+
|
188
|
+
[14 Jun 2004]: WidgetDestroyed -- check Tcl_InterpDeleted(corePtr->interp),
|
189
|
+
other Possibly Bad Things. (maybe).
|
190
|
+
|
191
|
+
[12 Jun 2004] Argh. WidgetSubcommandProcs take arguments in
|
192
|
+
different order than Tcl_ObjCmdProcs (closure last vs. closure first).
|
193
|
+
Sigh.
|
194
|
+
|
195
|
+
[8 Jun 2004]: Possibly: treat "-state active" the same as "-state normal".
|
196
|
+
|
197
|
+
[8 Jun 2004]: TraceVariable -- Variable trace procedures should
|
198
|
+
return 'void' for now, since we're not doing anything with the
|
199
|
+
return value.
|
200
|
+
|
201
|
+
[May 2004]: leaving -width option default blank causes
|
202
|
+
BWidget incompatibilities (breaks Label). Setting a default
|
203
|
+
overrides theme defaults. Decide which is more important.
|
204
|
+
|
205
|
+
[30 Apr 2004]: dkf_fontSel dialog problems:
|
206
|
+
sample text frame sets -width and -height options,
|
207
|
+
which TFrame doesn't use. (Rationale: height and width
|
208
|
+
of a frame are normally controlled by geometry manager
|
209
|
+
based on children. This turns out to be wrong:
|
210
|
+
[grid/pack propagate $f 0] can be used to make the
|
211
|
+
frame's -width/height take precedence. (only do this
|
212
|
+
in FrameConfigure though, otherwise layout blinks.) [fixed 11 May 2004]
|
213
|
+
dkf_fontSel also uses resource-queries on scratch widgets
|
214
|
+
(like BWidget does) for label -font resource; this breaks. [fixed 10 May 2004]
|
215
|
+
|
216
|
+
[23 Apr 2004]: TODO: Add <<Invoke>> bindings for TLabel and TLabelframe
|
217
|
+
(set focus to next focusable sibling / first focusable child).
|
218
|
+
|
219
|
+
[5 Apr 2004, JH]: "change the padding of a tnotebook dynamically doesn't
|
220
|
+
force a resize of the children"
|
221
|
+
|
222
|
+
22 Apr 2004: Focus problems w/notebook widget: mnemonic activation
|
223
|
+
can leave focus on unmapped widget.
|
224
|
+
|
225
|
+
Consider: Pass 'state' to element geometry procs too?
|
226
|
+
|
227
|
+
Progressbars should not take focus.
|
228
|
+
|
229
|
+
[3 Apr 2004] Vertical progress bars should grow up, not down.
|
230
|
+
|
231
|
+
|
232
|
+
[19 Mar 2004]: Documentation: consistentize terminology:
|
233
|
+
+ the "-command" option is a _script_ which is _evaluated_.
|
234
|
+
Also: _script prefix_ (-xscrollcommand, &c),
|
235
|
+
_script template_ (-validatecommand &c).
|
236
|
+
Consider: maybe -xscrollcommand should be a _command prefix_;
|
237
|
+
+ Widgets have "options" (not "resources", that's an Xt thing...)
|
238
|
+
+ Decide one way or the other "tfoobutton" or "foobutton".
|
239
|
+
+ [20 Jun 2004]: always use bold (or italic, decide) for manpage xrefs.
|
240
|
+
|
241
|
+
(TMML keywords index: idea: specify a list of common prefixes
|
242
|
+
to strip when sorting, so eg "TTK_Box" is sorted under "B",
|
243
|
+
not under "T" with all the rest of the "TTK_" stuff.
|
244
|
+
Also: Remove duplicates in column 2.)
|
245
|
+
|
246
|
+
[Configure] -- any way to specify a minimum Tk dependency in configure script?
|
247
|
+
|
248
|
+
[20 Feb 2004]: generic/layout.c(BuildLayout): Don't Panic. [fixed,31Dec2004]
|
249
|
+
|
250
|
+
[14 Mar 2004]: menubuttons -- popdown -- should stay in {pressed active} state
|
251
|
+
until the menu is dismissed.
|
252
|
+
Oddity: On XP: click menubutton (tile or standard) to post menu;
|
253
|
+
move mouse away; other widgets still get <Enter> and <Leave> events
|
254
|
+
until the mouse enters the menu; then others stop hot-tracking.
|
255
|
+
|
256
|
+
[14 Mar 2004] TODO: double-check menubutton state transitions on X11.
|
257
|
+
[Checked; they were wrong. Still are, actually, but it's
|
258
|
+
difficult to get this right without cooperation from the [menu]
|
259
|
+
widget implementation.]
|
260
|
+
|
261
|
+
[14 Mar 2004]: pixmapTheme.c -- need to do error-checks re: missing
|
262
|
+
images earlier.
|
263
|
+
|
264
|
+
[14 Mar 2004]: Consider using Tcl_BackgroundError() where appropriate.
|
265
|
+
(Note: it's probably not appropriate during <Expose> processing,
|
266
|
+
unless the error condition can be fixed or disabled.)
|
267
|
+
|
268
|
+
[22 Feb 2004]: Don't use SystemButtonFace as default background
|
269
|
+
in classic or other non-Windows themes (unless you also use
|
270
|
+
SystemWindowText as default foreground) -- some high-contrast
|
271
|
+
color schemes use white-on-black. [done]
|
272
|
+
|
273
|
+
[21 Feb 2004]: TODO: work out sensible fallback algorithm for
|
274
|
+
layouts and styles, so users can define custom styles without
|
275
|
+
having to worry about every possible theme.
|
276
|
+
|
277
|
+
[21 Feb 2004]: Display/layout glitch: demo program, XP theme:
|
278
|
+
"Close button" in "Widget states" dialog is the wrong size when
|
279
|
+
first created. Reselecting the theme fixes.
|
280
|
+
Suspicion: perhaps GetThemePartSize() doesn't work when the window
|
281
|
+
is not realized, so initial geometry wrong? But why just this widget?
|
282
|
+
Another bug in [grid]? [Probably fixed, 16 Mar 2004] [Fix confirmed]
|
283
|
+
|
284
|
+
@@@ [10 Feb 2004] Revisit label/compound element: this is starting
|
285
|
+
to really bother me.
|
286
|
+
|
287
|
+
@@@ [10 Feb 2004] New bug: label/compound element:
|
288
|
+
-anchor and -width do not mix. [fixed]
|
289
|
+
|
290
|
+
@@@ TODO: SOON: Plug all memory leaks. Lots of known ones,
|
291
|
+
possibly a few unknown ones too.
|
292
|
+
|
293
|
+
@@@ BUG: <<ThemeChanged>> messages not processed if widget is not realized.
|
294
|
+
(See also: bug #835997) [fixed, 16 Mar 2004].
|
295
|
+
|
296
|
+
@@@ Issue: Don't even think about using the Tile widgets on a PseudoColor
|
297
|
+
visual. All hell breaks loose. (This is another instance of the
|
298
|
+
resource management problem affecting fonts and images).
|
299
|
+
[Should be fixed now, 12 Feb 2004]
|
300
|
+
|
301
|
+
Issue: May need state-based dynamic widget settings too
|
302
|
+
(most useful: -image and -cursor).
|
303
|
+
|
304
|
+
AllocateResource: Tk_GetFont() calls are extremely expensive
|
305
|
+
unless the font is already in use. Using named fonts doesn't help.
|
306
|
+
Same is probably true for colors and borders, and is definitely
|
307
|
+
true for images. [Should be fixed now, 12 Feb 2004]
|
308
|
+
|
309
|
+
@@@ Investigate performance issues. TWS is getting to be
|
310
|
+
as slow as GTK+. [see above] [much better now]
|
311
|
+
|
312
|
+
Problem: [style map TNotebook -borderwidth { focus 2 {} 1 }]
|
313
|
+
doesn't do the right thing: will normally use the default 1
|
314
|
+
when computing geometry, which will not allocate enough space
|
315
|
+
for when the widget has focus. Possible solutions:
|
316
|
+
+ special-case: add -maxborderwidth option
|
317
|
+
+ add 'geometry' state bit, user can specify { geometry 2 focus 2 {} 1}
|
318
|
+
|
319
|
+
Possibly: Issue <<WorldChanged>>, <<ThemeChanged>> virtual events
|
320
|
+
[Q: Can we register a C-language event handler for these?]
|
321
|
+
[A: Yes.]
|
322
|
+
[done; but see BUG, above] [above BUG fixed now]
|
323
|
+
|
324
|
+
@@@ NEED: introspection/debugging features
|
325
|
+
(what elements make up a layout, what resources get set, &c).
|
326
|
+
|
327
|
+
@@@ [style default/map] -- make sure changes get propagated to ElementImpl's.
|
328
|
+
[style map] -- validate statemaps [done]
|
329
|
+
|
330
|
+
@@@ change TTK_LAYOUT_AROUND to TTK_LAYOUT_BORDER; update WidgetGeometry()
|
331
|
+
to use TTK_LAYOUT_BORDER-tagged element to set internal padding.
|
332
|
+
[On second thought, don't. May not be necessary]
|
333
|
+
|
334
|
+
@@@ Layout engine BUG: TTK_LAYOUT_INSIDE, TTK_LAYOUT_BORDER nodes
|
335
|
+
must be the sole children of their parent node, otherwise
|
336
|
+
reqsize calculation is wrong. (probable cause of problem:
|
337
|
+
INSIDE/BORDER flags lack a packing specification).
|
338
|
+
[ Fixed now, 28 Jan 2004 ]
|
339
|
+
|
340
|
+
|
341
|
+
@@@ TTK_LayoutFindNode, [$sb identify], &c -- need a way to identify
|
342
|
+
nodes by name instead of class. [??? Probably not needed anymore ???]
|
343
|
+
|
344
|
+
~~ Layout engine:
|
345
|
+
+ Reimplement; the current design is subtly but fatally flawed.
|
346
|
+
[ done, 28 Jan 2004 ]
|
347
|
+
|
348
|
+
+ Change ElementSpec draw procedure to take a TTK_Box instead
|
349
|
+
of separate x, y, width, height arguments. [done, 9 Mar 2004]
|
350
|
+
|
351
|
+
~~ General:
|
352
|
+
+ Use TK_OPTION_STRING instead of TK_OPTION_END for TTK_OPTION_ANY [done]
|
353
|
+
+ Need per-engine cleanup procedures. [done, PT]
|
354
|
+
+ Rethink resource allocation (AllocateResource,DeallocateResources)
|
355
|
+
+ [style configure] should schedule a WorldChanged call
|
356
|
+
+ WorldChanged handler should reload all elements [done]
|
357
|
+
+ Need: windows-native theme (use native (non-XP-theme) widgets) [started]
|
358
|
+
+ Need: MacOSX-native theme (ditto).
|
359
|
+
+ Need to support both "native/default" L&F and highly-customized L&F
|
360
|
+
(Ex: http://www.iit.demokritos.gr/~petasis/Tcl/PeculiarButtons.gif)
|
361
|
+
+ Consider: distinguish "engines" from "themes" a la Gnome --
|
362
|
+
"engines" provide specific element implementations, themes
|
363
|
+
bind them to individual elements. Rationale: a theme
|
364
|
+
may want to pick up e.g., borders from altTheme,
|
365
|
+
other elements drawn using pixmap element from pixmapTheme,
|
366
|
+
frame borders from classic theme.
|
367
|
+
(Maybe not; an "engine" is just a package that defines elements
|
368
|
+
or element factories, no need to make this a first-class entity).
|
369
|
+
|
370
|
+
~~ Frames, labelframes:
|
371
|
+
+ Need -width, -height options. These don't have any effect
|
372
|
+
if you use [pack] or [grid], but may be useful for [place] [done]
|
373
|
+
+ [13 Feb 2005] labelframe: min req. size doesn't account for label.
|
374
|
+
[Fixed]
|
375
|
+
|
376
|
+
~~ Buttons, checkbuttons, radiobuttons:
|
377
|
+
+ Label widgets should take -relief option, possibly -borderwidth
|
378
|
+
+ rename 'compound' element to 'label', 'label' => 'text' [done]
|
379
|
+
+ add -width resource to text element; negative -width => minimum. [done]
|
380
|
+
+ [$checkbutton configure -variable foo] does not set state [fixed]
|
381
|
+
+ [$label configure -textvariable foo] does not update -text [fixed]
|
382
|
+
+ alt theme: focus ring should go around text (in check/radio buttons)
|
383
|
+
(maybe we can get away with not doing this...)
|
384
|
+
[fixed, but this broke -anchor option]
|
385
|
+
+ check/radiobutton -anchor option does not work in alt theme.
|
386
|
+
(Can either get focus ring in the right place or a working -anchor,
|
387
|
+
but not both.)
|
388
|
+
+ alt theme: buttons: move focus ring back into BorderElement;
|
389
|
+
this shouldn't shift in/out on press/release.
|
390
|
+
(OR: move shift in/out logic from PressableBorderElement
|
391
|
+
into PaddingElement -- better solution) [done, 5Apr2004]
|
392
|
+
+ Schedule redraw/resize when image changes.
|
393
|
+
|
394
|
+
~~ Scrollbars:
|
395
|
+
+ classic theme: scrollbar arrows don't look quite right.
|
396
|
+
+ alt theme: scrollbar arrows don't look quite right. [should be fixed]
|
397
|
+
+ scrollbar elements don't activate/prelight on hover. [fixed]
|
398
|
+
|
399
|
+
~~ Notebook: (suggestions from dkf)
|
400
|
+
+ Track active state for tabs [done]
|
401
|
+
+ add [$nb index current] [done]
|
402
|
+
+ Generate <<NotebookTabChanged>> on raise. [done]
|
403
|
+
+ Possibly: [$nb index $labelName] -- interpret $labelName as pattern.
|
404
|
+
(Not done: conflicts with [$nb index current], [$nb index end];
|
405
|
+
not very useful in the context of L10N)
|
406
|
+
+ a way to reorder tabs, and insert tabs at places other than the end
|
407
|
+
[$nb insert $idx $child options...]; if $child is already in,
|
408
|
+
this moves it?
|
409
|
+
+ Ctrl-Tab / Ctrl-Shift-Tab to switch panes
|
410
|
+
[this is turning out to be rather tricky to do ...]
|
411
|
+
[Resolution: Won't do. Ctrl-Tab is the only way to tab out of a Text
|
412
|
+
widget, don't want to override this.]
|
413
|
+
[Changed mind: DKF convinced me that this is really desirable.
|
414
|
+
Still don't know how to do it.]
|
415
|
+
[22 Apr 2004: Done, finally]
|
416
|
+
+ On raise -- set focus to first child of raised pane. [no, don't]
|
417
|
+
+ Possibly: allow focus on tabs? (<Key-Left>, <Key-Right> switches tabs)
|
418
|
+
Better: Focus on notebook widget, current tab implicitly has focus. [done]
|
419
|
+
+ Possibly: [$nb select] instead of [$nb raise] [done]
|
420
|
+
+ Possibly: a way to pack widgets inside tabs (gtk+), and/or in
|
421
|
+
the area to the right of the tabs (Mozilla).
|
422
|
+
+ -sticky option for panes -- determine how to place child
|
423
|
+
widget in client parcel [done]
|
424
|
+
+ Possibly (but probably not): allow non-child widgets to
|
425
|
+
be added as panes (not supporting this simplifies things
|
426
|
+
a LOT though).
|
427
|
+
+ Possibly: -raisecommand, -leavecommand for tabs?
|
428
|
+
[No: see tktable-tile-dev discussion. <<NotebookTabChanged>> suffices]
|
429
|
+
+ Handle case where widget is not wide enough to display all tabs
|
430
|
+
(display left, right tabscroll arrows at right end of tab row)
|
431
|
+
[Resolution: best approach is to squeeze all tabs.
|
432
|
+
Scrolling tab row and stacked tabs are horrible usability-wise;
|
433
|
+
not going to add all that complexity for the benefit
|
434
|
+
of bad UIs.] [done, 16 Sep 2004]
|
435
|
+
+ [JH] Theme-specific left and right padding for tab area
|
436
|
+
(needed for correct L&F on XP) [done, 13 Sep 2004]
|
437
|
+
|
438
|
+
+ BUG: doesn't display properly if borderwidth > 1 [N/A anymore]
|
439
|
+
+ Possibly: add -side {top|bottom|left|right} option;
|
440
|
+
+ Possibly: add -side option with same values as labelframe -labelanchor
|
441
|
+
+ Possibly: add per-tab -side option
|
442
|
+
|
443
|
+
~~ Windows native theme:
|
444
|
+
+ Scrollbar trough not always drawn w/right color (stippled?)
|
445
|
+
+ Pushbuttons don't show default indicator or focus ring [fixed]
|
446
|
+
+ Focus ring drawn in the wrong color
|
447
|
+
+ Check/radiobutton indicators: if you select one of the "large"
|
448
|
+
display settings, these look wrong.
|
449
|
+
+ FrameControlElements automatically adapt to system color changes,
|
450
|
+
elements that use a -background resource do not (maybe this
|
451
|
+
should be fixed in Tk instead (TIP 156?))
|
452
|
+
[fixed, 22 Feb 2004].
|
453
|
+
|
454
|
+
~ Eventually:
|
455
|
+
+ Make 'alt' theme the default (or something even simpler),
|
456
|
+
move Motif L&F to "classic" theme. [done]
|
457
|
+
|
458
|
+
~ Possible refactorings:
|
459
|
+
+ Reattach Layouts to Styles?
|
460
|
+
+ Merge ElementInstances into LayoutNodes?
|
461
|
+
+ Split up tkTheme.c; it's huge.
|
462
|
+
+ Use a tree of LayoutOps to specify layouts internally
|
463
|
+
instead of an array of LayoutInstructions. [done]
|
464
|
+
+ Add "-padding" (and "-ipadding"?) options to LayoutOps
|
465
|
+
+ Possibly: remove "Padding" element (or not: needed
|
466
|
+
to make widget -padding option work.)
|
467
|
+
|
468
|
+
|
469
|
+
~ Miscellaneous:
|
470
|
+
+ See http://www.kroc.tk/tcl/tk_look
|
471
|
+
(Update 5 Mar 2004: http://www.kroc.tk/tclkit/tile_demo.kit ;
|
472
|
+
imported into tile.)
|
473
|
+
+ http://groups.google.com/groups?hl=en&lr=&ie=UTF-8&threadm=3FBD203B.20303%@activestate.com&rnum=47&prev=/groups%3Fq%3Dtktable%26start%3D40%26hl%3Den%26lr%3D%26ie%3DUTF-8%26scoring%3Dd%26selm%3D3FBD203B.20303%@activestate.com%26rnum%3D47
|
474
|
+
|
475
|
+
+ From Satoshi Imai: "An old style has the same mark of a radiobutton
|
476
|
+
and a checkbutton. The radiobutton of a menu thinks that the round
|
477
|
+
mark is better based on a Windows style." If I'm translating
|
478
|
+
correctly, this means: "radiobuttons and checkbuttons
|
479
|
+
in menus should have different indicators." (Out of scope
|
480
|
+
for Tile at the moment, as we don't have a [tmenu] widget,
|
481
|
+
but should be considered).
|
482
|
+
|
483
|
+
|
484
|
+
~ Suggested changes to Tk:
|
485
|
+
+ Need TK_OPTION_IMAGE resource type
|
486
|
+
+ Named fonts should always have a refcount >= 1,
|
487
|
+
instead of freeing and reallocating them when the go
|
488
|
+
in and out of use.
|
489
|
+
+ Expose some of Tk's internals (esp. Windows-specific stuff):
|
490
|
+
++ TkWinGetDrawableDC
|
491
|
+
++ TkGetOptionSpec
|
492
|
+
+ Some way to invoke WorldChanged class proc of all widgets.
|
493
|
+
|