예제 #1
0
파일: FindBar.cs 프로젝트: emtees/old-code
		public FindBar (ObjectBrowser objectBrowser) : base (false, 0)
		{
			browser = objectBrowser;
			found = new Queue ();
			notify = new ThreadNotify (new ReadyEvent (FoundEvent));
			BorderWidth = Spacing = 5;

			SetupUI ();
		}
예제 #2
0
		public Hierarchy (Type type) : base (new GLib.Type (GType))
		{
			Resize (480, 480);
			ob = new ObjectBrowser ();
			ob.Namespaces = false;
			Type t = type;
			while (t != null) {
				ob.Add (t);
				t = t.BaseType;
			}
			Add (ob);
			ShowAll ();
			ob.SelectType (type);
		}
예제 #3
0
        public Hierarchy(Type type) : base(new GLib.Type(GType))
        {
            Resize(480, 480);
            ob            = new ObjectBrowser();
            ob.Namespaces = false;
            Type t = type;

            while (t != null)
            {
                ob.Add(t);
                t = t.BaseType;
            }
            Add(ob);
            ShowAll();
            ob.SelectType(type);
        }