Re: GtkHBox child replacement

2012-10-24 Thread Michael Cronenworth
Piotr Sipika wrote: > While updating the text inside the label is easy (via > gtk_label_set_text()), what's the best way to update the icon child, > assuming it's a GtkImage and I have an updated GdkPixbuf for a new icon? You want to call gtk_image_set_from_pixbuf(). Don't forget to call g_object_

GtkHBox child replacement

2012-10-24 Thread Piotr Sipika
Greetings. I'm working on a small application which, in its window, contains a single HBox. The HBox contains two children: an icon and a label. During execution the backend is supposed to update the icon and the text in the label. I can reference the icon and label children of the HBox by calli