Mercurial > repos > IBBoard.GtkSharp
annotate Translatable/TranslatableWindowWithActions.cs @ 42:f04e973e5ea0 default tip
* Drop back to old Tooltips to support GTK# before 2.12
* Make sure we're not 2.12 specific to allow building on the server (running 2.10)
author | IBBoard <dev@ibboard.co.uk> |
---|---|
date | Sun, 07 Oct 2012 19:58:40 +0100 |
parents | 70c46caee508 |
children |
rev | line source |
---|---|
20
06715f517af6
Re #47: Add translatable GTK# widgets
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1 // This file (TranslatableWindowWithActions.cs) is a part of the IBBoard.GtkSharp project and is copyright 2010 IBBoard |
06715f517af6
Re #47: Add translatable GTK# widgets
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2 // |
06715f517af6
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. |
06715f517af6
Re #47: Add translatable GTK# widgets
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
4 |
06715f517af6
Re #47: Add translatable GTK# widgets
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
5 using System.Collections.Generic; |
06715f517af6
Re #47: Add translatable GTK# widgets
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
6 using Gtk; |
33
70c46caee508
* Resolve conflicts between System.Action and Gtk.Action
IBBoard <dev@ibboard.co.uk>
parents:
20
diff
changeset
|
7 using System; |
20
06715f517af6
Re #47: Add translatable GTK# widgets
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
8 |
06715f517af6
Re #47: Add translatable GTK# widgets
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
9 namespace IBBoard.GtkSharp.Translatable |
06715f517af6
Re #47: Add translatable GTK# widgets
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
10 { |
06715f517af6
Re #47: Add translatable GTK# widgets
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
11 public abstract class TranslatableWindowWithActions : TranslatableWindow, ITranslatableWithActions |
06715f517af6
Re #47: Add translatable GTK# widgets
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
12 { |
06715f517af6
Re #47: Add translatable GTK# widgets
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
13 |
06715f517af6
Re #47: Add translatable GTK# widgets
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
14 public TranslatableWindowWithActions(IntPtr ptr) : base(ptr) |
06715f517af6
Re #47: Add translatable GTK# widgets
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
15 { |
06715f517af6
Re #47: Add translatable GTK# widgets
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
16 //Do nothing extra |
06715f517af6
Re #47: Add translatable GTK# widgets
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
17 } |
06715f517af6
Re #47: Add translatable GTK# widgets
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
18 |
06715f517af6
Re #47: Add translatable GTK# widgets
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
19 public TranslatableWindowWithActions(Gtk.WindowType windowType) : base(windowType) |
06715f517af6
Re #47: Add translatable GTK# widgets
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
20 { |
06715f517af6
Re #47: Add translatable GTK# widgets
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
21 //Do nothing extra |
06715f517af6
Re #47: Add translatable GTK# widgets
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
22 } |
06715f517af6
Re #47: Add translatable GTK# widgets
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
23 |
06715f517af6
Re #47: Add translatable GTK# widgets
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
24 public TranslatableWindowWithActions(string windowTitle) : base(windowTitle) |
06715f517af6
Re #47: Add translatable GTK# widgets
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
25 { |
06715f517af6
Re #47: Add translatable GTK# widgets
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
26 //Do nothing extra |
06715f517af6
Re #47: Add translatable GTK# widgets
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
27 } |
06715f517af6
Re #47: Add translatable GTK# widgets
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
28 |
33
70c46caee508
* Resolve conflicts between System.Action and Gtk.Action
IBBoard <dev@ibboard.co.uk>
parents:
20
diff
changeset
|
29 public abstract ICollection<Gtk.Action> Actions |
20
06715f517af6
Re #47: Add translatable GTK# widgets
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
30 { |
06715f517af6
Re #47: Add translatable GTK# widgets
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
31 get; |
06715f517af6
Re #47: Add translatable GTK# widgets
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
32 } |
06715f517af6
Re #47: Add translatable GTK# widgets
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
33 } |
06715f517af6
Re #47: Add translatable GTK# widgets
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
34 } |
06715f517af6
Re #47: Add translatable GTK# widgets
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
35 |