2004-03-22 Mike Kestner <mkestner@ximian.com>
* gtk/Window.custom : bring back the DefaultSize prop as a Gdk.Size. svn path=/trunk/gtk-sharp/; revision=24448
This commit is contained in:
parent
479c46730f
commit
4562311b91
2 changed files with 16 additions and 0 deletions
|
@ -1,3 +1,8 @@
|
|||
2004-03-22 Mike Kestner <mkestner@ximian.com>
|
||||
|
||||
* gtk/Window.custom : bring back the DefaultSize prop as a
|
||||
Gdk.Size.
|
||||
|
||||
2004-03-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
|
||||
|
||||
* configure.in: if no C# compiler found, error out.
|
||||
|
|
|
@ -91,3 +91,14 @@
|
|||
result [i] = list [i] as Window;
|
||||
return result;
|
||||
}
|
||||
|
||||
public Gdk.Size DefaultSize {
|
||||
get {
|
||||
return new Gdk.Size (DefaultWidth, DefaultHeight);
|
||||
}
|
||||
set {
|
||||
DefaultWidth = value.Width;
|
||||
DefaultHeight = value.Height;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue