From: Kevin S. <kev...@ya...> - 2001-09-07 04:20:47
|
I just added lib/fltk/listbox.rb whcih contains the start of a multi-column listbox class. I needed it for Monkeys. The initialize method needs to handle all the different parameter options (we need a template for how to do that in Ruby code, since every widget we create will need almost the same code). Eventually it should support all the Browser calls, but right now it just supports column_widths and add. It also has a new column_labels method. If you call it, and pass an array of strings, it will create column headers that are buttons. Later, those buttons could sort the list items. We could also insert little sizer buttons between the heading buttons, to allow dynamic resizing of the columns. Later. Kevin __________________________________________________ Do You Yahoo!? Get email alerts & NEW webcam video instant messaging with Yahoo! Messenger http://im.yahoo.com |