开发者

Is there a multi-column listbox widget in FLTK?

开发者 https://www.devze.com 2023-02-10 06:14 出处:网络
I\'m evaluating cross-platform GUI toolkits for C++ development. I already use Qt but in this case the LGPL is too restr开发者_运维技巧ictive (I need to link statically).

I'm evaluating cross-platform GUI toolkits for C++ development. I already use Qt but in this case the LGPL is too restr开发者_运维技巧ictive (I need to link statically).

Now FLTK would be an excellent library for my purposes, because it seems to be fast and lightweight. However, I haven't been able to figure out whether it has a multi-column listbox widget. You know, one of those grids with rows and columns of strings and headers that can be clicked to sort a column---preferably all with a native look-and-feel.

Is there such a thing in FLTK? How is it called? Or should I use wxWidgets instead?


Fl_Table. It comes with the 1.3 release candidate. There is an example in 1.3 /test of a sortable table that I have modified and used. It feels a lot lower level than QT but you can do anything with it. Also, if you look close parts of wxWidgets has licensing similar to QT.

Table.html">http://www.fltk.org/doc-1.3/classFl_Table.html

0

精彩评论

暂无评论...
验证码 换一张
取 消