I am displaying a GtkPicture inside a GtkFixed layout container but the picture is not shown. If i remove the GtkFixed and replace it with a GtkBox then the picture is shown. But i absolutely need to use GtkFixed. Is this a bug or am i missing a step?
Here’s the code i used to test and am using gtk4.2.0:
layout = gtk_fixed_new ();
gtk_window_set_child (GTK_WINDOW (window), layout);
picture = gtk_picture_new_for_filename(“picture.png”);
gtk_fixed_put (GTK_FIXED (layout), picture, 0, 0);
gtk_widget_show (window);