Mercurial > repos > IBBoard.GtkSharp
view Translatable/TranslatableWindow.cs @ 19:2ddde7f1730e
Re #47: Add translatable GTK# widgets
* Add translatable window
* Remove debug WriteLine
author | IBBoard <dev@ibboard.co.uk> |
---|---|
date | Mon, 27 Dec 2010 20:19:36 +0000 |
parents | |
children | 3da8cf449717 |
line wrap: on
line source
// This file (TranslatableWindow.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 System; using Gtk; using IBBoard.Lang; namespace IBBoard.GtkSharp.Translatable { public abstract class TranslatableWindow : Window, ITranslatable { public TranslatableWindow(IntPtr ptr) : base(ptr) { //Do nothing extra } public TranslatableWindow(Gtk.WindowType windowType) : base(windowType) { //Do nothing extra } public TranslatableWindow(string windowTitle) : base(windowTitle) { //Do nothing extra } public string Text { get { return Title; } set { Title = value; } } } }