Re: interaction with the x system



On Sat, 2003-06-14 at 10:06, Daniel GodXs LXpez wrote:
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).

You need to include gdk/gdkx.h to use X specific functions and macros.

Regards,
                                        Owen





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