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...
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.