3

I was taking a look at Shoes which seems like a very nice tool for quick GUI applications. The common elements/controls, however, don't seem to include the equivalent of a list/report view (e.g., ListView in Windows, NSTableView in OS X).

Did I just miss this, or does it not (yet) exist?

Keltia
  • 14,535
  • 3
  • 29
  • 30
Jim
  • 4,691
  • 1
  • 25
  • 23

3 Answers3

1

If you mean output a large quantity of textual data such as a report or table then there's a nice simple app in the shoebox called the Simple Table Class which works very nicely. Before I found it i was ready to give shoes up - but this class solved my problem in minutes.

Looking for it i stumbled across laces which includes a class called The Tablie. I haven't tried it but I am suddenly intrigued....

deau
  • 1,193
  • 1
  • 9
  • 14
1

There doesn't seem to be. Shoes Classes doesn't seem to mention anything similar.

I guess it shouldn't be too difficult to manually create something similar. The good-vjot.rb sample script is probably the closest I can think of, although it's hardly identical..

Martin DeMello's Gooey Challenge (Using Shoes widgets to build custom Shoes controls) may be of some help

dbr
  • 165,801
  • 69
  • 278
  • 343
0
Shoes.app do
  stack do
    @l = list_box :items => ["YES", "NO"] do
      alert @l.text
    end
  end
end