From: Randy Kramer Date: 2006-03-14T02:16:53+09:00 Subject: Re: Does Ruby TK have an HTML rendering "widget"? On Thursday 09 March 2006 12:34 pm, Hidetoshi NAGAI wrote: > One of such widget is "Tkhtml" (http://www.hwaci.com/sw/tkhtml/). > Another one is "scrolledhtml" widget included in [incr Widgets] > (http://incrtcl.sourceforge.net/iwidgets/). > Those Tk extensions are available on current Ruby/Tk. > If you use ActiveTcl binary package for your Ruby/Tk, > you'll be able to use those extentions already. Thanks! I took a quick look at those, and they may be what I need. (I was/am considering khtml also, but I think one of these will have a shorter learning curve.) One thing I want to be able to do is send HTML to them (rather than have them fetch a URL) and the sample code for TkHTML does exactly that! I'm sure I'll have more questions as time goes by, but I'll mention two that spring to mind immediately (in case somebody can answer them easily): * I presume I can have multiple instances of the widget without interfering with each other? * In the application I'm hoping to build, I'll want to send occasional updates of the HTML (either append or clear and send new HTML) to an instance of the widget without needing to create a new instance (I don't want to wait for the widget to start again). Possible? Thanks again! Randy Kramer