summary refs log tree commit diff stats
path: root/lib/wrappers/iup.nim
diff options
context:
space:
mode:
authorxland <412588801@qq.com>2015-08-30 08:30:22 +0800
committerxland <412588801@qq.com>2015-08-30 08:30:22 +0800
commit755d86ff3db795dc16221186b4c206ae1f5374aa (patch)
treef2765aebd26db0453756c5ee746278d9f58e4a06 /lib/wrappers/iup.nim
parentc718e0eb2d57a68f6f3792dd28b5435a7b061345 (diff)
downloadNim-755d86ff3db795dc16221186b4c206ae1f5374aa.tar.gz
Add link button for IUP wrapper
Add link button for IUP wrapper
Diffstat (limited to 'lib/wrappers/iup.nim')
-rw-r--r--lib/wrappers/iup.nim2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/wrappers/iup.nim b/lib/wrappers/iup.nim
index cbd9b5ae9..d910173ca 100644
--- a/lib/wrappers/iup.nim
+++ b/lib/wrappers/iup.nim
@@ -307,6 +307,8 @@ proc menuv*(children: ptr PIhandle): PIhandle {.
 
 proc button*(title, action: cstring): PIhandle {.
   importc: "IupButton", cdecl, dynlib: dllname.}
+proc link*(url, title: cstring): PIhandle {.
+  importc: "IupLink", cdecl, dynlib: dllname.}
 proc canvas*(action: cstring): PIhandle {.
   importc: "IupCanvas", cdecl, dynlib: dllname.}
 proc dialog*(child: PIhandle): PIhandle {.