Re: Image display without window



Nick Watts wrote:
I've seen applications (eg. mozilla and blender) display an image at startup without any (visible) container such as a window or dialog.

I would like to add this touch of class to my app, anyone know the easiest way? I tried just adding a GtkImage to a GtkWindow, removing window decorations with gtk_window_set_decorated() and setting the container border width to 0, but there is still a grey border.
1. gtk_window_new (GTK_WINDOW_POPUP)
2. gtk_window_set_position (window, GTK_WIN_POS_CENTER_ALWAYS)

The first tells window manager to skip any decorations, the second places it at center. It's strange that gtk_window_set_decorated() didn't help...

        Olexiy



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]