# Learning WxRuby

**URL:** <https://www.ruby-forum.com/t/learning-wxruby/149303>\
**Category:** Ruby\
**Created:** [September 23, 2008, 1:05pm UTC](https://www.ruby-forum.com/t/learning-wxruby/149303 "2008-09-23T13:05:51Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![snaggy](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/cdc98d/32.png) [@snaggy](https://www.ruby-forum.com/u/snaggy)\
**Post date:** [September 23, 2008, 1:05pm UTC](https://www.ruby-forum.com/t/learning-wxruby/149303/1 "2008-09-23T13:05:51Z")

</div>

I decided to learn WxRuby. I’d like a book or something about it, can  
you point me to some good resources? I don’t want to study from c++ or  
python stuff, only ruby…

thanks  
Snaggy

---

<div class="post-metadata">

**Author:** ![snaggy](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/cdc98d/32.png) [@snaggy](https://www.ruby-forum.com/u/snaggy)\
**Post date:** [September 23, 2008, 2:23pm UTC](https://www.ruby-forum.com/t/learning-wxruby/149303/2 "2008-09-23T14:23:22Z")

</div>

On Tue, Sep 23, 2008 at 8:05 PM, Snaggy [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> I decided to learn WxRuby. I’d like a book or something about it, can  
> you point me to some good resources? I don’t want to study from c++ or  
> python stuff, only ruby…
> 
> thanks  
> Snaggy

You could start here.

[http://wxruby.rubyforge.org/wiki/wiki.pl?Getting\_Started](http://wxruby.rubyforge.org/wiki/wiki.pl?Getting_Started)

Harry

---

<div class="post-metadata">

**Author:** ![snaggy](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/cdc98d/32.png) [@snaggy](https://www.ruby-forum.com/u/snaggy)\
**Post date:** [September 23, 2008, 5:16pm UTC](https://www.ruby-forum.com/t/learning-wxruby/149303/3 "2008-09-23T17:16:33Z")

</div>

Snaggy wrote:

> I decided to learn WxRuby. I’d like a book or something about it, can  
> you point me to some good resources? I don’t want to study from c++ or  
> python stuff, only ruby…

Aside from the wiki, I’d recommend looking at the samples that are  
included with the distribution. It’s probably best to start with

minimal/minimal.rb  
minimal/nothing.rb

These cover the basic structure of a wxRuby application, and have a fair  
amount of comments explaining what’s going on.

After that, take a look at some others, eg

controls/ & bigdemo/ [demonstrates a wide variety of different widgets]  
drawing/ [how to draw text, images etc]  
events/ [more advanced event handling]  
text/ [covers text controls and also internationalisation]

Questions on wxRuby are usually better on the wxruby-users mailing list;  
this is a good place to ask for general tips on learning and using the  
library.

[http://wxruby.rubyforge.org/wiki/wiki.pl?MailingLists](http://wxruby.rubyforge.org/wiki/wiki.pl?MailingLists)

a
