Abridged summary of comp.lang.tcl@googlegroups.com - 33 updates in 7 topics

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Abridged summary of comp.lang.tcl@googlegroups.com - 33 updates in 7 topics

comp.lang.tcl mailing list
Cecil Westerhof <[hidden email]>: Dec 19 02:05AM +0100

I just started with:
http://www.tkdocs.com/tutorial/firstexample.html
 
The problem is that I have a high resolution monitor and it is quit
tiny. How can I increase the size so it becomes a bit ...more
Rich <[hidden email]>: Dec 19 02:19AM

> http://www.tkdocs.com/tutorial/firstexample.html
 
> The problem is that I have a high resolution monitor and it is quit
> tiny. How can I increase the size so it becomes a bit better readable? ...more
Cecil Westerhof <[hidden email]>: Dec 19 10:01AM +0100


> The 16 there means "16 point". Tk's defaults are pixels (negative
> sizes mean pixels), and on a high-dpi monitor, a 12 pixel font (Tk's
> default size) is /tiny/.
 
Works like a charm. ...more
Rich <[hidden email]>: Dec 19 10:45AM


> I have also a normal monitor. It would be plausible that I move a
> window from the High Res monitor to the normal one. Would it be
> possible to reset the fonts for that one back to 12?
...more
Cecil Westerhof <[hidden email]>: Dec 19 12:16PM +0100


> There's a two part answer here.
 
> 1) Reset the fonts? Yes, you can change the font sizes at any time
> and the widgets using those fonts will adjust to the new size.
 
That is good news: I ...more
Rich <[hidden email]>: Dec 19 11:44AM

>> and the widgets using those fonts will adjust to the new size.
 
> That is good news: I did not expect that. For example with Clojure you
> have to do it before displaying: after it is not ...more
Cecil Westerhof <[hidden email]>: Dec 19 01:22PM +0100

> most anything and (presuming options settings that authorize the
> change) most things will resize/change/adjust to the change all
> automatically under the hood.
 
Very good to know. :-D
 
...more
Cecil Westerhof <[hidden email]>: Dec 19 02:08PM +0100

>> to toggle the two modes.
 
> Yes, this is the easiest solution to determining "what font size should
> show" based upon which monitor the window resides upon.
 
Done. I created the following ...more
Rich <[hidden email]>: Dec 19 06:00PM

> on the other monitor the window is not resized when changing the font
> size.
 
> What could be the problem?
 
To answer that you'll need to post a minimal failing example (there are ...more
Cecil Westerhof <[hidden email]>: Dec 19 08:12PM +0100


> To answer that you'll need to post a minimal failing example (there are
> too many other possibilities that could be the cause to guess which one
> accurately).
 
 
The following code ...more
Rich <[hidden email]>: Dec 19 07:45PM

> are changed when the fonts change. But at the moment I go to another
> window the dimensions are frozen.
> It is just as if Tk thinks I manually changed the dimensions.
 
The first thing I see is ...more
Cecil Westerhof <[hidden email]>: Dec 19 07:21PM +0100

I have the following code:
wm title . "Show CPU Temperature"
grid [ttk::label .temp -textvariable temp]
focus .temp
set temp [getCPUTemp]
# while {True} {
# set temp ...more
Rich <[hidden email]>: Dec 19 06:57PM

> update it.
> This would be done by the while loop, but then window is not
> displayed. What need I to do to get this working?
 
How did you impliment "waitMinutes"?
 
What you will likely need ...more
Cecil Westerhof <[hidden email]>: Dec 19 07:54PM +0100

> update it.
> This would be done by the while loop, but then window is not
> displayed. What need I to do to get this working?
 
Answering my own question. ;-)
 
I did not understand things ...more
Rich <[hidden email]>: Dec 19 07:13PM

> after [expr {(60 - ([clock seconds] % 60)) * 1000}] updateCPUTemp
> }
 
> Learning all the time.
 
Yes, that runs your 'loop' via the Tk event loop. Allowing the
background updates to ...more
Cecil Westerhof <[hidden email]>: Dec 19 08:36PM +0100

>> This would be done by the while loop, but then window is not
>> displayed. What need I to do to get this working?
 
> How did you impliment "waitMinutes"?
 
after miliseconds
 
...more
David Heim <[hidden email]>: Dec 19 05:35AM -0800

I have installed tkdnd 2.8 (Windows dll and tcl from SourceForge).
When I add the line:
 
package require tkdnd
 
to any Tcl/Tk program
 
I get the following error:
 
extra characters after ...more
Christian Gollwitzer <[hidden email]>: Dec 19 02:59PM +0100

Am 19.12.17 um 14:35 schrieb David Heim:
> set _platform2tkdnd [dict create {*}$types]
 
> I am running Tcl/Tk 8.4.9 under Windows 7 and Windows 10
 
> Can someone help me with this error?
...more
Andreas Leitgeb <[hidden email]>: Dec 19 02:06PM

> set _platform2tkdnd [dict create {*}$types]
 
> I am running Tcl/Tk 8.4.9 under Windows 7 and Windows 10
> Can someone help me with this error?
 
Use a "slightly" less ancient version of ...more
David Heim <[hidden email]>: Dec 19 08:02AM -0800

On Tuesday, December 19, 2017 at 7:35:13 AM UTC-6, David Heim wrote:
 
> Can someone help me with this error?
 
> ​Thanks,
> Dave​
 
Thanks for the help. I appreciate it.
Dave
...more
Rich <[hidden email]>: Dec 19 06:03PM

> set _platform2tkdnd [dict create {*}$types]
 
> I am running Tcl/Tk 8.4.9 under Windows 7 and Windows 10
 
> Can someone help me with this error?
 
The {*} operator is only supported on Tcl 8.5 ...more
Cecil Westerhof <[hidden email]>: Dec 19 02:11PM +0100

This example is at:
https://wiki.tcl.tk/17428
 
But the line:
vector xvec($Hz) y1vec($Hz) y2vec($Hz)
 
Should be:
vector create xvec($Hz) y1vec($Hz) y2vec($Hz)
 
-- ...more
Arjen Markus <[hidden email]>: Dec 19 05:50AM -0800

On Tuesday, December 19, 2017 at 2:14:05 PM UTC+1, Cecil Westerhof wrote:
> Cecil Westerhof
> Senior Software Engineer
> LinkedIn: http://www.linkedin.com/in/cecilwesterhof
 
Well, you can correct ...more
Cecil Westerhof <[hidden email]>: Dec 19 03:07PM +0100

>> Senior Software Engineer
>> LinkedIn: http://www.linkedin.com/in/cecilwesterhof
 
> Well, you can correct it yourself - it is a Wiki :).
 
Done.
 
I would have expected some save-guards, but ...more
Arjen Markus <[hidden email]>: Dec 19 06:42AM -0800

On Tuesday, December 19, 2017 at 3:14:04 PM UTC+1, Cecil Westerhof wrote:
 
> > Well, you can correct it yourself - it is a Wiki :).
 
> Done.
 
> I would have expected some save-guards, but there ...more
Andreas Leitgeb <[hidden email]>: Dec 19 01:57PM

> Gboard itself looks a little bit different than in any other app.
> I thought Android keyboard shouldn't be affected by apps, but obviously
> this isn't the case.
 
First of all, I don't "know ...more
Cecil Westerhof <[hidden email]>: Dec 19 10:08AM +0100

I just started with Tcl and now also with Tk. But I like it and I
think it will supplant my Bash usage.
 
I already wrote a little script that shows my CPU temperature in a
console. ...more
Arjen Markus <[hidden email]>: Dec 19 01:35AM -0800

On Tuesday, December 19, 2017 at 10:14:06 AM UTC+1, Cecil Westerhof wrote:
> Cecil Westerhof
> Senior Software Engineer
> LinkedIn: http://www.linkedin.com/in/cecilwesterhof
 
The Wiki has plenty ...more
Christian Gollwitzer <[hidden email]>: Dec 19 11:01AM +0100

Hi Cecil,
 
Am 19.12.17 um 10:08 schrieb Cecil Westerhof:
> I measure the temperature every minute. I would think to show a graph
> from the last 60 minutes and beside that the current temperature. ...more
Cecil Westerhof <[hidden email]>: Dec 19 11:10AM +0100

> trifle biased, though, as I developed it together with contributions
> from others.
 
> It sounds like you are looking for a stripchart facility. Both packages can do that.
 
OK, thanks. ...more
Rich <[hidden email]>: Dec 19 11:00AM


> I measure the temperature every minute. I would think to show a graph
> from the last 60 minutes and beside that the current temperature. The
> last part I know, but any pointers about how to ...more
Cecil Westerhof <[hidden email]>: Dec 19 01:23PM +0100

> set of links. #2 is the "I want to know how to draw a graph from a
> dataset" set of links (although reading the plotchart source would
> likely help here slightly as well).
 
...more
Harald Oehlmann <[hidden email]>: Dec 19 09:10AM +0100

Hi folks,
 
I do a follow-up on my own post, sorry.
I try to proceed with the issue.
 
So, what happens:
Folder: "c:\test\a b" (with a space)
 
Take Ashoks x86 gui starkits for tcl 8.6.6 and ...more
You received this digest because you're subscribed to updates for this group. You can change your settings on the group membership page.
To unsubscribe from this group and stop receiving emails from it send an email to [hidden email].