Re: Invisible GtkImage

2013-06-25 Thread Andrew Potter
On Sun, Jun 23, 2013 at 10:04 PM, Kip Warner k...@thevertigo.com wrote: Hey Andrew. Thanks for the help. I've almost got it working after I took your advise, but the image is still taking up too much room in the vertical GtkBox above and below it. See all the extra space above and below it I'd

Re: Invisible GtkImage

2013-06-25 Thread Andrew Potter
2013/6/24 Andrew Potter agpot...@gmail.com: # Note here that the minimum request is set to the natural height of the input pixbuf # This may not be the desired behavior in all circumstances def do_get_preferred_height_for_width(self, width): return (self.pb.get_height(), width /

Re: Invisible GtkImage

2013-06-25 Thread Kip Warner
On Sun, 2013-06-23 at 21:17 +0200, z...@excite.it wrote: Hi, maybe adding a callback to a window signal and redraw the image could be an option? take a look at http://zetcode.com/tutorials/gtktutorial/gtkevents/ gtk_widget_add_events(GTK_WIDGET(window), GDK_CONFIGURE); The event mask