kv1dr Asked: 2011-01-08 07:24:15 +0800 CST2011-01-08 07:24:15 +0800 CST 2011-01-08 07:24:15 +0800 CST How can I get html code from the web with vala(gtk)? 772 How can I get a html code from some site(e.g. www.google.com) using vala(gtk)? gtk 1 Answers Voted Best Answer Martin Owens -doctormo- 2011-01-08T10:33:58+08:002011-01-08T10:33:58+08:00 Use the Vala GIO File open shown here http://live.gnome.org/Vala/GIOSamples var web_page = File.new_for_uri ("http://live.gnome.org/Vala"); This is the standard method of grabbing files and web pages and you can use the uri syntax for a number of supported protocols such as ssh, ftp, etc.
Use the Vala GIO File open shown here http://live.gnome.org/Vala/GIOSamples
var web_page = File.new_for_uri ("http://live.gnome.org/Vala");
This is the standard method of grabbing files and web pages and you can use the uri syntax for a number of supported protocols such as ssh, ftp, etc.