Exemplo n.º 1
0
        protected override XmlElement WriteChild(ObjectWriter writer, Widget wrapper)
        {
            XmlElement child_elem = base.WriteChild(writer, wrapper);

            if (tabs.Contains(wrapper.Wrapped))
            {
                GladeUtils.SetChildProperty(child_elem, "type", "tab");
            }
            return(child_elem);
        }
        protected override XmlElement WriteChild(ObjectWriter writer, Widget wrapper)
        {
            XmlElement child_elem = base.WriteChild(writer, wrapper);

            if (wrapper.Wrapped == frame.LabelWidget)
            {
                GladeUtils.SetChildProperty(child_elem, "type", "label_item");
            }
            return(child_elem);
        }