Hi,
I'm trying to get a GUI on my screen using a TCL/TK script called from C.
So far, no problem as long as I use "tkwait window ." so that my GUI knows that it needs to stay alive as long as the user didn't close it.
However, I often get error messages from TCL83.DLL or KERNEL32.DLL...
how can I use frames in such a way that the border remains visible, but the rest of it being transparant to all other objects.
Right now I more or less solve this with raise and lower, but since I don't know my widgets in advance, I can only do this once.
Namely, I tell each frame to put it...
Hi there,
can anyone help me with the following problem?:
I've got a text for a label or button with something like:
"hi e&veryone, I'm t&ext && happy"
I use the '&' as a flag to indicate that I want to underline the character after it (v e and & in this case). Also, the flags must...
is there an easy way of positioning windows on the centre of the screen? it has to be size-independent since I don't know the windows' size in advance.
-Jasper
I want to specify a font for a toplevel and all of its descendants.
Is there an easy way of doing this, instead of specifying the font for each widget?
I couldn't find a solution in the WIKI or help-file.
-Jasper
Hi,
currently I'm working on a piece of code for binding keysequences to action.
So far, so good. But I can't get my
"bind all <Alt-nr> {......}" working for nr=1 to 5
"bind all <Alt-6> {.....}" however, works fine
what's the problem here?
-Jasper
I'm trying to insert a rather large line of text in a tk_dialog, but a tk_dialog can't expand to the size of my text. Instead, it wraps the text so that it fits inside a predefined textarea. Very annoying, because I have newline character at the end of each line.
Does anyone have a workaround...
A couple of days ago I found an very helpful topic regarding control of entry-datatypes.
I've been playing around with the possibillities, and encountered the following problem with, for example, realnumbers:
1. when I set the -validate option to "key", I can't enter something like...
Hi,
I'm fumbling around with scales, and I was wondering how I can place a label on the slider's drag button with the scale's current value.
I think it has something to do with trapping the scale's new value and feeding it as content to my label, which also needs an update for its place.
Can...
Hi,
I'm trying to create a text widget (multiline) in which a user can only enter numeric data,blanks,tabs and newlines.
Does anyone know a way of testing such a textwidget for the above data?
When I build a GUI in Tcl/tk, I usually bind the <Return> key to the [OK] button and <ESC> key to the [CANCEL] button. But invoking the [OK] button is exactly what you don't want when you're typing in a Text widget and want to begin a new line.
I wonder if is it possible to temporarily...
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.