mirror of
https://github.com/Ryujinx/GtkSharp.git
synced 2024-09-09 00:13:20 +02:00
25 lines
495 B
C#
25 lines
495 B
C#
![]() |
// HelloWorld.cs - GTK Window class Test implementation
|
||
|
//
|
||
|
// Author: Mike Kestner <mkestner@speakeasy.net>
|
||
|
//
|
||
|
// (c) 2001-2002 Mike Kestner
|
||
|
|
||
|
namespace GtkSamples {
|
||
|
|
||
|
using Gtk;
|
||
|
using Gdk;
|
||
|
using System;
|
||
|
|
||
|
public class GExceptionTest {
|
||
|
|
||
|
public static int Main (string[] args)
|
||
|
{
|
||
|
Application.Init ();
|
||
|
Gtk.Window win = new Gtk.Window ("GException");
|
||
|
win.SetIconFromFile ("this.filename.does.not.exist");
|
||
|
// Notreached, GException should throw on above call.
|
||
|
return 0;
|
||
|
}
|
||
|
}
|
||
|
}
|