[no subject]
----------------------------------------------------------------------
Date: 03 Jul 2002 08:59:12 BST
To: Paul Davis <pbd Op Net>
cc: Bas Terwijn <bterwijn science uva nl>, gtkmm-list <gtkmm-list gnome org
>
From: Murray Cumming <murrayc usa net>
Subject: Re: [gtkmm] multi threading
Reply-To: murrayc usa net
On Fri, 2002-06-28 at 14:01, Paul Davis wrote:
> >I'm looking for someone that can tell me how I can use the gtk-- GUI in
> >a multi threading program. For some reason no GUI toolkit available
> >supports threads (I wonder why).
>
> the preferred method is to limit all use of gtkmm/GTK+/GDK/Xlib
> functions to a single thread. when other threads want work done, they
> send a request to the GUI thread via a pipe, which is hooked into the
> main event loop of the GUI toolkit.
Paul, I guess it's time you wrote an FAQ entry for us:
http://www.gtkmm.org/docs/gtkmm-faq.html
--
Murray Cumming
murrayc usa net
www.murrayc.com
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Needless to say, I have not yet written the FAQ entry.
>- Is it possible to make a window appear at a certain position on the
>screen?
>Well, preferrably not at hard-coded coordinates, but e.g. "if possible, next
>
>to (thus not covering) another window".
i know of no way to do this. window placement is controlled by a
combination of X client requests and X Window Manager policy. the
interaction between the two of them puzzles and irritates many people.
--p
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]