public static Gdk.Seat GetSeat(Gdk.Event evnt) { IntPtr raw_ret = gdk_event_get_seat(evnt == null ? IntPtr.Zero : evnt.Handle); Gdk.Seat ret = GLib.Object.GetObject(raw_ret) as Gdk.Seat; return(ret); }
void InvokeNative(Gdk.Seat seat, Gdk.Window window) { native_cb(seat == null ? IntPtr.Zero : seat.Handle, window == null ? IntPtr.Zero : window.Handle, __data); }