From: Eric M. <eri...@ro...> - 2022-10-06 01:25:38
|
Hello, Joachim, I have been looking at what I said about pulling out colour references into a simplified mechanism for customizing. Attached is the corrected version of the script to locate line references with the -fg, -bg, -foreground and -background keywords. I have started the process by extracting the references to colour values as uniquely defined variables at the start of scripts. Attached is a set of those which I have done so far. IMPORTANT: What I have noticed is that, for the most part, the -foreground colour is not explicitly defined in the definitions statements. While I understand that you expected components/widgets to inheret that value, I believe that initial value (and possibly revisit value) is not initialized, at least not in a manner compatible with the defaults of tkeclipse. If that value were explicitly defined within tkeclipse that could likely resolve the issue which I am encountering. If not, I will have to keep plugging along with what I started, and later extract those as an externally file with shared color parameter definitions. I used a non-functional naming to be consistent with the initial colour assignments. Only later, when I finally understand while code relates to which component of the GUI, will I attempt to assign a set of functionally related variable names. Eric On 2022-10-02 18:29, Joachim Schimpf wrote: > > Hi Eric, > > Sorry you are having so much trouble with this. It's particularly > surprising as I am using Ubuntu Mate 20.04 myself and things are fine > for me. This is what I normally see: > > Even when I change my MATE desktop theme to dark/black (via > Preferences/Appearance), this only affects the borders, not the > content of the tkeclipse windows. > > As you see, I am also using the system's default Tcl/Tk 8.6, so I'm > pretty confident that there was no problem with your ECLiPSe > installation process. Installing without Java is also fine (only > required for VisualisationClient and CP-Viz tools). > > > We have already established that when you simply start wish (the > tcl/tk interpreter) > > $ wish > % tk_chooseDirectory > > you already get an unusable directory chooser, which means the problem > does not come from tkeclipse as such, but is is already inherent in > your underlying Tcl/Tk installation. This should be repaired first, > before attempting to modify tkeclipse. > > Looking at my tcl-related packages, I see only > > tcl packages > > while you have extra things called tcl-awthemes, tcl-ttkthemes etc. I > wonder if these screw things up. > > > Regards, > > Joachim > |