Source

gnome-record-screen / GNOME-Record-Screen / gtk-gui / Gnome.RecordScreen.UI.MpegConfigurationPane.cs

Full commit
// ------------------------------------------------------------------------------
//  <autogenerated>
//      This code was generated by a tool.
//      Mono Runtime Version: 2.0.50727.42
// 
//      Changes to this file may cause incorrect behavior and will be lost if 
//      the code is regenerated.
//  </autogenerated>
// ------------------------------------------------------------------------------

namespace Gnome.RecordScreen.UI {
    
    
    public partial class MpegConfigurationPane {
        
        private Gtk.Table table1;
        
        private Gtk.HScale bitrate;
        
        private Gtk.ComboBox format;
        
        private Gtk.Label label1;
        
        private Gtk.Label label2;
        
        protected virtual void Build() {
            Stetic.Gui.Initialize(this);
            // Widget Gnome.RecordScreen.UI.MpegConfigurationPane
            Stetic.BinContainer.Attach(this);
            this.Name = "Gnome.RecordScreen.UI.MpegConfigurationPane";
            // Container child Gnome.RecordScreen.UI.MpegConfigurationPane.Gtk.Container+ContainerChild
            this.table1 = new Gtk.Table(((uint)(3)), ((uint)(2)), false);
            this.table1.Name = "table1";
            this.table1.RowSpacing = ((uint)(6));
            this.table1.ColumnSpacing = ((uint)(12));
            // Container child table1.Gtk.Table+TableChild
            this.bitrate = new Gtk.HScale(null);
            this.bitrate.CanFocus = true;
            this.bitrate.Name = "bitrate";
            this.bitrate.UpdatePolicy = ((Gtk.UpdateType)(2));
            this.bitrate.Adjustment.Lower = 500;
            this.bitrate.Adjustment.Upper = 5000;
            this.bitrate.Adjustment.PageIncrement = 125;
            this.bitrate.Adjustment.StepIncrement = 125;
            this.bitrate.Adjustment.Value = 1125;
            this.bitrate.DrawValue = true;
            this.bitrate.Digits = 0;
            this.bitrate.ValuePos = ((Gtk.PositionType)(0));
            this.table1.Add(this.bitrate);
            Gtk.Table.TableChild w1 = ((Gtk.Table.TableChild)(this.table1[this.bitrate]));
            w1.LeftAttach = ((uint)(1));
            w1.RightAttach = ((uint)(2));
            w1.XOptions = ((Gtk.AttachOptions)(4));
            w1.YOptions = ((Gtk.AttachOptions)(4));
            // Container child table1.Gtk.Table+TableChild
            this.format = Gtk.ComboBox.NewText();
            this.format.Name = "format";
            this.table1.Add(this.format);
            Gtk.Table.TableChild w2 = ((Gtk.Table.TableChild)(this.table1[this.format]));
            w2.TopAttach = ((uint)(1));
            w2.BottomAttach = ((uint)(2));
            w2.LeftAttach = ((uint)(1));
            w2.RightAttach = ((uint)(2));
            w2.YOptions = ((Gtk.AttachOptions)(4));
            // Container child table1.Gtk.Table+TableChild
            this.label1 = new Gtk.Label();
            this.label1.Name = "label1";
            this.label1.Ypad = 3;
            this.label1.Yalign = 0F;
            this.label1.LabelProp = Mono.Unix.Catalog.GetString("Format:");
            this.table1.Add(this.label1);
            Gtk.Table.TableChild w3 = ((Gtk.Table.TableChild)(this.table1[this.label1]));
            w3.TopAttach = ((uint)(1));
            w3.BottomAttach = ((uint)(2));
            w3.XOptions = ((Gtk.AttachOptions)(4));
            w3.YOptions = ((Gtk.AttachOptions)(4));
            // Container child table1.Gtk.Table+TableChild
            this.label2 = new Gtk.Label();
            this.label2.Name = "label2";
            this.label2.Ypad = 3;
            this.label2.Yalign = 0F;
            this.label2.LabelProp = Mono.Unix.Catalog.GetString("Bitrate:");
            this.table1.Add(this.label2);
            Gtk.Table.TableChild w4 = ((Gtk.Table.TableChild)(this.table1[this.label2]));
            w4.XOptions = ((Gtk.AttachOptions)(4));
            w4.YOptions = ((Gtk.AttachOptions)(4));
            this.Add(this.table1);
            if ((this.Child != null)) {
                this.Child.ShowAll();
            }
            this.Show();
        }
    }
}