wxRuby code examples!

Hi all ! I am new at wxRuby and need more code examples to learn better
!
I´m searching in the Net but all with simple examples and i cant
understand somethings yet…

Any special place to see some codes ?

thanks any help

Welcome to WxRuby!

specifically what things do not understand??

Fernando Sáenz wrote:

Welcome to WxRuby!

specifically what things do not understand??

For example, i cant yet to center a Frame on the display !
Right, the API is there !

I´m using…

Frame#centre

centre(Integer direction = BOTH)

Centres the frame on the display.
Parameters

* direction The parameter may be HORIZONTAL, VERTICAL or BOTH.

but it dont work :frowning:

so I sure i´m doing something wrong, and cant understand yet to join
create the controls, events, layouts all the things together etc…

Luiz M. wrote:

but it dont work :frowning:

frame.centre(Wx::BOTH) works for me.