My favorites | Sign in
Project Home Downloads Wiki Issues Source
Checkout   Browse   Changes    
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
module GtkWindowExample

open Gtk

let main() =
Application.Init()
use wnd = new Window("Main Window")
wnd.DeleteEvent.Add( fun args ->
Application.Quit()
args.RetVal <- true
)
wnd.ShowAll()
Application.Run()
()

main()

Change log

r23 by cameron.taggart on Dec 22, 2009   Diff
moving blog code in 2009 to be under
tags/blog-2009
Go to: 
Project members, sign in to write a code review

Older revisions

r5 by cameron.taggart on Dec 14, 2009   Diff
new blog entry code for
GtkWindowExample in F#
reorganized blog code to be under
blog/date
minor fixes to HelloFoundation code
All revisions of this file

File info

Size: 259 bytes, 16 lines
Powered by Google Project Hosting