Re: [Fwd: Re: [gtkmm] IOSource]



On Mon, 2004-03-29 at 19:04, BenoƮt Touron wrote:
> Thanks Tassos,
> 
> It seems to help.
> I use the set_priority method to my IOSource. It's better, but not 
> perfect. At least I can move my window when data arrive, but it's still 
> responding very slowly. The doc is pretty poor about this method. Which 
> value should I use to select the lowest possible priority ? It seems 
> that a high value corresponds to a low priority.
> Thanks a lot for your quick answer anyway.
> 
[snip]

Use either Glib::PRIORITY_LOW, as that is not used withing Gtk/Gdk. Note
that if you have persistent idle handlers (idle handlers that do some
work all the time without removing themselves), you should use
Glib::PRIORITY_DEFAULT_IDLE (or less).

HTH,
Tassos

-- 
Beware of he who would deny you access to information, for in his
heart he dreams himself your master." 
	-- Commissioner Pravin Lal, Sid Meier's Alpha Centauri




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