guys, I think it is far beyond my ability to create my own widget
> nimx offical image says "no, there is no table widget".
nimx is pure native Nim, so you should be able to create whatever widget you
need.
1. Yes, [FLTK]([http://www.fltk.org](http://www.fltk.org)) uses C++, but
[D.J.Peters's FLTK **C** for
FreeBasic]([https://www.freebasic.net/forum/viewtopic.php?f=14=24547=180](https://www.freebasic.net/forum/viewtopic.php?f=14=24547=180))
supplies a C interface() just like the old wx-c did),
Moerm, I think FLTK is a C++ lib, so I would guess that the argument is a C++
reference to a pointer. So maybe it would be a proc Fl_Widget_TrackerDelete(wt:
var ptr Fl_Widget_Tracker) in Nim. But I know not much of C++, and even for C
guessing the real meaning of parameters is not always easy,
Re question 1: Where does that `void Fl_Widget_TrackerDelete(Fl_Widget_Tracker*
& wt);` declaration come from? I doubt that it's coming from FLTK and I'm not
surprised that c2nim doesn't digest it. Are you sure that the `&` is really
there before `wt`?
Thanks
I don't mean to throw tons of code line, so I extract some typical ( at least I
think) function declaration lines, even in C header files they looks the same.
The other lines, which I did not enclose here, can be treated by c2nim or my
newbie's brain.
As for the C header files,
We are not in your head nor do we have the C (or Basic?) source code in front
of us. So if you throw some code line at us without any context it'll be hard
for us to help you. Also note that the intersection of Nim and Basic developers
is probably very small (as opposed to Nim and C) so asking
first, some questions about pointer
**question 1**
void Fl_Widget_TrackerDelete(Fl_Widget_Tracker* & wt);
Run
c2nim says Error: token expected: )
**question 2**
void flFileChooserCallback(void(*cb)(const char* f));
Run
c2nim