Source

gnome-record-screen / GNOME-Record-Screen / gtk-gui / Gnome.RecordScreen.UI.TheoraConfigurationPane.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 TheoraConfigurationPane {
        
        private Gtk.Table table1;
        
        private Gtk.Label label1;
        
        private Gtk.HScale videoQuality;
        
        protected virtual void Build() {
            Stetic.Gui.Initialize(this);
            // Widget Gnome.RecordScreen.UI.TheoraConfigurationPane
            Stetic.BinContainer.Attach(this);
            this.Name = "Gnome.RecordScreen.UI.TheoraConfigurationPane";
            // Container child Gnome.RecordScreen.UI.TheoraConfigurationPane.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.label1 = new Gtk.Label();
            this.label1.Name = "label1";
            this.label1.Ypad = 3;
            this.label1.Yalign = 0F;
            this.label1.LabelProp = Mono.Unix.Catalog.GetString("Quality:");
            this.table1.Add(this.label1);
            Gtk.Table.TableChild w1 = ((Gtk.Table.TableChild)(this.table1[this.label1]));
            w1.XOptions = ((Gtk.AttachOptions)(4));
            w1.YOptions = ((Gtk.AttachOptions)(4));
            // Container child table1.Gtk.Table+TableChild
            this.videoQuality = new Gtk.HScale(null);
            this.videoQuality.CanFocus = true;
            this.videoQuality.Name = "videoQuality";
            this.videoQuality.UpdatePolicy = ((Gtk.UpdateType)(2));
            this.videoQuality.Adjustment.Lower = 1;
            this.videoQuality.Adjustment.Upper = 63;
            this.videoQuality.Adjustment.PageIncrement = 1;
            this.videoQuality.Adjustment.StepIncrement = 1;
            this.videoQuality.Adjustment.Value = 29;
            this.videoQuality.DrawValue = true;
            this.videoQuality.Digits = 0;
            this.videoQuality.ValuePos = ((Gtk.PositionType)(3));
            this.table1.Add(this.videoQuality);
            Gtk.Table.TableChild w2 = ((Gtk.Table.TableChild)(this.table1[this.videoQuality]));
            w2.LeftAttach = ((uint)(1));
            w2.RightAttach = ((uint)(2));
            w2.YOptions = ((Gtk.AttachOptions)(4));
            this.Add(this.table1);
            if ((this.Child != null)) {
                this.Child.ShowAll();
            }
            this.Show();
            this.videoQuality.FormatValue += new Gtk.FormatValueHandler(this.OnVideoQualityFormatValue);
        }
    }
}