further enhancements for the GTK wrapper
This commit is contained in:
parent
df672f5b9a
commit
4ee65a08dd
84 changed files with 7864 additions and 1288 deletions
|
|
@ -10,7 +10,7 @@ proc widgetDestroy(w: PWidget) {.cdecl.} =
|
|||
|
||||
nimrod_init()
|
||||
var window = window_new(WINDOW_TOPLEVEL)
|
||||
var button = button_new_with_label("Click me")
|
||||
var button = button_new("Click me")
|
||||
set_border_width(Window, 5)
|
||||
add(window, button)
|
||||
discard signal_connect(window, "destroy",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue