Does Shoes have a list view control?

吃可爱长大的小学妹 提交于 2019-12-04 12:51:43

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....

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

Shoes.app do
  stack do
    @l = list_box :items => ["YES", "NO"] do
      alert @l.text
    end
  end
end
标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!