addis_a
1
I’m really struggling to understand how I may implement a single window
with multiple ListViews.
Using the example http://visualruby.net/site/ListView%20Tutorial.html
I wish to have multiple folder lists within one window. Any help would
be very much appreciated.
Create a new window in glade. Add 2 vboxes named vbox1 and vbox2. Then
you can add a listview to each box:
I think this works:
def before_show()
@vbox1 = VR::ListView.new(hash)
@vbox2 = VR::ListView.new(hash2)
end
If the = doesn’t work then try this:
@builder[“vbox1”].add(VR::ListView.new(hash))
This will fill the vboxes with the listviews. Of course, you may wish
to populate them first.
Eric