GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | ||||||||||||||||||||||||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | ||||||||||||||||||||||||||
GeezerVison is showing python-xlib.github.io — The Python X Library: 5.4 Sending Events
5.4 Sending EventsClients can send events to each other. Most often these are
general-purpose To send an event, an event object must be created. This is done by
instantiating an event class, providing values to all its fields as
keyword parameters. The event is then sent with the
As an example, this creates and sends a cm_event = Xlib.protocol.event.ClientMessage(
window = dest,
client_type = HELLO_WORLD,
data = (8, "G'day mate\0\0\0\0\0\0\0\0\0\0"))
dest.send_event(cm_event)
This document was generated on September 16, 2020 using texi2html 5.0.
| ||||||||||||||||||||||||||
| You are visitor 01402503 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |