123
126
elementsStore = new Gtk.TreeStore (typeof (string), typeof (string), typeof (string), typeof (string));
124
127
this.elementsTreeview.Model = this.elementsStore;
125
129
this.elementsTreeview.HeadersVisible = false;
126
130
this.elementsTreeview.AppendColumn (String.Empty, new CellRendererPixbuf (), "stock_id", 0);
127
131
cellRendText = new CellRendererText ();
128
132
cellRendText.Ellipsize = Pango.EllipsizeMode.End;
129
134
this.elementsTreeview.AppendColumn ("", cellRendText, "text", 1);
130
135
this.elementsTreeview.Selection.Changed += delegate {
131
136
ShowTooltipForSelectedEntry ();
135
146
if (elementsTreeview.Selection.GetSelectedRows ().Length == 0)
137
148
Gdk.Rectangle rect = elementsTreeview.GetCellArea (elementsTreeview.Selection.GetSelectedRows () [0], elementsTreeview.GetColumn (0));