From: Stephen D. <st...@da...> - 2002-04-03 11:10:36
|
Hi, I want to use ruby-fltk for a user interface for a video system. A major component of the interface will need to be a Browser-type widget, mostly showing results of SQL selects. I want some flexibility in the drawing of the items in the browser - some will take more lines to show than others, in a few cases graphics (channel icons) may be included. Looking at the class heirarchy, I think I need to inherit from Browser_ - this is the one intended for custom drawing of the individual items, and also doesn't require that all the items to be displayed are "in memory". But is this class practically usable using RubyFLTK? I notice that the list of methods available from Ruby isn't very complete compared to the FLTK docs. Should I instead subclass Browser or something else? If so, will I be able to override the item drawing, and will the Browser handle varying heights etc? What is your advice? Thanks, Steve Davies |