[Gtk-sharp-list] RequestSize seems to be broken
Miguel de Icaza
miguel@ximian.com
Sun, 14 Mar 2004 11:49:21 -0500
Hello,
> > After updating to the latest gtk# cvs, the Widget.RequestSize seems to
> > have changed into GetRequestSize and SetRequestSize methods, or the
> > RequestSize property is gone. not sure :)
>
> My latest commit removed all the API that used System.Drawing. We do not
> want a System.Drawing dependency on Gtk# as it will be part of the
> non-encumbered stack for mono 1.0.
>
> The RequestSize property was a customization that "overloaded" the
> (width, height) methods with a System.Drawing.Size property.
I think we should add a Gdk.Size structure that we can use as a
convenience routine, as well as putting various overloads in
Gdk.Rectangle and Gdk.Point to match the features found in System.Drawing.
Miguel