Pietro Gagliardi
|
8a81650b3d
|
Moved it all back; the preemptive multitaksing during an event handler kills us on all platforms. Going to have to restrict ALL GUI accss to happening from one t hread, so going to need to drop uitask entirely and have just a start() callback for startup code and a post() function for posting requests to windows (like channel sends but into a perpetual buffer).
|
2014-07-02 22:53:03 -04:00 |
Pietro Gagliardi
|
5d339e656b
|
Moved everything out of the way pending rewrite.
|
2014-07-02 17:13:40 -04:00 |
Pietro Gagliardi
|
ffa1bbe0b9
|
Restored the previous new API. I'm going to change it so that events are callbacks rather than using a window handler, but other than that... yeah.
|
2014-06-30 22:48:12 -04:00 |
Pietro Gagliardi
|
33155f7496
|
Reverted everything back to the old API.
|
2014-06-30 09:57:44 -04:00 |
Pietro Gagliardi
|
385993792f
|
Migrated the GTK+ backend to the new API.
|
2014-06-28 21:40:44 -04:00 |
Pietro Gagliardi
|
ad8a90ec7e
|
More go fmt.
|
2014-06-10 14:49:54 -04:00 |
Pietro Gagliardi
|
17d00b59c7
|
Fixed a quick typo spotted by _7sins in irc.freenode.net/#go-nuts.
|
2014-06-08 15:23:54 -04:00 |
Pietro Gagliardi
|
10f55564d0
|
Fixed modality issues on the GTK+ MsgBox() changes. The system introduced here has the advantage of scaling out to all other types of dialogs.
|
2014-06-08 11:50:11 -04:00 |
Pietro Gagliardi
|
54966a3823
|
Whoops, forgot to apply dialogWindow to dialog_unix.go.
|
2014-06-08 10:16:44 -04:00 |
Pietro Gagliardi
|
15afca6402
|
Added the new MsgBox() behavior to the GTK+ backend. It /almost/ works right; just needs some more changes...
|
2014-06-08 10:07:44 -04:00 |
Pietro Gagliardi
|
8e0a38dc47
|
Implemented the new MsgBox() transience behavior on GTK+.
|
2014-06-05 00:24:05 -04:00 |
Pietro Gagliardi
|
74a8a6f9da
|
Removed TODO about application-modal dialog boxes in GTK+; they were already application modal! The real issue is window transience... and that's where platforms differ greatly.
|
2014-06-03 18:32:58 -04:00 |
Pietro Gagliardi
|
a48dd80add
|
Removed the extra #cgo directives from the Unix files. cgo collects directives from ALL files, rather than using each file's directive individually, so having them combined like this is pointless. Instead, the #cgo directives are (or is, since there's only one) in uitask_unix.go. Will do the same for Mac next; this will help since we're going to add a CFLAGS value afterward.
|
2014-05-19 22:32:38 -04:00 |
Pietro Gagliardi
|
304995b372
|
Decided not to show an icon in the regular MsgBox() on Windows and Unix. For Mac OS X I need to see what the difference between Warning and Informational is.
|
2014-04-25 18:39:43 -04:00 |
Pietro Gagliardi
|
013e8707da
|
Removed unnecessary space if the secondaryText argument to MsgBox***() is an empty string. This doesn't change much on Mac OS X; it always shows the informational text field, showing an empty string by default. On GTK+ it seems to get rid of the bold over the primary text; I'm going to assume this is intentional (it looks that way on GTK+ 2; the HIG docs have outdated screenshots...).
|
2014-04-10 12:35:37 -04:00 |
Pietro Gagliardi
|
14770e890a
|
Moved <stdlib.h> includes in the GTK+ backend to gtk_unix.h; organized that file a bit.
|
2014-04-01 16:01:49 -04:00 |
Pietro Gagliardi
|
63f8033f49
|
Split out includes of <gtk/gtk.h> into a new header file so the GTK+ versioning macros can be included in all Go files, not just area_unix.go.
|
2014-03-16 10:34:12 -04:00 |
Pietro Gagliardi
|
34ce16d586
|
Separated file creation dates from the package comment.
|
2014-03-12 21:55:45 -04:00 |
Pietro Gagliardi
|
621ab929e1
|
Removed a stray TODO resolved by the previous few commits.
|
2014-03-12 12:34:09 -04:00 |
Pietro Gagliardi
|
2fb7056be4
|
Standardized message boxes so they appear similarly on all platforms. This shafts Windows because primary/secondary text message boxes were only added in Windows Vista, but at least MSDN provides discourse.
|
2014-03-12 12:14:24 -04:00 |
Pietro Gagliardi
|
fb82e651a4
|
Moved to a proper package; main() is now a test and go test -c is used to build. Once I iron out a bug with Windows event handling, I'll add a README.
|
2014-02-19 11:41:10 -05:00 |
Pietro Gagliardi
|
fd86aa55c8
|
Added GTK+ message boxes.
|
2014-02-17 02:54:58 -05:00 |