Re: gdk events callback function?
- From: Ian Bell <ian redtommo com>
- To: gtk-app-devel-list gnome org
- Subject: Re: gdk events callback function?
- Date: Mon, 16 Jun 2003 17:31:43 +0100
On Sunday 15 Jun 2003 9:58 pm, Andreas Volz wrote:
Hi,
how could I create a event callback in a GdkWindow? In X it's a
XNextEvent, but what is it in gdk? Or is there something like a
gdk_main() loop?
In Xlib, XNextEvent obtains the next event from the queue. In gtk this is
done for you. All you need to do is set up event handlers for the events you
are interested in. Read the turorial at gtk.org for more details.
Ian
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]