0

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

Community
  • 1
  • 1
rohangulati
  • 251
  • 1
  • 4
  • 12
  • 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 Apr 29 '13 at 09:18

1 Answers1

0

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); 
LiuLang
  • 773
  • 4
  • 4