Esempio n. 1
0
 protected override Widget GetItemWidget ()
 {
     TerseTrackListView track_list = new TerseTrackListView ();
     track_list.SetModel (Music.DatabaseTrackModel);
     return track_list;
 }
Esempio n. 2
0
        private void BuildViews()
        {
            track_view = new TerseTrackListView ();
            track_view.HasFocus = true;
            track_view.IsReorderable = true;
            track_view.ColumnController.Insert (new Column (null, "indicator", new ColumnCellStatusIndicator (null), 0.05, true, 20, 20), 0);

            Hyena.Widgets.ScrolledWindow sw = new Hyena.Widgets.ScrolledWindow ();
            sw.Add (track_view);
            /*window.Add (view);
            window.HscrollbarPolicy = PolicyType.Automatic;
            window.VscrollbarPolicy = PolicyType.Automatic;*/

            list_label = new Label ();
            list_label.Xalign = 0f;
            content_vbox.PackStart (list_label, false, false, 0);
            content_vbox.PackStart (sw, true, true, 0);
            content_vbox.PackStart (new UserJobTileHost (), false, false, 0);
            track_view.SetSizeRequest (425, -1);
        }