From 208b46b05423132561a36c7b0229a40d98899821 Mon Sep 17 00:00:00 2001 From: Igor V Belousov Date: Fri, 16 Jun 2017 21:19:55 +0300 Subject: [PATCH] add tooltip --- main.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/main.go b/main.go index f4934a0..432f2e7 100644 --- a/main.go +++ b/main.go @@ -68,7 +68,7 @@ func main() { err_fatal(ni.ShowCustom( "IP Checker", " Current IP is "+old_ip)) - + err_fatal(ni.SetToolTip("Current IP is " + old_ip)) go func() { for { @@ -79,6 +79,7 @@ func main() { err_fatal(ni.ShowCustom( "IP Checker", " Old IP - "+old_ip+" New IP - "+ip)) + err_fatal(ni.SetToolTip(" Old IP - " + old_ip + " New IP - " + ip)) old_ip = ip }