www.digitalmars.com         C & C++   DMDScript  

D - FLTK?

reply Chris <none none.invalid> writes:
Is there a D binding for Fltk?  I imagine it might be kinda tricky since 
Fltk is C++ (?).

I like Fltk because it is very lightweight (statically linking in your 
whole GUI API is cool) and cross-platform.
Apr 13 2002
parent "Pavel Minayev" <evilone omen.ru> writes:
"Chris" <none none.invalid> wrote in message
news:3CB82047.5070806 none.invalid...

 Is there a D binding for Fltk?  I imagine it might be kinda tricky since
 Fltk is C++ (?).

It is impossible to bind C++ classes to D. You can only do it with C. However, nothing stops you from writing a C wrapper over it and then making a D import for it.
Apr 13 2002