A-M baby
This commit is contained in:
parent
764da6cbbb
commit
db842d013d
19005 changed files with 197040 additions and 7 deletions
|
|
@ -0,0 +1,13 @@
|
|||
import Graphics.UI.Gtk
|
||||
import Control.Monad
|
||||
|
||||
messDialog = do
|
||||
initGUI
|
||||
dialog <- messageDialogNew Nothing [] MessageInfo ButtonsOk "Goodbye, World!"
|
||||
|
||||
rs <- dialogRun dialog
|
||||
when (rs == ResponseOk || rs == ResponseDeleteEvent) $ widgetDestroy dialog
|
||||
|
||||
dialog `onDestroy` mainQuit
|
||||
|
||||
mainGUI
|
||||
|
|
@ -0,0 +1 @@
|
|||
*Main> messDialog
|
||||
Loading…
Add table
Add a link
Reference in a new issue