[wxruby-users] xrc file and WxGrid

Mario Steele mario at ruby-im.net
Thu Mar 19 14:23:58 EDT 2009


No, wxWidgets and further more wxRuby can use just about any control defined
through XRC.  There's not much we can tell from that snippet you gave us.
Could you attach both the XRC and the Ruby files your using to attempt to
load the Window, with the Grid, that shows the problem of it not working,
and also please mention what Platform, and Version of Ruby/wxRuby you are
attempting to use.

Thanks,

~ Mario

On Thu, Mar 19, 2009 at 1:09 PM, Trans <transfire at gmail.com> wrote:

> Has anyone any experience with using a XRC file that setsup a Wx::Grid?
>
> I'm using wxFormBuilder, in which I setup a grid in a boxsizer, with
> column names and all. But when I render it via Ruby the grid is just a
> small empty gray box, and I can't seem to manipulate it at all. I
> tried adding columns, resizing columns, populating it with data, etc.
> but still nothing.
>
> I look at the XRC file and see that this is all it is:
>
>        <object class="sizeritem">
>                <option>1</option>
>                <flag>wxALL</flag>
>                <border>5</border>
>                <object class="wxGrid" name="grid_videos" />
>        </object>
>
> Does XRC not handle Wx::Grid properties?
>
> ~Trans.
> _______________________________________________
> wxruby-users mailing list
> wxruby-users at rubyforge.org
> http://rubyforge.org/mailman/listinfo/wxruby-users
>



-- 
Mario Steele
http://www.trilake.net
http://www.ruby-im.net
http://rubyforge.org/projects/wxruby/
http://rubyforge.org/projects/wxride/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://rubyforge.org/pipermail/wxruby-users/attachments/20090319/9df1f367/attachment.html>


More information about the wxruby-users mailing list