interaction with the x system
- From: "Daniel Godás López" <siro eurielec etsit upm es>
- To: gtk-app-devel-list gnome org
- Subject: interaction with the x system
- Date: Sat, 14 Jun 2003 16:06:25 +0200
i am trying to use the functions gtk has to interact with the x system i
used the GTK_WINDOW_XWINDOW() macro but when i try to compile it gives
the following message:
main.cpp: En function `int main(int, char**)':
main.cpp:15: error: `GDK_WINDOW_XWINDOW' undeclared (first use this
function)
main.cpp:15: error: (Each undeclared identifier is reported only once
for each
function it appears in.)
but i included gtk/gtk.h and it works fine when i dont use any of the x
system interaction fucntions (it doesnt work with any of them but it
does with all the rest of gtk functions i tried).
i compiled using:
g++ -Wall -g $1.cpp -o $1 `pkg-config --cflags gtk+-2.0` `pkg-config
--libs gtk+
-2.0`
any help will be welcome :)
--
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]