Re: [gtkmm] Help me!!! (about threads and refresh)



>I am trying to paint images with create_from_xpm_data and
>Gtk::Image::set..., but the window is not refreshing (like
>Update_Data(true or false) in MS-Windows) under these circumstances:
>
>If //pixmap1->set(brkpt) window refreshes good.
>If pixmap1->set(brkpt):
>     If usleep(x) -> x is > 500000 more or less: good
>     If usleep(x) -> x is < 500000 or another value small: Freezed!

you have no calls to gdk_thread_{enter,leave}().

--p



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