[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.ruby

Using WxRuby

Marcelo (PC)

5/26/2005 11:08:00 PM

Hello there...I'm using WxRuby and I haven't found the method to get the
value of the selected cell.. I tried to
use the following but didn't work.

value = @grid.get_cell_value(
@grid.get_cursor_row,@grid.get_cursor_column )

Could anyone point out the correct method? Thanks


WxRuby seems like a very good tool, but lacks from a complete
documentation. The documentation that
I have found is very good but not very complete.


Thanks

Marcelo

--
Este correo esta libre de virus!



2 Answers

Assaph Mehr

5/27/2005 1:42:00 AM

0



Marcelo Paniagua wrote:
> Hello there...I'm using WxRuby and I haven't found the method to get the
> value of the selected cell.. I tried to
> use the following but didn't work.
>
> value = @grid.get_cell_value(
> @grid.get_cursor_row,@grid.get_cursor_column )
>
> Could anyone point out the correct method? Thanks

This worked for me. What is the problem you encounter?


> WxRuby seems like a very good tool, but lacks from a complete
> documentation. The documentation that
> I have found is very good but not very complete.

You can read the wxWidgets API documentation. Of course, they document
the C interface, but the wxRuby maintainers have kept to a simple
translation mechanic. So first read
http://wxruby.rubyforge.org/wiki/wiki.pl?APIReferenceDoc... and
then you can easily refer to the C documentation during development.


HTH,
Assaph

Zach Dennis

5/27/2005 2:10:00 AM

0

Marcelo Paniagua wrote:

> WxRuby seems like a very good tool, but lacks from a complete
> documentation. The documentation that
> I have found is very good but not very complete.

There is some better api documentation at
http://www.mktec.com/dev_www/wx...

Zach