Example #1
0
        public void SetSize(uint width, uint height)
        {
            Hadjustment.Upper = this.width = width;
            Vadjustment.Upper = this.height = height;

            if (IsRealized)
            {
                bin_window.Resize((int)Math.Max(width, Allocation.Width), (int)Math.Max(height, Allocation.Height));
            }
        }