Hello Joshua,<br><br><div><span class="gmail_quote">On 3/9/08, <b class="gmail_sendername">Joshua Lefkowitz</b> &lt;<a href="mailto:lists@ruby-forum.com">lists@ruby-forum.com</a>&gt; wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>Mario, thanks for the input.&nbsp;&nbsp;I do need to have a GUI for my final app,<br> but it doesn&#39;t have to be via DialogBlocks/XRCise.&nbsp;&nbsp;I guess my question<br> is, if I learn about GUI in say Tk, how easily will i be able to apply<br>
 that to any of the other GUI aps--fxruby, wxruby, etc.?</blockquote><div><br>Just a note, but when reffering to other GUI Toolkits, like Tk, FXRuby and wxRuby, they are technically GUI Libraries.&nbsp; As to your particular question, I strongly, very very strongly recommend staying with 1 GUI Toolkit.&nbsp; The reason for this, is that each GUI Toolkit library has it&#39;s own API Interface, it&#39;s own set of Controls, it&#39;s own way of handling Events that come from the GUI elements.&nbsp; Also, there&#39;s certain advantages and dis-advantages to using each Toolkit.&nbsp; Tk, is a very low level GUI Toolkit, and heavily relies on having the TK/TCL Framework installed along side Ruby in order to work.&nbsp; GUI Apps that are created with TK, do not truely have a native OS feel to it, and can tend to be over-complicated.<br>
<br>FXRuby, has a Single GUI Look and Feel, so it&#39;s garunteed to look the same across all platforms, though that is not always a good thing.&nbsp; The reason why it looks the same no matter what platform you run on, is cause Fox does all of it&#39;s own drawing for all the controls that it has associated with it.&nbsp; I have found many times over, that with this method of drawing controls, can lend to be a main cause for bottlenecks in programs developed in Ruby.&nbsp; Everything is compiled in with the Extension, so you don&#39;t need to re-distribute a whole bunch of stuff, just a single .so file and a few .rb files, which makes it a lot easier to port.<br>
<br>wxRuby on the other hand, utilizes Native OS Controls wherever possible, only substituting for controls that do not exist on the platform in question.&nbsp; It&#39;s very fast, and has very few bottlenecks, cause it&#39;s not custom drawing every single control, outside of the main Window.&nbsp; This is favorable, cause it will retain the user&#39;s preferences for Font size, control colors, layout, etc, etc.&nbsp; Also, as with FXRuby, wxRuby has a single SO File, and a few .rb files, making distrobution easier.<br>
<br>Going between these three toolkits, can be very fustrating when your trying to develop apps.&nbsp; Do note, that these are my own opinions, and experiences from using these three Toolkits, and even though I develop soley with wxRuby, I encourage people to experiment with other libraries, but only pick 1 toolkit in which to do any programming with, otherwise, it will get harder and more frustrating in which to do stuff, any other way.<br>
</div><br>If you have any other questions, please feel free to ask away!<br>L8ers,<br></div><br>-- <br>Mario Steele<br><a href="http://www.trilake.net">http://www.trilake.net</a><br><a href="http://www.ruby-im.net">http://www.ruby-im.net</a><br>
<a href="http://rubyforge.org/projects/wxruby/">http://rubyforge.org/projects/wxruby/</a><br><a href="http://rubyforge.org/projects/wxride/">http://rubyforge.org/projects/wxride/</a><br><a href="http://rubyforge.org/projects/vwmc/">http://rubyforge.org/projects/vwmc/</a>