Re: Using GTK+ from C++



mulgund sandeep adlittle com wrote:

Hello,

Is it possible to use GTK+ (i.e., the conventional C bindings) from within
a C++ program in Linux? 
With a little care, yes.

Would it work to do something like:

extern "C" {
     #include <gtk/gtk.h>
}
This is not necessary, because gtk's headers already contain such
'extern "C"' guards.

Ralf




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]