I am in the process of converting a graphics app from GTK 3.20 to 3.22.
Most of the API changes are not hard to deal with, but there is one that
is causing me severe design problems. I hope someone with a deeper
understanding of GTK can suggest a path forward.
My application code writes
This FAQ entry is where I started from. My first attempt at making
threads work resulted in all threads running one after the other, in
series instead of in parallel, because I was locking the whole thread
with gdk_threads_enter() at the beginning. I progressed to trying to
lock only the
I have saved a minimized version of a defective GTK app that locks up
the gnome windowing system so that a reboot is required. Is anyone out
there in GTK land interested, or is this old news?
regards
___
gtk-app-devel-list mailing list
Thanks to the three of you for your help and information. I will
continue trying to make GTK work for my threaded application, and post
progress (or lack thereof).
I am still confused (by apparently conflicting inputs from the GTK FAQ
and yourselves) about when I must use which wrapper calls
.
regards,
Mike
Michael L Torrie wrote:
On Wed, 2006-02-01 at 10:44 +0100, kornelix wrote:
Thanks for your generous help. I will try Michael's suggestion and see
how it works.
I would like to implement all GTK calls in the main program as Tristan
suggested, but this seems to be very complex
Thanks for your generous help. I will try Michael's suggestion and see
how it works.
I would like to implement all GTK calls in the main program as Tristan
suggested, but this seems to be very complex (must implement asynch.
queues of data going back and forth between threads and main(),
Following the guidelines in the FAQ, I constructed my application
threads as follows:
gdk_threads_enter();// enter thread
(do some work, including GTK calls)
gdk_flush();// exit thread
gdk_threads_leave();
return 0;
Now my
?
=
kornelix wrote:
I am learning GTK-2+ programming in Linux, and I have developed a
sample application which almost works correctly.
I built a main window containing a scrolling window containing a text
view window.
The main window also has a menu bar.
issue # 1
I am learning GTK-2+ programming in Linux, and I have developed a sample
application which almost works correctly.
I built a main window containing a scrolling window containing a text
view window.
The main window also has a menu bar.
issue # 1
The menu bar has both single menu-items and