diff options
author | Andreas Rumpf <andreas@andreas-desktop> | 2010-03-01 19:37:33 +0100 |
---|---|---|
committer | Andreas Rumpf <andreas@andreas-desktop> | 2010-03-01 19:37:33 +0100 |
commit | 4ee65a08ddc7605b0bc1424642a46bace60a09e8 (patch) | |
tree | d9a6cd0e0746ebbd8541a42efae604f2062b3037 /examples/gtk/ex9.nim | |
parent | df672f5b9a3439e2c6e92c90b7d1cdbc37ad197b (diff) | |
download | Nim-4ee65a08ddc7605b0bc1424642a46bace60a09e8.tar.gz |
further enhancements for the GTK wrapper
Diffstat (limited to 'examples/gtk/ex9.nim')
-rwxr-xr-x | examples/gtk/ex9.nim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/gtk/ex9.nim b/examples/gtk/ex9.nim index 9dcb866f7..1481e6be1 100755 --- a/examples/gtk/ex9.nim +++ b/examples/gtk/ex9.nim @@ -15,7 +15,7 @@ var nimrod_init() var window = window_new(gtk2.WINDOW_TOPLEVEL) var stackbox = vbox_new(TRUE, 10) -var button1 = button_new_with_label("Move mouse over button") +var button1 = button_new("Move mouse over button") var buttonstyle = copy(get_style(Button1)) ButtonStyle.bg[STATE_PRELIGHT].pixel = 0 ButtonStyle.bg[STATE_PRELIGHT].red = -1'i16 |