trumank
trumank

Reputation: 2794

Redraw GtkWidget

I have a GtkImage that I am manipulating with a GdkPixbuf. When I change it, I need to redraw it to make the changes take effect. Right now I am doing this by hiding and then showing the image. What would be the proper way of doing this?

Upvotes: 9

Views: 8162

Answers (1)

Michy
Michy

Reputation: 623

gtk_widget_queue_draw() function invalidates the widget area and forces redrawing.

Upvotes: 14

Related Questions