summaryrefslogtreecommitdiff
path: root/dialog.go
AgeCommit message (Collapse)Author
2014-06-08Made the application-modal sentinel in dialog.go non-nil to prevent weird ↵Pietro Gagliardi
behavior on nil Windows in program code. Thanks to xtg in the Gopher Academy Slack for corroborating.
2014-06-08Cleaned up dialog documentation.Pietro Gagliardi
2014-06-08Implemented the new MsgBox()/MsgBoxError() behavior on Windows.Pietro Gagliardi
2014-06-08Woo yeah it's another API change to MsgBox()! This splits parent out and ↵Pietro Gagliardi
makes it a receiver of MsgBox() and MsgBoxError() for the case when you want to show modal to a specific window only. These will eventually return channels, but first I'll need to igure out how to get this working...
2014-06-05Figured out what happens if a message box is created for an invisible ↵Pietro Gagliardi
window, documented it was undefined (Windows and GTK+ behave reasonably but at least Windows is not documented here; Mac OS X shows a sheet attached to invisible where the titlebar should be and then considers the window closed), and added the panic() checks for uncreated Windows.
2014-06-05Verified resize differences on MsgBox() with a parent.Pietro Gagliardi
2014-06-04More TODOs.Pietro Gagliardi
2014-06-04Added the concept of transience to MsgBox() and MsgBoxError(). Individual ↵Pietro Gagliardi
implementations will come next.
2014-04-10Removed unnecessary space if the secondaryText argument to MsgBox***() is an ↵Pietro Gagliardi
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-03-12Separated file creation dates from the package comment.Pietro Gagliardi
2014-03-12Standardized message boxes so they appear similarly on all platforms. This ↵Pietro Gagliardi
shafts Windows because primary/secondary text message boxes were only added in Windows Vista, but at least MSDN provides discourse.
2014-02-19Moved to a proper package; main() is now a test and go test -c is used to ↵Pietro Gagliardi
build. Once I iron out a bug with Windows event handling, I'll add a README.
2014-02-17Split out the dialog functions into portable and non-portable code to keep ↵Pietro Gagliardi
the package documentation in the portable code only.