0
votes

How to place an image at a particular x and y pixel position on a window by code in pygtk? I have tried xalign and yalign after reading this post but it only aligns the image. I will use this code to make a grid of images.
Please help

1
What widgets are currently in the window? Are you planning to write a single widget to display this grid of images and put this widget in a window?user4815162342

1 Answers

0
votes

Try GtkFixed.

GtkFixed is a container, position of its child widget can be set by:

gtk_fixed_put(GtkFixed *fixed, GtkWidget *widget, gint x, gint y);