When i decide to create a GUI for my desktop "Ruby" application, i have been stucked about wxruby. Then i have looked at wxwindows and wxwidgets sources but the syntax was not so familiar to me. Because the examples were written in C++ generally. For understanding main concept this experience was good for me. Later, for more familiar syntax i have looked at wxphyton sources and i read many informations but it was not ruby at the end. Do you suggest me any other sources for wxruby except examples which come with gem installation? -- Posted via http://www.ruby-forum.com/.
Actually I''m looking wxPython and learning from wxPython in action, I believe that if you following the book, the syntax wouldn''t be too much a problem, it is quite understandable. Anyway, I''m learning from the book and the wxPython/wxRuby example. (the wxWidget in C++ is far from me too, so I chose python). Good luck. On 10/20/07, Umut Yilmaz <lists at ruby-forum.com> wrote:> When i decide to create a GUI for my desktop "Ruby" application, i have > been stucked about wxruby. > > Then i have looked at wxwindows and wxwidgets sources but the syntax was > not so familiar to me. Because the examples were written in C++ > generally. > For understanding main concept this experience was good for me. > > Later, for more familiar syntax i have looked at wxphyton sources and i > read many informations but it was not ruby at the end. > > Do you suggest me any other sources for wxruby except examples which > come with gem installation? > -- > Posted via http://www.ruby-forum.com/. > _______________________________________________ > wxruby-users mailing list > wxruby-users at rubyforge.org > http://rubyforge.org/mailman/listinfo/wxruby-users >-- Best Regards XRuby http://xruby.com femto http://hi.baidu.com/femto
Hello Umut, There''s not much in "current" examples, or Tutorials, to help people along with their development of wxRuby. But, you can also ask on here, about a certain way a control is created, or used. You''ll find that a lot of us will be happy to send you example code to implement what you are trying to do, so that you can see how it''s done. Always feel free to ask about some code here, to implement what you are trying to do. ;-) Mario Steele Umut Yilmaz wrote:> When i decide to create a GUI for my desktop "Ruby" application, i have > been stucked about wxruby. > > Then i have looked at wxwindows and wxwidgets sources but the syntax was > not so familiar to me. Because the examples were written in C++ > generally. > For understanding main concept this experience was good for me. > > Later, for more familiar syntax i have looked at wxphyton sources and i > read many informations but it was not ruby at the end. > > Do you suggest me any other sources for wxruby except examples which > come with gem installation? >
Umut Yilmaz wrote:> When i decide to create a GUI for my desktop "Ruby" application, i have > been stucked about wxruby. > > Then i have looked at wxwindows and wxwidgets sources but the syntax was > not so familiar to me. Because the examples were written in C++ > generally.I agree that the C++ code samples have a lot of language "noise" that makes it hard to translate to Ruby; wxPython is probably a better learning source. Aside from the samples and the wiki tutorials, you might have a look at the code of some real life wxRuby applications: http://wxruby.rubyforge.org/wiki/wiki.pl?OnlineCodeExamples Weft QDA, for example, is a database-based application with multiple windows, dialogs and controls; it deals with structuring a larger application. As Mario says, questions about using the library are very welcome on this list. wxRuby''s such a big API that everyone often ends learning something from them, even if they seem simple. Lastly, we will be looking to add more tutorials and examples; it''s only really in the last six months or so that some core technical problems have been resolved in the library, and the API firmed up - that''s been occupying most of the time of the core dev team. cheers alex