Re: [Fxruby-users] having FXTable contain widgets?
Status: Inactive
Brought to you by:
lyle
From: Lyle J. <jl...@cf...> - 2003-08-22 16:53:17
|
Recheis Meinrad wrote: > do you think it is possible to subclass FXTable or FXTableItem (in Ruby) > in order to make a table of widgets possible? > i am asking this, because i am not satisfied with making a sort of table > by nesting FXMatrices. It *may* be possible, but I have the feeling that it's going to be very difficult. I know that some people have tried to do this in the past for the C++ library, with varying degrees of success. The basic problem is that the table items themselves are just data objects and not windows. That is, when you create an FXTable with 1000 cells, it is still just one *window* on the screen. As you know, it's different from an FXMatrix layout, where each individual "cell" in the matrix is its own window. A matrix with 1000 cells consists of 1001 windows. If this is something that you seriously want to pursue, I think I'd start by looking at the FOX Extension Library (at http://foxdesktop.sourceforge.net). This *is* a C++ library, but I think they may have an "editable" table widget which may give you some ideas. Hope this helps, Lyle |