Yeah, well, I only began this thing because I thought it would be 100,
maybe 150 lines of code. And it ballooned to more than 1,600.
OK, it was good. It's not very polished, it's poorly tested and a few
things can be considered unfinished, but it's pretty usable. I will
improve it later.
What's Your Type, version 0.1, beta. https://sourceforge.net/projects/whatsyourtype/
Linux only. Windows coming soon.
Luc <luc@sep.invalid> writes:
Yeah, well, I only began this thing because I thought it would be 100,
maybe 150 lines of code. And it ballooned to more than 1,600.
OK, it was good. It's not very polished, it's poorly tested and a few
things can be considered unfinished, but it's pretty usable. I will
improve it later.
What's Your Type, version 0.1, beta.
https://sourceforge.net/projects/whatsyourtype/
Linux only. Windows coming soon.
I altered your script like:
if {[info exists env(XDG_CONFIG_HOME)]} {
set ::homedir $env(XDG_CONFIG_HOME)
} else {
# Try to be future ready: no tilde expansion
# anymore in Tcl 9
set ::homedir $env(HOME)/.config
}
I don't have XDG_CONFIG_HOME set in my enviroment because I just use the >default (~/.config). This is just fine, according to the XDG Base
Directory Specification[1]:
You can get it to run on Windows too. Changes for Windows are:
1) Remove or comment out the entire block of code above and just say this: >set ::homedir [pwd]
2) there are a few places that use commands similar to "wm attributes
$::b1 -zoomed 0". This usage is Linux specific and will throw an error.
However, I am not sure what I am looking at. Typing c will let you
change some settings. It is very hard to scroll - maybe it is not meant
to be scrolled. It displays the fonts on your system with a sample text
to see what they look like.
Please remember that very few people even know what Tcl/Tk is so I
really need to distribute binary versions.
The description of the program is quite clear on its SourceForge page.
There is also a manual. Did you press F1? You should have been informed
of the F1 binding on the first run.
Please elaborate on "very hard to scroll." It should scroll smoothly. Are
you on Windows?
You can't use the mousewheel scroll. It doesn't do anything. I can
You can't use the mousewheel scroll. It doesn't do anything. I can
click or select anything. I can grab the scrollbar and then it works
but it is a bit different? When I do Control-A, in full selection mode,
you see the outlines if widgets and stuff.
I guess my confusion was around the precise widget positioning stuff
that was discussed in the threads. You can completely ignore my comment.
On Sun, 10 Mar 2024 19:19:43 +0100, Rolf Ade wrote:
I don't have XDG_CONFIG_HOME set in my enviroment because I just use the >>default (~/.config). This is just fine, according to the XDG Base
Directory Specification[1]:
I had no idea. I trusted that variable to be universal. Will be fixed in the next version. Thank you.
On Sun, 10 Mar 2024 18:43:41 -0400, saitology9 wrote:
The mousewheel scroll works fine for me on Linux. The selection doesn't
go along though. So yes, it's awkward. I will have to fix that.
Control-A doesn't work at all for me. Does it for you? I can select all
by double-clicking the background. But that should not happen. Will fix
it too.
On Sun, 10 Mar 2024 19:19:43 +0100, Rolf Ade wrote:
I don't have XDG_CONFIG_HOME set in my enviroment because I just use the >>default (~/.config). This is just fine, according to the XDG Base
Directory Specification[1]:
I had no idea. I trusted that variable to be universal. Will be fixed in
the next version. Thank you.
Sysop: | DaiTengu |
---|---|
Location: | Appleton, WI |
Users: | 915 |
Nodes: | 10 (2 / 8) |
Uptime: | 43:41:12 |
Calls: | 12,170 |
Calls today: | 2 |
Files: | 186,521 |
Messages: | 2,234,535 |