I am writing an app in GTK+, and I wanted to center a splash screen. Coming
from a Windows background, where SetWindowPos does the job, I found out the X
Window Manager always ignores requests to move a window, therefore eventually
denying any attempt to manipulative the position of a window.
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
https://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
Is there any way to make this better? The image loaded is 3.3MB PNG
int nWidth = gdk_pixbuf_get_width(pImage), nHeight =
gdk_pixbuf_get_height(pImage);
gtk_widget_set_size_request(widget, nWidth, nHeight);
gdk_cairo_set_source_pixbuf(cr, pImage,