Ejemplo n.º 1
0
        protected virtual void Build()
        {
            BinContainer.Attach(this);

            fixed1           = new Gtk.Fixed();
            fixed1.Name      = "fixed1";
            fixed1.HasWindow = true;
            Color color = new Color();

            Color.Parse("white", ref color);
            fixed1.ModifyBg(StateType.Normal, color);

            BuildSymbol(ref img01, 0, 0);
            BuildSymbol(ref img02, 16, 0);
            BuildSymbol(ref img03, 32, 0);
            BuildSymbol(ref img04, 48, 0);
            BuildSymbol(ref img05, 64, 0);


            this.Add(this.fixed1);
            if ((this.Child != null))
            {
                this.Child.ShowAll();
            }

            this.Hide();
        }
Ejemplo n.º 2
0
        protected virtual void Build()
        {
            BinContainer.Attach(this);

            fixed1           = new Gtk.Fixed();
            fixed1.Name      = "fixed1";
            fixed1.HasWindow = true;
            Color color = new Color();

            Color.Parse("white", ref color);
            fixed1.ModifyBg(StateType.Normal, color);

            BuildSmallWidget(ref sym01, 0, 0);
            BuildSmallWidget(ref sym02, 90, 0);
            BuildSmallWidget(ref sym03, 0, 30);
            BuildSmallWidget(ref sym04, 90, 30);


            this.Add(this.fixed1);
            if ((this.Child != null))
            {
                this.Child.ShowAll();
            }

            this.Hide();
        }