mirror of
https://github.com/Ryujinx/GtkSharp.git
synced 2025-01-11 21:05:33 +00:00
Obsolete and fwd Widget.GdkWindow property.
* gtk/Widget.custom: mark GdkWindow obsolete and forward it to the Window property which is read/write in 3.0. [Fixes #688791]
This commit is contained in:
parent
e79c46cdcb
commit
256a80399c
|
@ -24,16 +24,10 @@
|
||||||
// Free Software Foundation, Inc., 59 Temple Place - Suite 330,
|
// Free Software Foundation, Inc., 59 Temple Place - Suite 330,
|
||||||
// Boston, MA 02111-1307, USA.
|
// Boston, MA 02111-1307, USA.
|
||||||
|
|
||||||
[DllImport ("gtksharpglue-3")]
|
[Obsolete ("Replaced by Window property.")]
|
||||||
static extern void gtksharp_gtk_widget_set_window (IntPtr widget, IntPtr window);
|
|
||||||
public Gdk.Window GdkWindow {
|
public Gdk.Window GdkWindow {
|
||||||
get {
|
get { return Window; }
|
||||||
return this.Window;
|
set { Window = value; }
|
||||||
}
|
|
||||||
set {
|
|
||||||
Gdk.Window window = value as Gdk.Window;
|
|
||||||
gtksharp_gtk_widget_set_window (Handle, window.Handle);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public void AddAccelerator (string accel_signal, AccelGroup accel_group, AccelKey accel_key)
|
public void AddAccelerator (string accel_signal, AccelGroup accel_group, AccelKey accel_key)
|
||||||
|
|
Loading…
Reference in a new issue