view Translatable/TranslatableDialog.cs @ 16:c9aeaeaa3ea2

Re #47: Add translatable GTK# widgets * Add initial "translatable dialog" * Add basics of a control translator that will cascade through widgets
author IBBoard <dev@ibboard.co.uk>
date Tue, 23 Nov 2010 21:01:28 +0000
parents
children 3da8cf449717
line wrap: on
line source

//  This file (TranslatableDialog.cs) is a part of the IBBoard.GtkSharp project and is copyright 2010 IBBoard
// 
// The file and the library/program it is in are licensed and distributed, without warranty, under the GNU LGPL license, either version 3 of the License or (at your option) any later version. Please see COPYING for more information and the full license.

using Gtk;
using IBBoard.Lang;

namespace IBBoard.GtkSharp.Translatable
{
	public abstract class TranslatableDialog : Dialog, ITranslatable
	{
		public string Text
		{
			get
			{
				return Title;
			}
			set
			{
				Title = value;
			}
		}
	}
}