mirror of
https://github.com/Ryujinx/GtkSharp.git
synced 2024-12-24 12:25:26 +00:00
Add some overloads.
svn path=/trunk/gtk-sharp/; revision=11043
This commit is contained in:
parent
984d952967
commit
87387bc38b
|
@ -1,5 +1,7 @@
|
||||||
2003-01-29 Duncan Mak <duncan@ximian.com>
|
2003-01-29 Duncan Mak <duncan@ximian.com>
|
||||||
|
|
||||||
|
* gtk/Window.custom: Add some overloads.
|
||||||
|
|
||||||
* api/gtk-api.xml:
|
* api/gtk-api.xml:
|
||||||
* sources/Gtk.metadata:
|
* sources/Gtk.metadata:
|
||||||
* sources/Pango.metadata: Add some more metadata rules.
|
* sources/Pango.metadata: Add some more metadata rules.
|
||||||
|
|
|
@ -40,3 +40,23 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public System.Drawing.Size SizeRequest {
|
||||||
|
get {
|
||||||
|
return new System.Drawing.Size (
|
||||||
|
DefaultWidth, DefaultHeight);
|
||||||
|
}
|
||||||
|
set {
|
||||||
|
DefaultWidth = value.Width;
|
||||||
|
DefaultHeight = value.Height;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
public System.Drawing.Size Position {
|
||||||
|
get {
|
||||||
|
int x, y;
|
||||||
|
GetPosition (out x, out y);
|
||||||
|
|
||||||
|
return new System.Drawing.Size (
|
||||||
|
x, y);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
Loading…
Reference in a new issue