repo.or.cz
/
libprolooks.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
made it build with vala 0.5.7
[libprolooks.git]
/
prolooks
/
CurveDemo.vala
blob
9f23ecc6f0efc41863952a2bc3e9744d0fc03557
1
/*
2
Copyright 2009 by Hans Baier
3
License: LGPLv2+
4
*/
5
6
using
Gtk
;
7
8
namespace
Prolooks
{
9
10
11
static
int
main
(
string
[]
args
) {
12
Gtk
.
init
(
ref
args
);
13
var
window
=
new
Window
(
WindowType
.
TOPLEVEL
);
14
var
widget
=
new
Curve
();
15
16
window
.
add
(
widget
);
17
window
.
destroy
+=
Gtk
.
main_quit
;
18
window
.
show_all
();
19
Gtk
.
main
();
20
return
0
;
21
}
22
23
24
}
// namespace Prolooks