public ItemPreview() { this.RoundedCorners = true; this.EnableGenericIcons = true; this.itemIcons = new ItemIcons(this); this.pb = null; this.isIcon = false; }
public ItemView() { itemIcons = new ItemIcons(this); loadingIcon = this.RenderIcon(Icons.Icon.Stock_Find, ICON_SIZE); HeadersClickable = true; database = null; currentVolumeType = (VolumeType)(-1); item_col = -1; // event handlers RowExpanded += OnRowExpanded; ButtonPressEvent += OnButtonPressEvent; }
public SearchResultView() { itemIcons = new ItemIcons(this); volumeCache = new Dictionary<long,Volume>(); // // setup columns // TreeViewColumn col; col = new TreeViewColumn(string.Empty, new CellRendererPixbuf(), "pixbuf", 0); col.Expand = false; AppendColumn(col); col = new TreeViewColumn(string.Empty, new CellRendererText(), "markup", 1); col.Expand = true; AppendColumn(col); }