[Gtk-sharp-list] Window property Height and Width

Michael Gebhart lists at miketech.net
Fri Mar 10 18:23:08 EST 2006


Hi,

when I wanna get the X and Y coordinates of a ButtonEventArgs I have to
do:

event.X or event.Y


When I wanna get the height and width of a window I have to do:

int width;
int height;
window.GetSize(out width, out height);


Shouldn't there be a property Height and Width?

So, that I can access it with:

window.Height
window.Width



Greetings

Mike





More information about the Gtk-sharp-list mailing list