예제 #1
0
        ///<summary>
        /// Sets the text on tab label of the tab containg 'w'.
        ///</summary>
        public new void SetTabLabelText(Widget w, string text)
        {
            DataBookTabLabel dbt = (DataBookTabLabel)this.GetTabLabel(w);

            dbt.Text = text;
        }
예제 #2
0
        ///<summary>
        /// Sets the sensitivity status of the close button of a tab containing 'w'.
        ///</summary>
        public void SetCloseSensitivity(Widget w, bool sensitive)
        {
            DataBookTabLabel dbt = (DataBookTabLabel)this.GetTabLabel(w);

            dbt.Button.Sensitive = sensitive;
        }