63 : base(handle)
64 {
65 _builder = builder;
66 builder.Autoconnect(this);
67 InitItems();
68 this.SizeAllocated += OMERO_SizeAllocated;
69 searchBox.Changed += SearchBox_Changed;
70 comboBox.Changed += ComboBox_Changed;
71 uploadMenu.ButtonPressEvent += UploadMenu_ButtonPressEvent;
72 view.ItemActivated += View_ItemActivated;
73
74 Gtk.Drag.DestSet(this, DestDefaults.All, new TargetEntry[]
75 {
76 new TargetEntry("text/uri-list", TargetFlags.OtherApp, 0)
77 }, Gdk.DragAction.Copy);
78 this.DragDataReceived += View_DragDataReceived;
79 App.ApplyStyles(this);
80 }