示例#1
0
        RadioButton AddEncodingButton(VBox vbox, RadioButton previous,
				  int type, string description)
        {
            var button = new GimpRadioButton<int>(previous, description, type,
                        GetVariable<int>("encoding"));
              vbox.Add(button);
              return button;
        }
示例#2
0
        RadioButton AddBasedOnButton(VBox vbox, RadioButton previous, int type, 
				 string description)
        {
            var button = new GimpRadioButton<int>(previous, description, type,
                        GetVariable<int>("based_on"));
              vbox.Add(button);
              return button;
        }
示例#3
0
        RadioButton AddEncodingButton(VBox vbox, RadioButton previous,
                                      int type, string description)
        {
            var button = new GimpRadioButton <int>(previous, description, type,
                                                   GetVariable <int>("encoding"));

            vbox.Add(button);
            return(button);
        }
示例#4
0
        RadioButton AddTypeButton(VBox vbox, RadioButton previous, ForgeType type,
                                  string description)
        {
            var button = new GimpRadioButton <int>(previous, description, (int)type,
                                                   _type);

            vbox.Add(button);
            return(button);
        }
示例#5
0
        RadioButton AddBasedOnButton(VBox vbox, RadioButton previous, int type,
                                     string description)
        {
            var button = new GimpRadioButton <int>(previous, description, type,
                                                   GetVariable <int>("based_on"));

            vbox.Add(button);
            return(button);
        }
示例#6
0
        RadioButton AddErrorCorrectionButton(VBox vbox, RadioButton previous, 
					 string type, string description)
        {
            var variable = GetVariable<string>("error_correction");
              var button = new GimpRadioButton<string>(previous,
                           type + " " + _(description),
                           type, variable);
              vbox.Add(button);
              return button;
        }
示例#7
0
        RadioButton AddErrorCorrectionButton(VBox vbox, RadioButton previous,
                                             string type, string description)
        {
            var variable = GetVariable <string>("error_correction");
            var button   = new GimpRadioButton <string>(previous,
                                                        type + " " + _(description),
                                                        type, variable);

            vbox.Add(button);
            return(button);
        }
示例#8
0
        RadioButton AddTypeButton(VBox vbox, RadioButton previous, ForgeType type, 
			      string description)
        {
            var button = new GimpRadioButton<int>(previous, description, (int) type,
                        _type);
              vbox.Add(button);
              return button;
        }