Hi,
tclsh
% expr 0.2+0.2
0.4
% expr 0.2+0.1
0.30000000000000004
%
Can anyone please explain me the logic, that if i add 0.2 with 0.2, it will give 0.4
but, if i add 0.2 with 0.1, it will give 0.30000000000000004 and not 0.3
Am i missing some thing.
thanks in advance.
In tk entry box, i have good amount of text, but some are internet web adresses.
i had added a tag to them as "hyperlink", but how can i configure cursor, so that on hovering these web addressed should become hand and for rest of the text it should be xterm.
Thanks in advance
In an application, We have big zinc canvas which have lot of items. Exporting them to image is taking lot of time, scrolling to each grid of item and capturing data
image create photo ${image}_tmp -format window -data $canvas
and passing it to main image
$image copy ${image}_tmp -to $image_x...
Please help me out.
If particular file is modified, at any moment, through any process ID, can we call any event. I could not use any while loop for regular check.
Basic idea is, when application is on, and user is working on it, and base file is modified using other process, then suddenly...
I dont know its very weird friend.
I could not trace back the real sequence.
From NoteBook::_select proc --> _draw_page proc till _draw_area proc, machine is getting log off randomly.
Last time when i was working, it got log off on _draw_area proc thrice, but now i figured out it can be on...
Nope. It did not helped me. I tried giving hard coded values,
like
$path.c coords "window" 2 22
$path.c itemconfigure window -width 1318 -height 585 -window $path.f$sel
but results are same. :(
NO.. i traced back more in same procedure of "_draw_area" ....
$path.c itemconfigure "window" -width [expr {$w-3}] -height [expr {$yo-3}] -window $path.f$sel
Here BWidget code is configuring the canvas width and height....
These are the main culprit lines which are causing the Log-Off of the...
Hi,
i am very sorry for replying you late.
Very thanks for you reply. I tried changing the code, but could not help.
Apart from Close Tab, i am NOT facing any issues regarding BWidget
I traced back the whole issue. And finally got stuck to the one line.
STEP 1. I was tracing back for closing...
Hi,
I am using Bwidget code for Tab in my application.
These tab also has close tab button also.
When user close tab, then current tab is destroyed and net tab is raised.
When i am raising tab, the machine is getting logged off!
If i use the same in the machine having graphics card, then it...
This is just a thaught, but may be helpful for me in many scenarios. Is it possible to change the variables of one running script, using or invoking other script.
OR we can say like that..
Can i access variables of other script using mine script.
Operating System : Linux
Scenarios where it...
i need to download some files using tcl.
i cannot use wget/lwp(perl) due to some limitations.
Is there any tcl module to connect to internet and download files?
Please help
Thanks in advance
thanks for your support. :)
I did it in another way.
If anyone need it. Please try sourcing bgerror.tcl file again with all your editions.
It will override the previous bgerror.tcl and easiely you can catch these errors.
please if anyone can tell any way of keeping record of all the application errors flagged during usage. I tried using tk/bgerror.tcl
But this way will help on my machine only. If i install my application on other system, then i need to change tk binary accordingly. which is currently no...
I need to catch all kind of application errors, and put a record of it, But, code is that much huge, i cannot put catch on every procedure. So there must be one gateway for all the application errors. Hence if any procedure got any application errors, i will record the data and keep for further...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.