예제 #1
0
        public void LoadData(TreeModel treeModel, TreeIter iter)
        {
            this.treeModel = treeModel;
            this.iter      = iter;
            view.Initialize(this);

            Active      = view.Active;
            Activatable = view.Editable;
        }
예제 #2
0
        public void LoadData(TreeViewBackend treeBackend, TreeModel treeModel, TreeIter iter)
        {
            this.treeBackend = treeBackend;
            this.treeModel   = treeModel;
            this.iter        = iter;
            view.Initialize(this);

            Inconsistent = view.State == CheckBoxState.Mixed;
            Active       = view.State == CheckBoxState.On;
            Activatable  = view.Editable;
            Visible      = view.Visible;
        }