Mercurial > repos > IBBoard.GtkSharp
annotate Translatable/TranslatableLabel.cs @ 27:2d76577e28ff
Re #47: Add translatable GTK# widgets
* Make TranslatableLabel show up in toolbox
author | IBBoard <dev@ibboard.co.uk> |
---|---|
date | Wed, 29 Dec 2010 19:48:35 +0000 |
parents | f71693260828 |
children |
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 { |
27
2d76577e28ff
Re #47: Add translatable GTK# widgets
IBBoard <dev@ibboard.co.uk>
parents:
25
diff
changeset
|
11 [System.ComponentModel.ToolboxItem(true)] |
2d76577e28ff
Re #47: Add translatable GTK# widgets
IBBoard <dev@ibboard.co.uk>
parents:
25
diff
changeset
|
12 [System.ComponentModel.Category("Translatable")] |
25
f71693260828
Re #47: Add translatable GTK# widgets
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
13 public class TranslatableLabel : Label, ITranslatable |
f71693260828
Re #47: Add translatable GTK# widgets
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
14 { |
f71693260828
Re #47: Add translatable GTK# widgets
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
15 //Do nothing special |
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 } |
f71693260828
Re #47: Add translatable GTK# widgets
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
18 |