public SmartScrolledWindow () { vAdjustment = new Adjustment (0, 0, 0, 0, 0, 0); vAdjustment.Changed += HandleAdjustmentChanged; vScrollBar = new VScrollbar (vAdjustment); vScrollBar.Parent = this; vScrollBar.Show (); hAdjustment = new Adjustment (0, 0, 0, 0, 0, 0); hAdjustment.Changed += HandleAdjustmentChanged; hScrollBar = new HScrollbar (hAdjustment); hScrollBar.Parent = this; hScrollBar.Show (); }
public SmartScrolledWindow(Gtk.Widget vScrollBar = null) { vAdjustment = new Adjustment(0, 0, 0, 0, 0, 0); vAdjustment.Changed += HandleAdjustmentChanged; this.vScrollBar = vScrollBar ?? new VScrollbar(vAdjustment); this.vScrollBar.Parent = this; this.vScrollBar.Show(); hAdjustment = new Adjustment(0, 0, 0, 0, 0, 0); hAdjustment.Changed += HandleAdjustmentChanged; hScrollBar = new HScrollbar(hAdjustment); hScrollBar.Parent = this; hScrollBar.Show(); }
public SmartScrolledWindow() { vAdjustment = new Adjustment(0, 0, 0, 0, 0, 0); vAdjustment.Changed += HandleAdjustmentChanged; vScrollBar = new VScrollbar(vAdjustment); vScrollBar.Parent = this; vScrollBar.Show(); hAdjustment = new Adjustment(0, 0, 0, 0, 0, 0); hAdjustment.Changed += HandleAdjustmentChanged; hScrollBar = new HScrollbar(hAdjustment); hScrollBar.Parent = this; hScrollBar.Show(); }
public SmartScrolledWindow (Gtk.Widget vScrollBar = null) { vAdjustment = new Adjustment (0, 0, 0, 0, 0, 0); vAdjustment.Changed += HandleAdjustmentChanged; this.vScrollBar = vScrollBar ?? new VScrollbar (vAdjustment); this.vScrollBar.Parent = this; this.vScrollBar.Show (); hAdjustment = new Adjustment (0, 0, 0, 0, 0, 0); hAdjustment.Changed += HandleAdjustmentChanged; hScrollBar = new HScrollbar (hAdjustment); hScrollBar.Parent = this; hScrollBar.Show (); }
public SmartScrolledWindow (Gtk.Widget vScrollBar = null) { GtkWorkarounds.FixContainerLeak (this); vAdjustment = new Adjustment (0, 0, 0, 0, 0, 0); vAdjustment.Changed += HandleAdjustmentChanged; this.vScrollBar = vScrollBar ?? new VScrollbar (vAdjustment); this.vScrollBar.Parent = this; this.vScrollBar.Show (); hAdjustment = new Adjustment (0, 0, 0, 0, 0, 0); hAdjustment.Changed += HandleAdjustmentChanged; hScrollBar = new HScrollbar (hAdjustment); hScrollBar.Parent = this; hScrollBar.Show (); }
public SmartScrolledWindow(Gtk.Widget vScrollBar = null) { GtkWorkarounds.FixContainerLeak(this); vAdjustment = new Adjustment(0, 0, 0, 0, 0, 0); vAdjustment.Changed += HandleAdjustmentChanged; this.vScrollBar = vScrollBar ?? new VScrollbar(vAdjustment); this.vScrollBar.Parent = this; this.vScrollBar.Show(); hAdjustment = new Adjustment(0, 0, 0, 0, 0, 0); hAdjustment.Changed += HandleAdjustmentChanged; hScrollBar = new HScrollbar(hAdjustment); hScrollBar.Parent = this; hScrollBar.Show(); }