IpcRendererEvent Object extends Event
优质
小牛编辑
127浏览
2023-12-01
sender
IpcRenderer - TheIpcRenderer
instance that emitted the event originallysenderId
Integer - ThewebContents.id
that sent the message, you can callevent.sender.sendTo(event.senderId, ...)
to reply to the message, see ipcRenderer.sendTo for more information. This only applies to messages sent from a different renderer. Messages sent directly from the main process setevent.senderId
to0
.
sender
IpcRenderer - TheIpcRenderer
instance that emitted the event originallysenderId
Integer - ThewebContents.id
that sent the message, you can callevent.sender.sendTo(event.senderId, ...)
to reply to the message, see ipcRenderer.sendTo for more information. This only applies to messages sent from a different renderer. Messages sent directly from the main process setevent.senderId
to0
.