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

Expand() private method

private Expand ( Source src ) : void
src Source
return void
        internal void Expand (Source src)
        {
            Expand (store.FindSource (src));
            src.Expanded = true;
        }

Same methods

SourceView::Expand ( Gtk.TreeIter iter ) : void

Usage Example

        private void SwitchSource(Source src)
        {
            if (src != null)
            {
                if (src.Parent != null)
                {
                    view.Expand(src.Parent);
                }

                ServiceManager.SourceManager.SetActiveSource(src);

                if (hide_timeout_id != 0)
                {
                    ServiceStack.Application.IdleTimeoutRemove(hide_timeout_id);
                    hide_timeout_id = 0;
                }
            }
        }