# Qtruby and pointers

**URL:** <https://www.ruby-forum.com/t/qtruby-and-pointers/187464>\
**Category:** Ruby\
**Created:** [April 23, 2010, 4:48pm UTC](https://www.ruby-forum.com/t/qtruby-and-pointers/187464 "2010-04-23T16:48:46Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![bob84123](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/b/e95f7d/32.png) [@bob84123](https://www.ruby-forum.com/u/bob84123)\
**Post date:** [April 23, 2010, 4:48pm UTC](https://www.ruby-forum.com/t/qtruby-and-pointers/187464/1 "2010-04-23T16:48:46Z")

</div>

Hi,

I’m newish to the whole qtruby thing, and I’ve run into an interesting  
problem. I’m in a situation where I would like to use  
[http://doc.qt.nokia.com/4.6/qgridlayout.html#getItemPosition](http://doc.qt.nokia.com/4.6/qgridlayout.html#getItemPosition) , however  
as you can see rather than the method returning anything, it’s  
referencing pointers with the return values. Does anyone know if it’s  
possible for me to make use of this method? I’ve tried looking for some  
information on this, but it seems as though qtruby is highly  
undocumented =/.

Thanks in advanced.
