Event.sendClientMessageForDisplay

On X11, sends an X ClientMessage event to a given window. On Windows, sends a message registered with the name GDK_WIN32_CLIENT_MESSAGE. This could be used for communicating between different applications, though the amount of data is limited to 20 bytes on X11, and to just four bytes on Windows. Since 2.2

class Event
static
int
sendClientMessageForDisplay

Parameters

display Display

the GdkDisplay for the window where the message is to be sent.

event Event

the GdkEvent to send, which should be a GdkEventClient.

winid GdkNativeWindow

the window to send the client message to.

Return Value

Type: int

non-zero on success.

Meta