[wxruby-users] xrc file and WxGrid

Trans transfire at gmail.com
Thu Mar 19 14:09:35 EDT 2009


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.


More information about the wxruby-users mailing list