From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=unavailable autolearn_force=no version=3.4.4 Path: eternal-september.org!reader01.eternal-september.org!reader02.eternal-september.org!news.eternal-september.org!mx02.eternal-september.org!feeder.eternal-september.org!news.glorb.com!peer02.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!post02.iad.highwinds-media.com!news.flashnewsgroups.com-b7.4zTQh5tI3A!not-for-mail From: Stephen Leake Newsgroups: comp.lang.ada Subject: Re: Gtkada on Mac using Quartz References: <0d2ca159-baab-4781-bc56-d957f5bd61b6@googlegroups.com> Date: Mon, 24 Aug 2015 04:43:12 -0500 Message-ID: <86k2slhvin.fsf@stephe-leake.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (windows-nt) Cancel-Lock: sha1:+PqcGyIzDmAmJNlFTLx9ZwZ1aw0= MIME-Version: 1.0 Content-Type: text/plain X-Complaints-To: abuse@flashnewsgroups.com Organization: FlashNewsgroups.com X-Trace: 5460d55dae731e97f808428358 X-Received-Bytes: 1277 X-Received-Body-CRC: 2209817207 Xref: news.eternal-september.org comp.lang.ada:27589 Date: 2015-08-24T04:43:12-05:00 List-Id: ahlan@marriott.org writes: > Dear Dmitry, > > I am aware that all Gtk calls must be issued from the same task/thread > that runs the message loop. > In fact I use a similar method to the one you implemented in the GtkAda contributions. > > However in my tiny test I only issued init, create, show and main, > nothing else and all from the same thread. > If issued from the main program it works, if issued from a task is > doesn't. This suggests there is some elaboration code in the GtkAda package that is run on the main thread. -- -- Stephe