|
// See https://aka.ms/new-console-template for more information
|
|
|
|
using Gtk;
|
|
|
|
partial class Program {
|
|
|
|
static async Task Main(string[] args){
|
|
Application.Init();
|
|
var window = new Window("My TEst");
|
|
window.SetDefaultSize(320,240);
|
|
window.DeleteEvent += (o,e) => Application.Quit();
|
|
Console.WriteLine("DID TASK\n");
|
|
Console.WriteLine(await HTTP.get("https://www.google.nl"));
|
|
//Console.WriteLine(await DrApi.get_rants("https://www.google.nl"));
|
|
Console.WriteLine("DID TASK2\n");
|
|
|
|
window.ShowAll();
|
|
Application.Run();
|
|
|
|
}
|
|
}
|
|
|