Re: Model View Controller. How to implement?
- From: Peter <volkov_peter list ru>
- To: gtk-list gnome org
- Subject: Re: Model View Controller. How to implement?
- Date: Tue, 15 Mar 2005 22:45:22 +0300
On Thu, 10 Mar 2005 15:39:38 -0500, Paul Davis wrote:
>>Read the thread-section in glib and gtk reference manual, they describe
>>the usage og gdk_threads_enter/gdk_threads_leave. Any thread can update
>>any widget, since a change will enqueue a draw event that will be
>>executed in the gtk_main() thread.
>
> just keep in mind that this only works if the non-gtk_main() threads don't
> have hard timing requirements, since the gtk_main() thread can potentially
> block them for arbitrary periods of time when they call
> gdk_threads_enter().
Thank you Paul and Stian.
Of course I did not use gdk_threads_enter / gdk_threads_leave. Now all
views are updated. And everything works as expected.
Thank you very much again,
Peter.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]