10 More Discussions You Might Find Interesting
1. War Stories
YAY!
Finally, seems like forever, I added this CSS to the posts (postbit) for table columns and scrollbars work still do not work for code tags and text inside posts.
<style>
td {
max-width:200px;
overflow: auto;
white-space: nowrap;
}
</style>
YAY...
Now scollbars... (3 Replies)
Discussion started by: Neo
3 Replies
2. What is on Your Mind?
Making some progress using CSS from Bootstrap; changing table classes to the Bootstrap "table" class and wrapping those tables in a div with a scroll bar.
So, the good news is that now each post with large blocks of code that exceeds the width of the screen will have a scrollbar; but the bad... (0 Replies)
Discussion started by: Neo
0 Replies
3. Shell Programming and Scripting
how can i make a list with the n last files and their details in tcl?..
thanks. (0 Replies)
Discussion started by: eee
0 Replies
4. UNIX for Advanced & Expert Users
i am new one to tcl/tk
OTP-ARB:/home/ponmuthu/tcl=>/usr/bin/tclsh
tclsh tclsh8.4
OTP-ARB:/home/ponmuthu/tcl=>/usr/bin/tclsh
% wish
Application initialization failed: no display name and no $DISPLAY environment variable
when i give like that i am getting error Application... (0 Replies)
Discussion started by: ponmuthu
0 Replies
5. Shell Programming and Scripting
Hello;
I have a console application who shown a output in every iteration, now i create a small GUI to call the application with button etc..., but what must i do to follow showing the output in the screen?
Advanced thanks,
Pablo (0 Replies)
Discussion started by: pablodecastillo
0 Replies
6. Shell Programming and Scripting
Hello,
Can someone explaine me the meaning of this program:
#! /usr/bin/tclsh
set mctal
set a
set b
set c
set d
set e
while {! line cell]} {
}
while {! line]} {
}
while {! line cell]} {
}
while {! line]} {
} (0 Replies)
Discussion started by: jolecanard
0 Replies
7. Shell Programming and Scripting
Does any one know how to capture the output of command called from a TCL script?
I cannot figure this out. I've been working on it for 4 hours now :confused: (2 Replies)
Discussion started by: Lorna
2 Replies
8. Shell Programming and Scripting
Can someone identify what is the problem here?.
no children
while executing
"exp_wait -nowait -i -1"
(procedure "logOptions" line 45)
invoked from within
"logOptions"
(procedure "doExecute" line 98)
invoked from within
"doExecute"
(procedure "main" line 32)
... (7 Replies)
Discussion started by: calsum
7 Replies
9. Shell Programming and Scripting
Hello Tcl Experts,
set i 0
while { $i < 10 } {
puts "$i"
incr i
}
I am trying to print the value of "i" at the same place. i.e. it should first print "1", then in next iteration print "2" over the location of "1" and so on.... (i.e. in every iteration, delete the previous number and... (2 Replies)
Discussion started by: sumitgarg
2 Replies
10. Shell Programming and Scripting
can someone tell my why the puts is not reflecting the variable?
CUT -->
set fp
while {-1 != } {
button .a${line} -text "${line} " -width 20 -command {
puts $line
}
pack .a${line}
} (0 Replies)
Discussion started by: hpuxrox
0 Replies
autoscroll(n) Automatic mapping of scrollbars autoscroll(n)
__________________________________________________________________________________________________________________________________________________
NAME
autoscroll - Provides for a scrollbar to automatically mapped and unmapped as needed
SYNOPSIS
package require Tcl
package require autoscroll ?1.1?
::autoscroll::autoscroll scrollbar
::autoscroll::unautoscroll scrollbar
::autoscroll::wrap
::autoscroll::unwrap
_________________________________________________________________
DESCRIPTION
This package allows scrollbars to be mapped and unmapped as needed depending on the size and content of the scrollbars scrolled widget. The
scrollbar must be managed by either pack or grid, other geometry managers are not supported.
When managed by pack, any geometry changes made in the scrollbars parent between the time a scrollbar is unmapped, and when it is mapped
will be lost. It is an error to destroy any of the scrollbars siblings while the scrollbar is unmapped. When managed by grid, if anything
becomes gridded in the same row and column the scrollbar occupied it will be replaced by the scrollbar when remapped.
This package may be used on any scrollbar-like widget as long as it supports the set subcommand in the same style as scrollbar. If the set
subcommand is not used then this package will have no effect.
::autoscroll::autoscroll scrollbar
Arranges for the already existing scrollbar scrollbar to be mapped and unmapped as needed.
::autoscroll::unautoscroll scrollbar
Returns the named scrollbar to its original static state.
::autoscroll::wrap
Arranges for all scrollbars created after this command is run to be automatically mapped and unmapped as needed.
::autoscroll::unwrap
Turns off the automatic autoscrolling of all new scrollbars. Does not effect existing scrollbars
text .t -yscrollcommand ".scrolly set"
scrollbar .scrolly -orient v -command ".t yview"
pack .scrolly -side right -fill y
pack .t -side left -fill both -expand 1
::autoscroll::autoscroll .scrolly
KEYWORDS
scroll, scrollbar
autoscroll 1.1 autoscroll(n)