from C to perl
- From: "Sergio Rua" <srua debian org>
- To: gtk-perl-list gnome org
- Subject: from C to perl
- Date: Tue, 15 Jan 2002 18:05:59 +0100 (CET)
Hello,
Can anybody help me to translate this function from C to GtkPerl?
void motion_notify_get_coords(GdkEventMotion * event)
{
XEvent ev;
XSync(GDK_DISPLAY(), 0);
while (XCheckTypedEvent(GDK_DISPLAY(), MotionNotify, &ev))
{
event->x = ev.xmotion.x;
event->y = ev.xmotion.y;
}
}
Thank you!
Un Saludo,
Sergio Rua <srua esware com>
Departamento de Desarrollo.
http://comunidad.esware.com
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]