Exemple #1
0
        // END HERZUM SPRINT 4.2: TLAB-202

        public PropertyDialogueEditor(PropertyEditorCell cell)
        {
            this.cell = cell;
            Spacing   = 3;
            // HERZUM SPRINT 4.2: TLAB-202
            // PackStart (new CellRendererWidget (cell), true, true, 0);
            cellRendererWidget = new CellRendererWidget(cell);
            PackStart(cellRendererWidget, true, true, 0);
            // END HERZUM SPRINT 4.2: TLAB-202
            Label buttonLabel = new Label();

            buttonLabel.UseMarkup = true;
            buttonLabel.Xpad      = 0; buttonLabel.Ypad = 0;
            buttonLabel.Markup    = "<span size=\"small\">...</span>";
            Button dialogueButton = new Button(buttonLabel);

            dialogueButton.Clicked += new EventHandler(DialogueButtonClicked);
            PackStart(dialogueButton, false, false, 0);
            this.ModifyBg(Gtk.StateType.Normal, this.Style.White);
            ShowAll();
        }
Exemple #2
0
        // END HERZUM SPRINT 4.2: TLAB-202

		public PropertyDialogueEditor (PropertyEditorCell cell)
		{
			this.cell = cell;
			Spacing = 3;
            // HERZUM SPRINT 4.2: TLAB-202
            // PackStart (new CellRendererWidget (cell), true, true, 0);
            cellRendererWidget = new CellRendererWidget (cell);
            PackStart (cellRendererWidget, true, true, 0);
            // END HERZUM SPRINT 4.2: TLAB-202
			Label buttonLabel = new Label ();
			buttonLabel.UseMarkup = true;
			buttonLabel.Xpad = 0; buttonLabel.Ypad = 0;
			buttonLabel.Markup = "<span size=\"small\">...</span>";
			Button dialogueButton = new Button (buttonLabel);
			dialogueButton.Clicked += new EventHandler (DialogueButtonClicked);
			PackStart (dialogueButton, false, false, 0);
			this.ModifyBg (Gtk.StateType.Normal, this.Style.White);
			ShowAll ();
		}