view libpurple/plugins/mono/api/Event.cs @ 17794:8428beecff2f

Close smiley dialog on GDK_Escape or button 1 press.
author Gabriel Schulhof <nix@go-nix.ca>
date Sat, 26 May 2007 10:03:55 +0000
parents 93bfbda79bf6
children
line wrap: on
line source

using System;

namespace Purple
{
	public class Event
	{
		private IntPtr handle;
		private string signal;
		
		public Event(IntPtr h, string s)
		{
			handle = h;
			signal = s;
		}
	
		public void connect(object plugin, Signal.Handler handler)
		{
			Signal.connect(handle, plugin, signal, handler);
		}
	}
}