gtk_window_set_decorated(x, FALSE)
Hi, I've just downloaded and installed the pre-build GTK+ for windows Gtk-win32-2.8.8-rc2 from http://gladewin32.sourceforge.net/ Now I experienced that I get a border on my window, eventhough I've set gtk_window_set_decorated(x, FALSE) for the window. I also experienced that the transparent image that I had before, now got a black background. In the previous 2.6.x that I used, the window had no border and the background was transparent as expected. I've read the API document and I don't se that anything should have changed in this area from 2.6.x to 2.8.8 I've also searched the bug-tracker for bug-reports on 'decorated', but none seems to relate to this problem. My program looks like this: cite gtk_window_set_decorated(GTK_WINDOW (splash_screen), FALSE); /* Get the transparent image shape the window accordingly */ visual = gdk_visual_get_system (); colormap = gdk_colormap_new(visual, TRUE); pixmap = gdk_pixmap_colormap_create_from_xpm(NULL, colormap, mask, NULL, file); /* Shape the window according to image */ gtk_widget_shape_combine_mask(splash_screen, mask, 0, 0); image = gtk_image_new_from_pixmap (pixmap, NULL); gtk_widget_show (image); gtk_container_add (GTK_CONTAINER (splash_screen), image); /cite Is it only me that has experienced this problem? Or have I missed something in my code that has now been working without problems for 2-3 years now. Best regards Egon Andersen ___ gtk-list mailing list gtk-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-list
Re: gtk_window_set_decorated(x, FALSE)
Egon Andersen writes: I've just downloaded and installed the pre-build GTK+ for windows Gtk-win32-2.8.8-rc2 from http://gladewin32.sourceforge.net/ Try GTK+ 2.8.9 from ftp.gtk.org. I don't know what 2.8.8-rc2 is. Ask the gladewin32 people about that. I've read the API document and I don't se that anything should have changed in this area from 2.6.x to 2.8.8 Read the ChangeLog. 2005-11-27 Tor Lillqvist [EMAIL PROTECTED] Once again rework Win32 window decoration code. Doesn't break #104514. The dialogs in gtk-demo now have the same decorations and behaviour as on X11. Tried to fix #322516 but it seems very hard to make the trivial sample program there behave as expected. --tml ___ gtk-list mailing list gtk-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-list
Re: gtk_window_set_decorated(x, FALSE)
Tor Lillqvist wrote: Egon Andersen writes: I've just downloaded and installed the pre-build GTK+ for windows Gtk-win32-2.8.8-rc2 from http://gladewin32.sourceforge.net/ Try GTK+ 2.8.9 from ftp.gtk.org. I don't know what 2.8.8-rc2 is. Ask the gladewin32 people about that. I've read the API document and I don't se that anything should have changed in this area from 2.6.x to 2.8.8 Read the ChangeLog. 2005-11-27 Tor Lillqvist [EMAIL PROTECTED] Once again rework Win32 window decoration code. Doesn't break #104514. The dialogs in gtk-demo now have the same decorations and behaviour as on X11. Tried to fix #322516 but it seems very hard to make the trivial sample program there behave as expected. Where do I find the ChangeLog? Do you have a url for the ChangeLog you refer to? I've only been able to find the reference to #322516 in the GTK+ 2.8.8 release announcement (I would have thought that I could have found #322516 in the bug-tracker by searching for decorated or decoration, but apparently not...) And it seems that #322516 is closed by WONTFIX, so I don't see why it should be any better to use GTK+ 2.8.9 instead of GTK+ 2.8.8 in relation to this problem? BTW The reason I use the pre-build from http://gladewin32.sourceforge.net/ is that it is a all in one package and simple to install for others. Best regards Egon Andersen ___ gtk-list mailing list gtk-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-list
Re: gtk_window_set_decorated(x, FALSE)
Egon Andersen writes: Where do I find the ChangeLog? In the source code. And it seems that #322516 is closed by WONTFIX, so I don't see why it should be any better to use GTK+ 2.8.9 instead of GTK+ 2.8.8 in relation to this problem? Did you try? It's not particularily useful to use something else than the latest version when reporting bugs. --tml ___ gtk-list mailing list gtk-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-list