I finally made some progress setting up TkHTML and getting it to run
both as a
Ruby script and within irb. (The most basic thing I have to do is start
(or Ruby) with prefixes like:
Somebody had told me that before, but it didn’t seem to work before (I
did a reinstall, so maybe that is the difference). (And, unfortunately,
have to do another reinstall in the “near” future (maybe not for a few
because once again, readline did not get compiled in (but that was
had renamed readline.h a week or so ago to do some experimentation and
to rename it back.)
Minor point (for me) to remember–some of the examples I tried did not
the Tk.mainloop statement–worked much better after I added that
Fonts: The fonts don’t look too good–I presume that when I learn
about TkHTML, I’ll find a way to change the fonts, maybe not by the
hopefully within Ruby? (I’m hoping not to have to fool around in C,
or whatever to change fonts.)
Background: When I run either hv.rb or ss.rb, I get a nice white
background (i.e., this is what I want). When I run (this) sample
doc = “<body bgcolor=”#FFFFFF"><FONT SIZE=“3” COLOR="#000000"
FACE=“Courier,serif”>It is worth"
hv = Tk::HTML_Widget.new.pack
I get a gray background, which I don’t want. I presume I’ll find a way
change this to white as well, hopefully within ruby (or maybe my HTML is
totally wrong (which wouldn’t surprise me))?
- Full Screen mode:
When I run ss.rb and switch to full screen mode on my dual head machine,
widget expands to fully cover both “heads”.
Furthermore, I can’t find a way to get of full screen mode except by
to a VT, then finding and killing the process. (I’ve tried f,f
some other things I could think of.) Is there another way?
Note: These points about full screen mode are probably not a big
probably just disable full screen mode on the ss.rb menu (if I use