Xwt.GtkBackend.WindowFrameBackend.SetSize C# (CSharp) Method

SetSize() public method

public SetSize ( double width, double height ) : void
width double
height double
return void
        public virtual void SetSize(double width, double height)
        {
            Window.SetDefaultSize ((int)width, (int)height);
            if (width == -1)
                width = Bounds.Width;
            if (height == -1)
                height = Bounds.Height;
            requestedSize = new Size (width, height);
            Window.Resize ((int)width, (int)height);
        }