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...
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
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...
Hi all,
I have some application, which is using some file, but if in between user deletes that backend file then application can start giving error.
How can i prevent user from deleting/cutting/renaming/blocking of usage by other applications that file.
Due to some issues i cannot change the...
I am developing GUI, which have a Bwidget Notebook. In this BWidget Notebook i need close button by which user can able to close the tab.
CODE :
set w [toplevel .window]
wm title $w "WINDOW"
wm state $w normal
set frame [frame $w.h ]
set notebook [NoteBook $frame.nb -background #EDE9E3]
set...
When any application error comes while doing some thing, then ErrorDialog Box popups and says "Application Error" and give us 3 options : "Ok" "Skip Messages" "Details"
and detail will show you the main problem like ::
invalid command name ".button"
invalid command name ".button"
while...
we are developing GUI. we need to freeze the main window "." when back end procedure is going on. we also need not to wait for the response from the user, just destroy the waiting dialog box when process is over. can anyone please help me out on this. any kind of help will be appriciated. Thanks...
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.