Re: Synthesizing a GdkEvent
- From: James Henstridge <james daa com au>
- To: ERDI Gergo <cactus cactus rulez org>
- Cc: GTK+ development list <gtk-devel-list redhat com>
- Subject: Re: Synthesizing a GdkEvent
- Date: Sun, 13 May 2001 08:28:35 +0800 (WST)
On Sun, 13 May 2001, ERDI Gergo wrote:
> Hi,
>
> Is there a way to synthesize a GdkEvent? I would only need the position of
> the mouse pointer (if possible, relative to a given GdkWindow) and the
GdkWindow* gdk_window_get_pointer (GdkWindow *window,
gint *x,
gint *y,
GdkModifierType *mask);
> current X timestamp.
guint32 gtk_get_current_event_time (void);
> What does gdk_event_get return? I tried to use it from the handler of a
> pop-up menu, but somehow the X and Y fields don't seem right.
James.
--
Email: james daa com au
WWW: http://www.daa.com.au/~james/
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]