In Tk, you can use the variable option to a slider and the textvariable option to a label or button (or some other widgets) to 'project' the value of a variable onto the display - either changing the text on a button, or moving a slider automatically when some value changes otherwise within the code ....
pack .this .that -expand true -fill both
Why are there two different options expand and fill? Are they both needed?
expand causes a widget to expand to fill the space available as a window is stretched, and fill causes a widget to be filled to the cell so that it lines up with other widgets.
....
In Tcl, both Curley braces and double quotes can be used to hold a block of program or data together as a single unit / parameter ... but there are differences ...
a) Curley braces can stretch over a number of lines, with new lines within the block being simply a part of the block. So they're idea ....
If you tell a story against someone, best to be telling it against yourself!
One of our web servers (running standard, not our own software behind the scenes) has been having a problem with handling denial of service attacks which are coming in from time to time ... and I have a monitoring script r ....
When you're programming, you shouldn't write code to read directly from the keyboard and write to the screen .... what if you want to have your program read from or write to a file sometimes? Instead, you should write code to read from stdin (Tcl) or STDIN (Perl) and write to stdout (Tcl) or STDOU ....
Our public Java courses:
Java Bootcamp- 4 days
Java Programming for the Web - 5 days
Deploying Java Apps under Linux / Unix - 5 days
Apache httpd and Tomcat Deployment - 2 days
Our courses are modular and we have further material - please ask about private courses if you have a group of delegates as ....
What's this list got in common (apart from all being countries?)
BelgiumEnglandFinlandFranceGermanyGuernseyIrelandNetherlandsNorwaySaudi ArabiaScotlandSloveniaSwedenUSAWales
They're all countries that I've visited to give training coures over the past few years - five or six of them just this year ....
Here's a Python script which is pretty imperfect, but shows a whole lot of the basic facilities of the language in use - a sort of "you can do it this way" crib sheet for newcomers. Written during last week's course, with delegates making suggestions as I went along - so if you think the code looks ....
There's a wide variety of accented characters used around Europe - and Slovenia this week was no exception! I know I should simply use a standard code chart when I need to find a "special" but it's so much easier to write a couple of loops of PHP!
See here for the source and here to run it ....
There are just ten training days left to Christmas ... and I have four courses to give.
Next Monday to Wednesday, I'm running a public Tcl course that's followed by a Tk course on Thursday and Friday. It's a bit late for me to advertise the Tcl (!) but actually our hotel is full so any more place ....