Re: Using GTK+ from C++
- From: Havoc Pennington <hp redhat com>
- To: mulgund sandeep adlittle com
- Cc: gtk-app-devel-list gnome org
- Subject: Re: Using GTK+ from C++
- Date: 15 Mar 2001 11:22:08 -0500
mulgund sandeep adlittle com writes:
Is it possible to use GTK+ (i.e., the conventional C bindings) from within
a C++ program in Linux? Would it work to do something like:
extern "C" {
#include <gtk/gtk.h>
}
The GTK headers already contain the extern "C", so you can just use
them from C++, there's no problem.
Havoc
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]