Re: Draw window where mouse pointer is
- From: Arren <jianling xiang sw-linux com>
- To: César Leonardo Blum Silveira <cesarbs gmail com>
- Cc: Gtk Mailing List <gtk-app-devel-list gnome org>
- Subject: Re: Draw window where mouse pointer is
- Date: Mon, 11 Apr 2005 10:14:52 +0800
César Leonardo Blum Silveira wrote:
Hello all,
How can I Make my app start with it's top left corner right where the
mouse pointer is pointing at?
root = gdk_screen_get_root_window(gdk_screen_get_default());
gdk_window_get_pointer(root, &x, &y, &modif);
Thanks,
César
_______________________________________________
gtk-app-devel-list mailing list
gtk-app-devel-list gnome org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]