Welcome to mirror list, hosted at ThFree Co, Russian Federation.

Misc.cs « wrapper « libstetic « MonoDevelop.GtkCore « addins « src « main - github.com/mono/monodevelop.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 44624a73d63d51d45ee1ba69badc8adb3b46aef7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35

using System;

namespace Stetic.Wrapper
{
	public class Misc: Widget
	{
		public bool AlignLeft {
			get {
				return ((Gtk.Misc)Wrapped).Xalign == 0;
			}
			set {
				((Gtk.Misc)Wrapped).Xalign = 0;
			}
		}
		
		public bool AlignRight {
			get {
				return ((Gtk.Misc)Wrapped).Xalign == 1;
			}
			set {
				((Gtk.Misc)Wrapped).Xalign = 1;
			}
		}
		
		public bool AlignCenter {
			get {
				return ((Gtk.Misc)Wrapped).Xalign == 0.5f;
			}
			set {
				((Gtk.Misc)Wrapped).Xalign = 0.5f;
			}
		}
	}
}