Re: Can it be done with Gtk/GDK???



>We ahve edveloped an app. with xlib that sends signals between aplication 
>windows based on key inputs. The application uses the XGrabKey, 
>XGrabKeyboard, XSendEvent, etc. to send events to other windows.

Why use X events and not POSIX signals and/or fifo's with your own
message protocol? your application would then be portable to other
environments supported by GTK that are not using the X Window System.

>If I were to use GTK for GUI, how can I interface with the Xlib functions 
>which require identifiers for display, window, screen, etc.

see <gdk/gdkx.h>

--p




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