Re: Draw window where mouse pointer is



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]