Mercurial > repos > IBBoard.GtkSharp
diff GtkSharp.cs @ 30:c9e1ad81afbe
Re #26: Add GTK wrapper methods
* Make notebook tabs closable with middle-click
* Add extra util class with enumerations in - mouse buttons in events are just uint, not enumerated
author | IBBoard <dev@ibboard.co.uk> |
---|---|
date | Sat, 08 Jan 2011 16:37:41 +0000 |
parents | |
children |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/GtkSharp.cs Sat Jan 08 16:37:41 2011 +0000 @@ -0,0 +1,17 @@ +// This file (GtkSharp.cs) is a part of the IBBoard.GtkSharp project and is copyright 2011 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; + +namespace IBBoard.GtkSharp +{ + //Define mouse buttons as constants according to documentation + public enum MouseButton + { + Left = 1, + Middle = 2, + Right = 3 + } +} +