Mercurial > repos > IBBoard.GtkSharp
annotate Translatable/TranslatableLabel.cs @ 25:f71693260828
Re #47: Add translatable GTK# widgets
* Add TranslatableLabel class
author | IBBoard <dev@ibboard.co.uk> |
---|---|
date | Wed, 29 Dec 2010 16:57:25 +0000 |
parents | |
children | 2d76577e28ff |
rev | line source |
---|---|
25
f71693260828
Re #47: Add translatable GTK# widgets
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1 // This file (TranslatableLabel.cs) is a part of the IBBoard.GtkSharp project and is copyright 2010 IBBoard |
f71693260828
Re #47: Add translatable GTK# widgets
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2 // |
f71693260828
Re #47: Add translatable GTK# widgets
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3 // // 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. |
f71693260828
Re #47: Add translatable GTK# widgets
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
4 |
f71693260828
Re #47: Add translatable GTK# widgets
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
5 using System; |
f71693260828
Re #47: Add translatable GTK# widgets
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
6 using Gtk; |
f71693260828
Re #47: Add translatable GTK# widgets
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
7 using IBBoard.Lang; |
f71693260828
Re #47: Add translatable GTK# widgets
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
8 |
f71693260828
Re #47: Add translatable GTK# widgets
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
9 namespace IBBoard.GtkSharp.Translatable |
f71693260828
Re #47: Add translatable GTK# widgets
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
10 { |
f71693260828
Re #47: Add translatable GTK# widgets
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
11 [System.ComponentModel.ToolboxItem("Translatable Label")] |
f71693260828
Re #47: Add translatable GTK# widgets
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
12 public class TranslatableLabel : Label, ITranslatable |
f71693260828
Re #47: Add translatable GTK# widgets
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
13 { |
f71693260828
Re #47: Add translatable GTK# widgets
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
14 //Do nothing special |
f71693260828
Re #47: Add translatable GTK# widgets
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
15 } |
f71693260828
Re #47: Add translatable GTK# widgets
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
16 } |
f71693260828
Re #47: Add translatable GTK# widgets
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
17 |