Re: [gtk-list] PixMap problem



> I have a pixmap widget, and I update the pixmap it contains every time
> a key is pressed. So what I want is to make the widget redraw itself
> after the keyboard event funtion is done. I know that when and expose
> event is generated, it redraws itself.
>   TIA

Try calling gtk_widget_draw(pixmap, NULL) at the end of the kbd-event
function.

/Johan



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]