Changing the font of ttk::entry I can change some options (like the background) of a ttk::entry without problem just creating a style and assigning it to the widget. But so far failed to do likewise for the font. What's the trick? I'm working on Windows XP, with the default theme. ... 30 Apr 2010 10:34
Canvas font size question I have some canvas text created using a named, mono spaced font. I'm looking for the fastest possible way to change the size of the named font so that a single character is as close as possible to a specified width. So, for example, maybe: font measure myNamedFont "X" --> 10 (width in pixels of the "X" cha... 28 Apr 2010 18:34
canvas, [font measure], and vertical text The width of a given string place on a canvas in a specified font seems to match the value returned by [font measure]. In my specific case, that value is 60. However, if I rotate the text by 90 degrees so that the string is vertical (using 8.6 code), the string now takes up about 70 pixels in height. I nee... 29 Apr 2010 10:05
How to capture text in tk widget Hi, I have a tk text window. My need is - if I highlight some portion of text with mouse, it should automatically be saved into a variable. Please suggest me on how to do this. Thanks, Balajee ... 28 Apr 2010 09:27
Delete spaces Hi, I'd like to delete spaces from a string. I have 2 strings "111" and "111", I use concat to get "111 111" and now I want to get "111111". Does someone know what instruction I need? Thx ... 29 Apr 2010 04:34
How to "make install" while not a root? Hi, I do not have root permissions or even write permissions on some paths as a regular user. So, I'm trying to install a package in my home directory using the "make install" command. However, I get this famous message of "Error: *** [blabla] Error 1", I guess becuase I'm not a root user. My attempt to solve... 28 Apr 2010 20:51
tcl and powershell Hi If I call the powershell on windows with "exec powershell", the powershell crashed. How can I solve this problem? Regards Manfred ... 27 Apr 2010 16:46
tcl client certificate hi. i want to configure client certificate in the tls. right now we use pem certificate and all fine. we want to upgrade to store jks certificate. does the tls support this kind of file? ... 27 Apr 2010 09:52
Binary reader speed comparison - Tcl 8.5.8 to Tcl 8.6b1.1 I have a fairly simple binary reader proc that exhibits massive speed differences between Tcl 8.5.8 and Tcl8.6b1.1. Here's the proc: proc readFormatted {filename} { set fd [ open $filename r ] fconfigure $fd -encoding binary -translation binary binary scan [ read $fd 2 ] cc type nextlen ... 1 May 2010 12:02
Problems with Requiring Packages Hi All, I'm using a solaris machine, and I do not have any root access or even permissions to most of the paths that $auto_path points to. And, I desperately need to require some packages. So, here what I did, and please let me know where could have I been mistaken: 1- I downloaded the required tcl package in ... 27 Apr 2010 05:24 |