summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPietro Gagliardi <[email protected]>2014-07-02 18:00:08 -0400
committerPietro Gagliardi <[email protected]>2014-07-02 18:00:08 -0400
commit6bb6f01871329dd540ccdf2cfab86d6af06b528a (patch)
treec7318121b41bd2ff77035c08ac8163cc7a1f029a
parent7130526211d1d0ddfe4055456b7d9d48e3dc4ac3 (diff)
More updates to the new plan.
-rw-r--r--newplan3
1 files changed, 3 insertions, 0 deletions
diff --git a/newplan b/newplan
index 40feb43..00d91db 100644
--- a/newplan
+++ b/newplan
@@ -9,6 +9,7 @@ dialogs are code-modal; no result until dialog closed and blocks owner hwnd
owner hwnd required to keep on top; can't keep on top unconditionally
changing parents is possible; initially unowned might not be? TODO
creating windows and controls before main loop begins possible
+sending a message across threads will hang up the first thread during the send if you so choose
GTK+
GUI work must be done on the main thread; what thread this is isn't particularly clear but I'm assuming it's the one that calls gtk_init()
@@ -19,6 +20,7 @@ dialogs can either be code modal or not
can't keep dialog window always on top (X11-based limitation); only above the transient window (if any)
changing parents is possible but IIRC is done in a control-dependent manner? also requires incrementing the refcount
creating windows and controls before main loop begins possible
+sending a message across threads will NOT hang up the first thread during the send, and the GTK+ designers don't think this is good design
COCOA
only one thread, must be thread main() is called on
@@ -29,3 +31,4 @@ two types of dialogs:
- non-code-modal; affects current window only but need to sit and wait for a callback to come in before you know it's done
not sure if changing parents is possible TODO
not sure if creating windows/controls before [NSApp run] is supported
+sending a message across threads will hang up the first thread during the send if you so choose