コード例 #1
0
 public Element(string name, ElementRepresentation representation, Gdk.Pixbuf image, int type)
 {
     this.name           = name;
     this.representation = representation;
     this.image          = image;
     this.type           = type;
 }
コード例 #2
0
        public void FillBottom(IElement element)
        {
            ElementRepresentation representation = element.Visual;

            informationLabel.Text = element.Name;
            symbolImage.Pixbuf    = element.Image;
            specstyleDecl.Markup  = "<b><tt>" + representation.SpecDesc + "</tt></b>";
            foreach (string lang in representation.AllLanguage)
            {
                languageRepresentation.UpdateLangage(lang, representation[lang]);
            }
        }