forked from AuroraMiddleware/gtk
docs: Fix cross-linking for GIO types
This commit is contained in:
parent
7ac6e25ffc
commit
6c796cf201
@ -71,12 +71,12 @@ the question you have, this list is a good place to start.
|
|||||||
6. How do I use GTK with threads?
|
6. How do I use GTK with threads?
|
||||||
|
|
||||||
GTK requires that all GTK API calls are made from the same thread in which
|
GTK requires that all GTK API calls are made from the same thread in which
|
||||||
gtk_init() was called (the _main thread_).
|
the #GtkApplication was created, or gtk_init() was called (the _main thread_).
|
||||||
|
|
||||||
If you want to take advantage of multi-threading in a GTK application,
|
If you want to take advantage of multi-threading in a GTK application,
|
||||||
it is usually best to send long-running tasks to worker threads, and feed
|
it is usually best to send long-running tasks to worker threads, and feed
|
||||||
the results back to the main thread using g_idle_add() or GAsyncQueue. GIO
|
the results back to the main thread using g_idle_add() or #GAsyncQueue. GIO
|
||||||
offers useful tools for such an approach such as GTask.
|
offers useful tools for such an approach such as #GTask.
|
||||||
|
|
||||||
7. How do I internationalize a GTK program?
|
7. How do I internationalize a GTK program?
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user