Пример #1
0
        public AddinBrowserWidget(AddinRegistry registry)
        {
            TreeView = new AddinTreeView(registry);

            TreeView.Tree.Selection.Mode = SelectionMode.Single;
            TreeView.WidthRequest        = 300;

            Pack1(TreeView, false, false);
            SetDetailWidget(null);

            ShowAll();

            TreeView.Update();

            TreeView.Tree.Selection.Changed += (sender, e) => FillDetailPanel();
        }
		public AddinBrowserWidget (AddinRegistry registry)
		{
			TreeView = new AddinTreeView (registry);

			TreeView.Tree.Selection.Mode = SelectionMode.Single;
			TreeView.WidthRequest = 300;

			Pack1 (TreeView, false, false);
			SetDetailWidget (null);

			ShowAll ();

			TreeView.Update ();

			TreeView.Tree.Selection.Changed += (sender, e) => FillDetailPanel ();
		}
        public AddinBrowserWidget(AddinRegistry registry)
        {
            TreeView = new AddinTreeView(registry);
            var gtkTreeView = TreeView.GetNativeWidget <Gtk.Widget> ();

            TreeView.AllowsMultipleSelection = false;
            gtkTreeView.WidthRequest         = 300;

            Pack1(TreeView, false, false);
            SetDetailWidget(null);

            ShowAll();

            TreeView.Update();

            TreeView.SelectionChanged += (sender, e) => FillDetailPanel();
        }
		public AddinBrowserWidget (AddinRegistry registry)
		{
			TreeView = new AddinTreeView (registry);
			var gtkTreeView = TreeView.GetNativeWidget<Gtk.Widget> ();

			TreeView.AllowsMultipleSelection = false;
			gtkTreeView.WidthRequest = 300;

			Pack1 (TreeView, false, false);
			SetDetailWidget (null);

			ShowAll ();

			TreeView.Update ();

			TreeView.SelectionChanged += (sender, e) => FillDetailPanel ();
		}