From: Ken Bloom Date: 2009-08-05T13:09:15+09:00 Subject: Re: QtRuby Questions: Why does Matthew Borgeson wrote: > Ken- > First, I do apologize for the long post...i just wanted to be clear and > am used to dotting my i's and crossing my t's too precisely in my line > of work (clinical pharmacist) Making minimal examples helps not just in the asking process, but also in the learning process. Frequently eliminating unnecessary stuff to ask a question brings the problem into sharp enough focus that you could answer it yourself. > Second, thanks for the help. I was unaware that I could pass blocks (in > addition to methods) with a signal(as opposed to a call to CONNECT). All > the examples I have seen use the control/signal/control/slot syntax with > the creation of a slot method. > > I am glad I posted this here not only for myself, but for anyone else > learning QtRuby on their own. Hopefully it will make it easier for those > who, like me, started their programming with Ruby and are slowly making > their way toward proficiency... I had some of these same issues trying to learn QtRuby for myself. This particular piece of information was not easy to find. In the end though, I actually found that GTK+'s Ruby interface was more Ruby-like, and also very well documented, so my latest GUI programming project has been using GTK+ instead. -- Chanoch (Ken) Bloom. PhD candidate. Linguistic Cognition Laboratory. Department of Computer Science. Illinois Institute of Technology. http://www.iit.edu/~kbloom1/