lkml.org 
[lkml]   [2001]   [Apr]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: CML2 1.3.1, aka "I stick my neck out a mile..."
At 09:03 30/04/2001, Eric S. Raymond wrote:
>Anton Altaparmakov <aia21@cam.ac.uk>:
> > >I tried whitespace, but the default Tkinter font isn't fixed-width. How
> > >do you do invisible text?
> >
> > Text colour = background colour -> invisible
>
>Well, duh. Unfortunately, it doesn't seem to have occured to the dozen or
>so people who suggested this that:
>
>(a) Background color can vary depending on how Tk's X resources are set, and
>
>(b) Tk doesn't give me, AFAIK, any way to query either that background color
> or those resources.

Well, that's a problem with Tk. I did say I know nothing about Tcl and this
extends to Tcl/Tk...

>Fer cripes' sake. If it were that easy I'd have *done* it already, people!

Well, you asked a generic question and not one of "how do you do this in
Tcl/Tk?" so you got a generic reply...

>Anyway my attempts to set a foreground color on an inactive button widget
>failed. I don't know why. Tk is full of weird little corners like that.
>
>What I've done is just disabled inactive help buttons without trying to
>hack the text or color. That makes them all the same width, though the
>legend "Help" does show up in gray on the inacive ones.

Cool.

Best regards,

Anton


--
Anton Altaparmakov <aia21 at cam.ac.uk> (replace at with @)
Linux NTFS Maintainer / WWW: http://sourceforge.net/projects/linux-ntfs/
ICQ: 8561279 / WWW: http://www-stu.christs.cam.ac.uk/~aia21/

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 12:52    [W:0.072 / U:0.348 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site