Tk Library Source Code

Check-in [15b81478b8]
Login
Bounty program for improvements to Tcl and certain Tcl packages.
Tcl 2019 Conference, Houston/TX, US, Nov 4-8
Send your abstracts to tclconference@googlegroups.com
or submit via the online form by Sep 9.

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Apply the patches by Alexandru - http://core.tcl.tk/tcllib/tktview/8c91e46800f569566ac60c7ded7c321b52f67a15
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256:15b81478b883cc92a250d7458a51006daebf8524fd209cbcc47aa8e53d05a5e6
User & Date: markus 2018-12-27 16:15:09
Context
2019-01-07
19:17
* *.tcl: Bumped the version number to 6.4; updated the * COPYRIGHT.txt: copyright information. * README.txt: * CHANGES.txt: Updated to reflect the changes. * doc/*.html: * scripts/*.tcl: Added the "-xmousewheelwindow" and "-ymousewheelwindow" configuration options; optimized the deletion of a list of items; improved the performance of the vertical scrolling; eliminated a potential endless loop triggered by key navigation with the "aqua" theme and selection type "cell"; fixed two regressions introduced in Tablelist 6.3, related to (1) the handling of the "-listvariable" option when using Itcl 3.x and (2) clearing the multiple or extended selection; further improvements and minor bug fixes; updated the copyright information. * scripts/tclIndex: Newly generated. * ../../examples/tablelist/*.tcl: Bumped the version number to 6.4; minor bug fixes; updated the copyright information. check-in: e8fdeb9f97 user: csaba tags: trunk
2018-12-27
16:15
Apply the patches by Alexandru - http://core.tcl.tk/tcllib/tktview/8c91e46800f569566ac60c7ded7c321b52f67a15 check-in: 15b81478b8 user: markus tags: trunk
2018-10-10
10:07
* Added code for copying the file pencil.cur. check-in: 6bb2600073 user: csaba tags: trunk
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to modules/plotchart/ChangeLog.






1
2
3
4
5
6
7





2017-09-16  Arjen Markus  <arjenmarkus@users,sourceforge.net>
	* plotchart.man:  Added description of the normal plot and associated commands. The implementation was
	                  already available, so no change in version number.

2017-03-30  Arjen Markus  <arjenmarkus@users,sourceforge.net>
	* plotannot.tcl:  Correct handling of the -textcolour option for plaintext (reported by Nick Matthews)

>
>
>
>
>







1
2
3
4
5
6
7
8
9
10
11
12
2018-12-27  Arjen Markus  <arjenmarkus@users,sourceforge.net>
	* plotchart.tcl:  Add missing method definitions for binding events to log(x)-y, x-log(y) and log(x)-log(y) plots,
                   as reported by Alexandru
	* plotbind.tcl:   Apply the patch provided by Alexandru

2017-09-16  Arjen Markus  <arjenmarkus@users,sourceforge.net>
	* plotchart.man:  Added description of the normal plot and associated commands. The implementation was
	                  already available, so no change in version number.

2017-03-30  Arjen Markus  <arjenmarkus@users,sourceforge.net>
	* plotannot.tcl:  Correct handling of the -textcolour option for plaintext (reported by Nick Matthews)

Changes to modules/plotchart/plotbind.tcl.

15
16
17
18
19
20
21




22
23
24
25
26
27
28
#     cmd             Command to execute
#
# Result:
#     None
#
proc ::Plotchart::BindPlot {w event cmd} {
    variable scaling





    if { $scaling($w,eventobj) == "" } {

        set pxmin $scaling($w,pxmin)
        set pxmax $scaling($w,pxmax)
        set pymin $scaling($w,pymin)
        set pymax $scaling($w,pymax)







>
>
>
>







15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
#     cmd             Command to execute
#
# Result:
#     None
#
proc ::Plotchart::BindPlot {w event cmd} {
    variable scaling

    if {![info exists scaling($w,eventobj)]} {
        set scaling($w,eventobj) ""
    }

    if { $scaling($w,eventobj) == "" } {

        set pxmin $scaling($w,pxmin)
        set pxmax $scaling($w,pxmax)
        set pymin $scaling($w,pymin)
        set pymax $scaling($w,pymax)

Changes to modules/plotchart/plotchart.tcl.

127
128
129
130
131
132
133


134
135
136
137
138
139
140
...
160
161
162
163
164
165
166


167
168
169
170
171
172
173
...
193
194
195
196
197
198
199


200
201
202
203
204
205
206
   set methodProc(xlogyplot,removefromlegend) RemoveFromLegend
   set methodProc(xlogyplot,balloon)        DrawBalloon
   set methodProc(xlogyplot,balloonconfig)  ConfigBalloon
   set methodProc(xlogyplot,plaintext)      DrawPlainText
   set methodProc(xlogyplot,plaintextconfig) ConfigPlainText
   set methodProc(xlogyplot,canvas)         GetCanvas
   set methodProc(xlogyplot,deletedata)     DeleteData


   set methodProc(logxyplot,title)          DrawTitle
   set methodProc(logxyplot,subtitle)       DrawSubtitle
   set methodProc(logxyplot,xtext)          DrawXtext
   set methodProc(logxyplot,xsubtext)       DrawXsubtext
   set methodProc(logxyplot,ytext)          DrawYtext
   set methodProc(logxyplot,ysubtext)       DrawYsubtext
   set methodProc(logxyplot,vtext)          DrawVtext
................................................................................
   set methodProc(logxyplot,removefromlegend) RemoveFromLegend
   set methodProc(logxyplot,balloon)        DrawBalloon
   set methodProc(logxyplot,balloonconfig)  ConfigBalloon
   set methodProc(logxyplot,plaintext)      DrawPlainText
   set methodProc(logxyplot,plaintextconfig)   ConfigPlainText
   set methodProc(logxyplot,canvas)         GetCanvas
   set methodProc(logxyplot,deletedata)     DeleteData


   set methodProc(logxlogyplot,title)          DrawTitle
   set methodProc(logxlogyplot,subtitle)       DrawSubtitle
   set methodProc(logxlogyplot,xtext)          DrawXtext
   set methodProc(logxlogyplot,xsubtext)       DrawXsubtext
   set methodProc(logxlogyplot,ytext)          DrawYtext
   set methodProc(logxlogyplot,ysubtext)       DrawYsubtext
   set methodProc(logxlogyplot,vtext)          DrawVtext
................................................................................
   set methodProc(logxlogyplot,removefromlegend) RemoveFromLegend
   set methodProc(logxlogyplot,balloon)        DrawBalloon
   set methodProc(logxlogyplot,balloonconfig)  ConfigBalloon
   set methodProc(logxlogyplot,plaintext)      DrawPlainText
   set methodProc(logxlogyplot,plaintextconfig) ConfigPlainText
   set methodProc(logxlogyplot,canvas)         GetCanvas
   set methodProc(logxlogyplot,deletedata)     DeleteData


   set methodProc(piechart,title)              DrawTitle
   set methodProc(piechart,subtitle)           DrawSubtitle
   set methodProc(piechart,plot)               DrawPie
   set methodProc(piechart,saveplot)           SavePlot
   set methodProc(piechart,balloon)            DrawBalloon
   set methodProc(piechart,balloonconfig)      ConfigBalloon
   set methodProc(piechart,explode)            PieExplodeSegment







>
>







 







>
>







 







>
>







127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
...
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
...
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
   set methodProc(xlogyplot,removefromlegend) RemoveFromLegend
   set methodProc(xlogyplot,balloon)        DrawBalloon
   set methodProc(xlogyplot,balloonconfig)  ConfigBalloon
   set methodProc(xlogyplot,plaintext)      DrawPlainText
   set methodProc(xlogyplot,plaintextconfig) ConfigPlainText
   set methodProc(xlogyplot,canvas)         GetCanvas
   set methodProc(xlogyplot,deletedata)     DeleteData
   set methodProc(xlogyplot,bindplot)       BindPlot
   set methodProc(xlogyplot,bindlast)       BindLast
   set methodProc(logxyplot,title)          DrawTitle
   set methodProc(logxyplot,subtitle)       DrawSubtitle
   set methodProc(logxyplot,xtext)          DrawXtext
   set methodProc(logxyplot,xsubtext)       DrawXsubtext
   set methodProc(logxyplot,ytext)          DrawYtext
   set methodProc(logxyplot,ysubtext)       DrawYsubtext
   set methodProc(logxyplot,vtext)          DrawVtext
................................................................................
   set methodProc(logxyplot,removefromlegend) RemoveFromLegend
   set methodProc(logxyplot,balloon)        DrawBalloon
   set methodProc(logxyplot,balloonconfig)  ConfigBalloon
   set methodProc(logxyplot,plaintext)      DrawPlainText
   set methodProc(logxyplot,plaintextconfig)   ConfigPlainText
   set methodProc(logxyplot,canvas)         GetCanvas
   set methodProc(logxyplot,deletedata)     DeleteData
   set methodProc(logxyplot,bindplot)       BindPlot
   set methodProc(logxyplot,bindlast)       BindLast
   set methodProc(logxlogyplot,title)          DrawTitle
   set methodProc(logxlogyplot,subtitle)       DrawSubtitle
   set methodProc(logxlogyplot,xtext)          DrawXtext
   set methodProc(logxlogyplot,xsubtext)       DrawXsubtext
   set methodProc(logxlogyplot,ytext)          DrawYtext
   set methodProc(logxlogyplot,ysubtext)       DrawYsubtext
   set methodProc(logxlogyplot,vtext)          DrawVtext
................................................................................
   set methodProc(logxlogyplot,removefromlegend) RemoveFromLegend
   set methodProc(logxlogyplot,balloon)        DrawBalloon
   set methodProc(logxlogyplot,balloonconfig)  ConfigBalloon
   set methodProc(logxlogyplot,plaintext)      DrawPlainText
   set methodProc(logxlogyplot,plaintextconfig) ConfigPlainText
   set methodProc(logxlogyplot,canvas)         GetCanvas
   set methodProc(logxlogyplot,deletedata)     DeleteData
   set methodProc(logxlogyplot,bindplot)       BindPlot
   set methodProc(logxlogyplot,bindlast)       BindLast
   set methodProc(piechart,title)              DrawTitle
   set methodProc(piechart,subtitle)           DrawSubtitle
   set methodProc(piechart,plot)               DrawPie
   set methodProc(piechart,saveplot)           SavePlot
   set methodProc(piechart,balloon)            DrawBalloon
   set methodProc(piechart,balloonconfig)      ConfigBalloon
   set methodProc(piechart,explode)            PieExplodeSegment