File: Entry.cs

package info (click to toggle)
beagle 0.2.12-1
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 12,204 kB
  • ctags: 16,188
  • sloc: cs: 91,628; sh: 27,627; ansic: 10,646; makefile: 2,248; xml: 15
file content (31 lines) | stat: -rw-r--r-- 630 bytes parent folder | download
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
using System;
using System.Runtime.InteropServices;

namespace Search {

	public class Entry : Gtk.Entry {

		public Entry (IntPtr raw) : base (raw) {}

		[DllImport("libbeagleuiglue.so")]
		static extern IntPtr search_entry_new ();

		public Entry () : base (IntPtr.Zero)
		{
			if (GetType () != typeof (Entry)) {
				CreateNativeObject (new string [0], new GLib.Value[0]);
				return;
			}
			Raw = search_entry_new ();
		}

		[DllImport("libbeagleuiglue.so")]
		static extern IntPtr search_entry_get_type();

		public static new GLib.GType GType { 
			get {
				return new GLib.GType (search_entry_get_type ());
			}
		}
	}
}