Banshee.Sources.Gui.SourceView.SourceView C# (CSharp) Method

SourceView() public method

public SourceView ( ) : System
return System
        public SourceView ()
        {
            FixedHeightMode = false;
            BuildColumns ();

            store = new SourceModel ();
            store.SourceRowInserted += OnSourceRowInserted;
            store.SourceRowRemoved += OnSourceRowRemoved;
            store.RowChanged += OnRowChanged;
            Model = store;
            EnableSearch = false;

            ShowExpanders = false;
            LevelIndentation = 6;

            ConfigureDragAndDrop ();
            store.Refresh ();
            ConnectEvents ();

            Selection.SelectFunction = (selection, model, path, selected) => {
                Source source = store.GetSource (path);
                if (source == null || source is SourceManager.GroupSource) {
                    return false;
                }
                return true;
            };

            ResetSelection ();
        }

Same methods

SourceView::SourceView ( IntPtr ptr ) : System