mirror of
				https://github.com/Ryujinx/GtkSharp.git
				synced 2025-11-04 13:24:48 +00:00 
			
		
		
		
	* gconf/GConf.PropertyEditors/PropertyEditorColorPicker.cs : nuke a GnomeSharp. * generator/Signal.cs : move eventhandlers and args into the base namespace instead of a *Sharp namespace. * sample/*.cs : nuke using *Sharp. svn path=/trunk/gtk-sharp/; revision=22956
		
			
				
	
	
		
			33 lines
		
	
	
		
			607 B
		
	
	
	
		
			C#
		
	
	
		
			Executable file
		
	
	
	
	
			
		
		
	
	
			33 lines
		
	
	
		
			607 B
		
	
	
	
		
			C#
		
	
	
		
			Executable file
		
	
	
	
	
// 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 HelloWorld  {
 | 
						|
 | 
						|
		public static int Main (string[] args)
 | 
						|
		{
 | 
						|
			Application.Init ();
 | 
						|
			Gtk.Window win = new Gtk.Window ("Gtk# Hello World");
 | 
						|
			win.DeleteEvent += new DeleteEventHandler (Window_Delete);
 | 
						|
			win.ShowAll ();
 | 
						|
			Application.Run ();
 | 
						|
			return 0;
 | 
						|
		}
 | 
						|
 | 
						|
		static void Window_Delete (object obj, DeleteEventArgs args)
 | 
						|
		{
 | 
						|
			Application.Quit ();
 | 
						|
			args.RetVal = true;
 | 
						|
		}
 | 
						|
 | 
						|
	}
 | 
						|
}
 |